Skip to content

Modjor/SickAdd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 

Repository files navigation

SickAdd

A Python tool to automatically add your IMDB favorites into SickChill

Roughely, SickAdd is following this logic:

  1. Download IMDB watchlist(s)
  2. Only keeps TV Shows
  3. Map IMDB IDs to TheTVDB IDs
  4. Store result in a sqlite db
  5. Download your show list from Sickchill
  6. Automatically add to Sickchill using TheTVDB IDs any show from the specified watchlist(s) NOT already in Sickchill and NOT added previoulsy with SickAdd, using your Sickchill default profile.

You'll need Python3 installed with argparse, sqlite3, requests & BeautifulSoup

Usage:

SickAdd.py [-h] [--debug] [--delete IMDb_ID] [--showdb] [--watchlist_urls URL [URL ...]] [--sickchill_url SICKCHILL_URL] [--sickchill_api_key SICKCHILL_API_KEY] [--database_path DATABASE_PATH] [--debug_log_path DEBUG_LOG_PATH]

Example:

python sickadd.py --debug --watchlist_urls "https://www.imdb.com/list/ls987654321,https://www.imdb.com/list/ls123456789" --sickchill_url "http://192.168.1.2:8081" --sickchill_api_key "1a2b3c4d5e6f7g8h"

Available options:

-h, --help: show this help message and exit

--watchlist_urls URL [URL ...]: List of IMDb watchlist URLs separated by commas Example: --watchlist_urls "https://www.imdb.com/list/ls00000000,https://www.imdb.com/list/ls123456789"

--sickchill_url SICKCHILL_URL: SickChill URL (example: http://sickchill_ip:port) Example: --sickchill_url "http://192.168.1.2:8081"

--sickchill_api_key SICKCHILL_API_KEY: SickChill API key Example: --sickchill_api_key "1a2b3c4d5e6f7g8h"

--delete IMDb_ID: Remove a series from the SQLite database using its IMDb ID Example: --delete "tt1234567"

--showdb: Display all series in the database

--debug: Enable debug mode

--database_path DATABASE_PATH: Path to the SQLite database file Example: --database_path "/var/sickadd.db"

--debug_log_path DEBUG_LOG_PATH: Path to the log file when debug mode is enabled Example: --debug_log_path "/var/log/sickadd.log"

About

A Python tool to automatically add shows from your IMDB/TVDB watchlists to Sickbeard

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages