-
Notifications
You must be signed in to change notification settings - Fork 132
Traktarr Tips
Some useful commands for Traktarr.
Say you want to search for all movies by a certain actor/actress, but when you do:
traktarr movies -t person -a 'christopher lee' -l 100
It returns movies for an actor called Christopher Ming-Shun Lee instead.
As this is Traktarr, it uses Trakt as the API, so go to http://trakt.tv and search using the dropdown 'People' for Christopher Lee. It will show all results matching him. Click on the correct one and look at the URL:
https://trakt.tv/people/christopher-lee-720aecc5-2da9-494e-8f93-12811e3e9487
Now, copy the part after people/ and paste it into where the actors name should be:
traktarr movies -t person -a 'christopher-lee-720aecc5-2da9-494e-8f93-12811e3e9487' -l 100
It will now pull down the correcto actors movie and load them into Radarr.
Note: For Mediabox/Feederbox setups, this can be install in either system.
Note: You will only need this if you are running multiple instance of sonarrx or radarrx because this will point to different instances of sonarr, for example using it for animes specific sonarr or 1080remux radarr movies and we will use systemd no cron job. Also this is assuming you have installed Traktarr (by l3uddz)
-
First of all we are going to make a copy of
traktarr.py
and name it something similar to what we are going to use it for, for example in my case I am going to make another one calledtraktarr-animes.py
cp /opt/traktarr/traktarr.py /opt/traktarr/traktarr-animes.py
-
Then we are going to make a copy of the
config.json
as well. Make sure to name it something similar or easy to remember hence why naming it to something similar with thetraktarr-animes.py
in my case I have named itconfig-animes.json
.cp /opt/traktarr/config.json /opt/traktarr/config-animes.json
-
Now we are going to edit the
traktarr-animes.py
so that it points to a different config file which isconfig-animes.json
in my case and generate a completely different log file so it doesn't store everything in one massive log instead each instance of traktarr store a separate file.nano /opt/traktarr/traktarr-animes.py
-
After opening it in the first part
--config
there will bedefault=os.path.join(os.path.dirname(os.path.realpath(sys.argv[0])), "config.json")
we want to change the last part so aroundconfig.json
just rename that to the config file we created for my case it wasconfig-animes.json
. Then there is another one called--logfile
it will have something similar but this time it will be calleddefault=os.path.join(os.path.dirname(os.path.realpath(sys.argv[0])), "activity.log")
we are going to make a new name or append this one. So add something similar for my case it will be"activity-animes.log"
as you can see this is for the log file.
You should have something like this:
save the file by pressing
ctrl + o
Then to exit
ctrl + x
Note: Don't forget to edit the new config-animes.json
file to add your sonarrx or radarrx api key.
-
First head over to
cd /etc/systemd/system/
then we are going to make a copy of the service file for thetraktarr.service
again naming it something similar in my case I am going to be naming ittraktarr-animes.service
sudo cp traktarr.service traktarr-animes.service
-
Then we want to make sure to edit the file and point it to the new
traktarr-animes.py
sudo nano traktarr-animes.service
-
Edit the
ExecStart=/usr/bin/python3 /opt/traktarr.py run
toExecStart=/usr/bin/python3 /opt/traktarr/traktarr-animes.py run
make sure it matches the name you made for the new traktarr.py mine wastraktarr-animes.py
You should have something like this:
save the file by pressing
ctrl + o
Then to exit
ctrl + x
Lastly we are going to make a shortcut for the new traktarr-animes.py
so that we can access it anywhere just like traktarr shows arg arg
.
sudo ln -s /opt/traktarr/traktarr-animes.py /usr/local/bin/traktarr-animes
Make sure it matches the path of the newly created traktarr.py and give it a name whatever you want but the simpler the better.
If you have done everything correctly then you should be able to do traktarr-animes
and get an output :
- airdcpp
- Airsonic
- alltube
- always
- amongus
- Apprise
- archivebox
- arrX (SonarrX, RadarrX, BazarrX)
- AssHama
- autoscan
- Bazarrx
- Beets
- Bitwarden
- Booksonic
- Bookstack
- btrfsmaintenance
- calibre-web
- calibre
- Coder
- comicstreamer
- comixed
- couchpotato
- Dashmachine
- deemix
- deezloader-remix
- Deluge
- DelugeVPN
- Drive STRM
- eBooks: Calibre and Calibre web
- emby2
- embystat
- EPMS
- Filebot
- Filebrowser
- filezilla
- FlareSolverr
- Funkwhale
- Gazee
- Gitea
- Glances
- Goplaxt
- gotify
- grafana
- Guacamole
- Handbrake
- Heimdall
- Hetzner NFS VLAN
- influxdb
- InvoiceNinja
- JDownloader2
- Jellyfin
- Jirafeau
- KCPTUN
- Kitana
- komga
- Krusader
- LazyLibrarian
- lidarrx
- Logarr
- Mango
- Mediabutler
- medusa
- Mellow
- Minecraft
- Monitorr
- Mylar
- mylar3
- navidrome
- Nextcloud
- NowShowing
- NZBHydra (v1)
- ombix
- Organizr (v1)
- ouroboros
- overseerr
- paperless-ng
- plex2
- Pyload
- qBittorrent
- qbittorrentvpn
- Quassel
- RadarrX
- redbot
- requestrr
- requestrrx
- resilio-sync
- rocketchat
- sickchill
- searx
- SonarrX
- Speedtest
- SSHswifty
- stash
- Subsonic
- SyncLounge
- Tdarr
- telegraf
- Telly
- TheLounge
- transmissionvpn
- transmissionx
- ubooquity
- Unifi
- unmanic
- Varken
- vnstat
- wallabag
- Watchtower
- Wordpress
- Xteve
- ZNC
- Custom python plexlibrary libraries
- Speed up Plex / Emby / Jellyfin
- Tautulli Custom Scripts
- Plex Scanners and Agents