mirror of https://github.com/l3uddz/traktarr
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
l3uddz
524ec11241
|
7 years ago | |
---|---|---|
media | 7 years ago | |
misc | 7 years ago | |
.gitignore | 7 years ago | |
README.md | 7 years ago | |
requirements.txt | 7 years ago | |
traktarr.py | 7 years ago |
README.md
Traktarr
Script to add new TV series & movies to Sonarr/Radarr based on Trakt lists.
Requirements
- Python 3.5 or higher (
sudo apt install python3 python3-pip
). - requirements.txt modules (see below).
Installation on Ubuntu/Debian
cd /opt
sudo git clone https://github.com/l3uddz/traktarr
sudo chown -R user:group traktarr
(runid
to find your user / group)cd traktarr
sudo python3 -m pip install -r requirements.txt
python3 traktarr.py
to generate a default a config.json file.- Edit
config.json
to your preference.
Configuration
{
"core": {
"debug": false
},
"filters": {
"movies": {
"allowed_countries": [
"us",
"gb",
"ca"
],
"blacklist_title_keywords": [
"untitled",
"barbie"
],
"blacklisted_genres": [
"documentary",
"music"
],
"blacklisted_min_runtime": 60,
"blacklisted_min_year": 2000
},
"shows": {
"allowed_countries": [
"us",
"gb",
"ca"
],
"blacklisted_genres": [
"animation",
"game-show",
"talk-show",
"home-and-garden",
"children",
"reality",
"anime",
"news",
"documentary",
"special-interest"
],
"blacklisted_min_runtime": 15,
"blacklisted_min_year": 2000,
"blacklisted_networks": [
"twitch",
"youtube",
"nickelodeon",
"hallmark",
"reelzchannel",
"disney",
"cnn",
"cbbc",
"the movie network",
"teletoon",
"cartoon network",
"espn",
"yahoo!",
"fox sports"
]
}
},
"radarr": {
"api_key": "",
"profile": "HD-1080p",
"root_folder": "/movies/",
"url": "http://localhost:7878"
},
"sonarr": {
"api_key": "",
"profile": "HD-1080p",
"root_folder": "/tv/",
"url": "http://localhost:8989"
},
"trakt": {
"api_key": ""
}
}