Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

mcarlton00/jellyfin-gdrive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jellyfin GDrive

Overview

This script acts in place of inotify when using Google Drive and rclone as a backend for Jellyfin. It watches the Drive API and will trigger a library scan on changes

Notes

Currently only works when adding new files

Requires Python 3.6 or newer

Installation

  1. Download repo
  2. Install Python dependencies
    • pip install -r requirements.txt
  3. Edit config.json
  4. Follow step 1 of Google's getting started page
    • Save the credentials.json file inside the project directory
  5. python scanner.py - to run the script

Configuration

  • check_interval - minutes between GDrive scans
  • api_key - Jellyfin API Key (Admin Dashboard -> Advanced -> API Keys)
  • jellyfin_server - URL of the Jellyfin server (http://localhost:8096)
  • retries - number of tries for Jellyfin api before giving up

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages