This python script will update your labels metadata on your TV Shows at PLEX to add country of the TV shows based on the original country returned by TMDB for the shows.
In case tha there are no country configured on TMDB result, it will be skipped, and you can see the list of TV Shows that not being updated once the scan is finished.
- Copy .example.env to .env
- Edit .env and add all information needed there
python3 updateLabel.py
In case you didn't want to use .env file you can also passing arguments to the script
-
-force
this will force update the TV shows that already have country label
-
-clearscreen
clear the screen before run
-
-plextoken
your PLEX token that will be used to connect to your PLEX server
-
-tmdbapikey
your TMDB API Key that will be used to get information from TMDB
-
-baseurl
your PLEX url (eg. 127.0.0.1:32400)
-
-library
Your TV Shows library name, usually it will be defaulted as "TV Shows"
- Copy .example.env to .env
- Edit .env and add all information needed there
python3 checkTVShow.py
In case you didn't want to use .env file you can also passing arguments to the script
-
-showavailable
This will add the Season that already available in your TV Shows library to the result
-
-showexception
This will show the TV Shows that not found in TMDB (❗) or don't have any season information (
⚠️ ) on TMDB -
-plextoken
your PLEX token that will be used to connect to your PLEX server
-
-tmdbapikey
your TMDB API Key that will be used to get information from TMDB
-
-baseurl
your PLEX url (eg. 127.0.0.1:32400)
-
-library
Your TV Shows library name, usually it will be defaulted as "TV Shows"