adamgot / python-plexlibrary

Create and maintain dynamic Plex libraries based on recipes.
BSD 3-Clause "New" or "Revised" License
204 stars 40 forks source link

Plex Movie Agent temporary fix #96

Closed josh-gaby closed 3 years ago

josh-gaby commented 4 years ago

A workaround for the new Plex movie agent not returning imdb or tmdb ids.

One downside is that the matching function needs to be reverted to a search based on title and year since the Guid fields no longer contain the imdb/tmdb id (if using the new Plex Agent). This does give the possibility of a miss match but there isn't much that can be done about that. Edit: The above downside is only relevant to libraries using the new plex agent, the title/year matching is only used as a fallback if there has been no match found using the imdb/tmdb id method.

This should be removed once the plexapi has been updated to include the required ids.

Important: The new Plex Movie Agent will only provide the IMDB and TMDB ids if the movie was added to your library or the metadata was refreshed on/after PMS 1.20.1.3213

pep8speaks commented 4 years ago

Hello @josh-gaby! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 132:80: E501 line too long (94 > 79 characters) Line 141:80: E501 line too long (123 > 79 characters) Line 151:80: E501 line too long (94 > 79 characters) Line 153:80: E501 line too long (91 > 79 characters) Line 158:74: W291 trailing whitespace Line 163:80: E501 line too long (81 > 79 characters) Line 165:80: E501 line too long (87 > 79 characters) Line 168:80: E501 line too long (90 > 79 characters) Line 169:80: E501 line too long (101 > 79 characters) Line 172:80: E501 line too long (90 > 79 characters) Line 173:80: E501 line too long (101 > 79 characters) Line 189:80: E501 line too long (80 > 79 characters) Line 192:29: E128 continuation line under-indented for visual indent Line 193:29: E128 continuation line under-indented for visual indent Line 195:80: E501 line too long (107 > 79 characters) Line 198:80: E501 line too long (88 > 79 characters) Line 204:80: E501 line too long (100 > 79 characters) Line 205:80: E501 line too long (102 > 79 characters) Line 230:8: W291 trailing whitespace Line 231:74: W291 trailing whitespace Line 234:80: E501 line too long (108 > 79 characters) Line 235:80: E501 line too long (116 > 79 characters) Line 248:80: E501 line too long (81 > 79 characters) Line 438:80: E501 line too long (80 > 79 characters)

Comment last updated at 2020-10-19 22:55:12 UTC
adamgot commented 4 years ago

Thanks for your contribution!

I'd rather not break functionality for people still using the other agents (I think most people still), but it's great that people who want to use the new agent has something to try out in the meantime. Could you modify this so that it will use title (year) search as a fallback instead? I remember using that method early in development, and it was a real mess with big libraries especially.

josh-gaby commented 4 years ago

I'm not sure why I didn't do that in the first place, I did for the ID matching but not the initial search.

I've updated the search function to fallback to title and year only if the guid search method returns no results, so now that both "fixes" are only used as fallback options this should work for everybody without breaking the original functionality.

CrazyManInCincy commented 4 years ago

2020-10-12 19:39:33,413 INFO:16 The Halloween Tree (1993) Traceback (most recent call last): File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\runpy. py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\runpy. py", line 87, in _run_code exec(code, run_globals) File "plexlibrary__main__.py", line 8, in main() File "plexlibrary\plexlibrary.py", line 67, in main r.run(sort_only=args.sort_only, share_playlist_to_all=args.everyone) File "plexlibrary\recipe.py", line 691, in run missing_items, list_count = self._run(share_playlist_to_all=share_playlist_t o_all) File "plexlibrary\recipe.py", line 632, in _run matching_items, missing_items, matching_total, nonmatching_idx, max_count = self._get_matching_items( File "plexlibrary\recipe.py", line 183, in _get_matching_items imdb_id = self._get_imdb_from_plex_movie_agent(r) File "plexlibrary\recipe.py", line 228, in _get_imdb_from_plex_movie_agent imdb_id = self.tmdb.get_imdb_id(tmdb_id) AttributeError: 'NoneType' object has no attribute 'get_imdb_id'

Not sure if it is error on my side or the script.

josh-gaby commented 4 years ago

@CrazyManInCincy looks like you haven't got a TMDB api key setup in your config and I wasn't checking for that, I've put a check in place but since that piece of code ran for you I don't think it would have given you a successful match anyway so I have also changed my pull request so that it doesn't rely on only the IMDB, that should mean that matches work with a TMDB or TVDB id as well (which is what I think you have going on with that movie).

CrazyManInCincy commented 4 years ago

@CrazyManInCincy looks like you haven't got a TMDB api key setup in your config and I wasn't checking for that, I've put a check in place but since that piece of code ran for you I don't think it would have given you a successful match anyway so I have also changed my pull request so that it doesn't rely on only the IMDB, that should mean that matches work with a TMDB or TVDB id as well (which is what I think you have going on with that movie).

Will give it a try!

josh-gaby commented 4 years ago

@CrazyManInCincy looks like you haven't got a TMDB api key setup in your config and I wasn't checking for that, I've put a check in place but since that piece of code ran for you I don't think it would have given you a successful match anyway so I have also changed my pull request so that it doesn't rely on only the IMDB, that should mean that matches work with a TMDB or TVDB id as well (which is what I think you have going on with that movie).

Will give it a try!

Nice, let me know if its solved the issue for you

CrazyManInCincy commented 4 years ago

@CrazyManInCincy looks like you haven't got a TMDB api key setup in your config and I wasn't checking for that, I've put a check in place but since that piece of code ran for you I don't think it would have given you a successful match anyway so I have also changed my pull request so that it doesn't rely on only the IMDB, that should mean that matches work with a TMDB or TVDB id as well (which is what I think you have going on with that movie).

Will give it a try!

Nice, let me know if its solved the issue for you

That fixed it! Thank you

xfouloux commented 4 years ago

hum i just cloned your repo, and it doesn't seem to do anything for me, is there a way to debug what it does ?

josh-gaby commented 4 years ago

hum i just cloned your repo, and it doesn't seem to do anything for me, is there a way to debug what it does ?

Which branch did you clone? You'll need the plex-movie-agent-workaround branch, you'll also need to have had the library that's using the new Plex Agent refresh the metadata after the Plex version in my initial comment

xfouloux commented 4 years ago

Yup i did clone your repo : https://github.com/josh-gaby/python-plexlibrary/tree/plex-movie-agent-workaround copied my recipes, config file and such, I refreshed my library too (again) I have searched for a example movie, verified that there is Guid Imdb and tvdb new format, When i run a test recipe, where the movie is part of a list, it does not pick it up.

Test movie is mulan tt4566758 (but i have other from these lists too)

2020-10-18 11:21:22,449 INFO:Running the recipe 'movies_trending'
2020-10-18 11:21:22,449 INFO:Retrieving the trakt list: https://api.trakt.tv/movies/trending?limit=2
2020-10-18 11:21:22,543 INFO:Retrieving the trakt list: https://api.trakt.tv/movies/watched/weekly?limit=100
2020-10-18 11:21:22,590 INFO:Retrieving the trakt list: https://api.trakt.tv/movies/trending?limit=50
2020-10-18 11:21:22,825 INFO:Retrieving the trakt list: https://api.trakt.tv/movies/watched/monthly?limit=150
2020-10-18 11:21:22,871 INFO:Retrieving the trakt list: https://api.trakt.tv/movies/watched/yearly?limit=500
2020-10-18 11:21:22,899 INFO:Trying to match with items from the 'Films' library
2020-10-18 11:21:35,344 INFO:Creating symlinks for 0 matching items in the library...
2020-10-18 11:21:35,344 INFO:Created symlinks for 0 new items:
2020-10-18 11:21:35,344 INFO:Creating the 'Films - Tendances' library in Plex...
2020-10-18 11:21:35,348 WARNING:Library already exists in Plex. Scanning the library...
2020-10-18 11:21:35,349 INFO:Waiting for metadata to finish downloading...
2020-10-18 11:21:35,353 INFO:Retrieving a list of items from the 'Films - Tendances' library in Plex...
2020-10-18 11:21:35,377 INFO:Setting the sort titles for the 'Films - Tendances' library...
2020-10-18 11:21:35,377 INFO:Removing symlinks for items which no longer qualify
2020-10-18 11:21:35,377 INFO:Removed symlinks for 0 items.
2020-10-18 11:21:35,377 INFO:Scanning the 'Films - Tendances' library...
2020-10-18 11:21:45,440 INFO:1 Terminator - Dark Fate (2019)
2020-10-18 11:21:45,580 INFO:2 Star Wars : L'Ascension de Skywalker (2019)
2020-10-18 11:21:45,584 INFO:3 La Reine des Neiges 2 (2019)
2020-10-18 11:21:45,705 INFO:4 Le Mans '66 (2019)
2020-10-18 11:21:45,721 INFO:5 Joker (2019)
2020-10-18 11:21:45,737 INFO:6 The Gentlemen (2019)
2020-10-18 11:21:45,862 INFO:7 La Chute du Président (2019)
2020-10-18 11:21:45,878 INFO:8 Captain Marvel (2019)
2020-10-18 11:21:46,003 INFO:9 Avengers : Endgame (2019)
2020-10-18 11:21:46,123 INFO:10 Aladdin (2019)
2020-10-18 11:21:46,127 INFO:11 À couteaux tirés (2019)
2020-10-18 11:21:46,131 INFO:12 The Invisible Man (2020)
2020-10-18 11:21:46,243 INFO:13 Artemis Fowl (2020)
2020-10-18 11:21:46,247 INFO:14 Scoob! (2020)
2020-10-18 11:21:46,360 INFO:15 Greyhound (2020)
2020-10-18 11:21:46,473 INFO:Number of items in the new library: 15
2020-10-18 11:21:46,473 INFO:Number of missing items: 226
2020-10-18 11:21:46,473 INFO:1          tt2222042       Love and Monsters (2020)
2020-10-18 11:21:46,473 INFO:2          tt4566758       Mulan (2020)
2020-10-18 11:21:46,473 INFO:3          tt1918734       2067 (2020)
2020-10-18 11:21:46,473 INFO:4          tt10682266      Hubie Halloween (2020)
2020-10-18 11:21:46,473 INFO:5          tt6723592       Tenet (2020)
2020-10-18 11:21:46,473 INFO:6          tt7846844       Enola Holmes (2020)
2020-10-18 11:21:46,473 INFO:7          tt8784956       Ava (2020)
2020-10-18 11:21:46,473 INFO:8          tt11771594      American Pie Presents: Girls Rules (2020)
2020-10-18 11:21:46,473 INFO:9          tt10804786      Welcome to Sudden Death (2020)
2020-10-18 11:21:46,473 INFO:10         tt1838556       Honest Thief (2020)
2020-10-18 11:21:46,473 INFO:11         tt4154796       Avengers: Endgame (2019)
2020-10-18 11:21:46,473 INFO:12         tt4532038       The War with Grandpa (2020)
2020-10-18 11:21:46,473 INFO:13         tt7286456       Joker (2019)
2020-10-18 11:21:46,473 INFO:14         tt7286966       Money Plane (2020)
2020-10-18 11:21:46,473 INFO:15         tt1502397       Bad Boys for Life (2020)
2020-10-18 11:21:46,473 INFO:16         tt7741388       The Scientist (2020)
2020-10-18 11:21:46,473 INFO:17         tt7713068       Birds of Prey (and the Fantabulous Emancipation of One Harley Quinn) (2020)
2020-10-18 11:21:46,473 INFO:18         tt6222118       The Doorman (2020)
2020-10-18 11:21:46,473 INFO:19         tt10324122      Secret Society of Second Born Royals (2020)
2020-10-18 11:21:46,473 INFO:20         tt7975244       Jumanji: The Next Level (2019)
2020-10-18 11:21:46,474 INFO:21         tt10059518      Unhinged (2020)
2020-10-18 11:21:46,474 INFO:22         tt12298506      Black Box (2020)
2020-10-18 11:21:46,474 INFO:23         tt1620981       The Addams Family (2019)
2020-10-18 11:21:46,474 INFO:24         tt8850222       Peninsula (2020)
2020-10-18 11:21:46,474 INFO:25         tt6320628       Spider-Man: Far from Home (2019)
2020-10-18 11:21:46,474 INFO:26         tt7737786       Greenland (2020)
2020-10-18 11:21:46,474 INFO:27         tt6751668       Parasite (2019)
2020-10-18 11:21:46,474 INFO:28         tt4682266       The New Mutants (2020)
2020-10-18 11:21:46,474 INFO:29         tt8367814       The Gentlemen (2020)
2020-10-18 11:21:46,474 INFO:30         tt11242218      Books of Blood (2020)
2020-10-18 11:21:46,474 INFO:31         tt11656172      Hard Kill (2020)
2020-10-18 11:21:46,474 INFO:32         tt12987894      American Murder: The Family Next Door (2020)
2020-10-18 11:21:46,474 INFO:33         tt4777008       Maleficent: Mistress of Evil (2019)
2020-10-18 11:21:46,474 INFO:34         tt6673612       Dolittle (2020)
2020-10-18 11:21:46,474 INFO:35         tt5113040       The Secret Life of Pets 2 (2019)
2020-10-18 11:21:46,474 INFO:36         tt6105098       The Lion King (2019)
2020-10-18 11:21:46,474 INFO:37         tt4520988       Frozen II (2019)
2020-10-18 11:21:46,474 INFO:38         tt13058290      BLACKPINK: Light Up the Sky (2020)
2020-10-18 11:21:46,474 INFO:39         tt10989808      Beckman (2020)
2020-10-18 11:21:46,474 INFO:40         tt1727824       Bohemian Rhapsody (2018)
2020-10-18 11:21:46,474 INFO:41         tt1950186       Ford v Ferrari (2019)
2020-10-18 11:21:46,474 INFO:42         tt7456310       Anna (2019)
2020-10-18 11:21:46,474 INFO:43         tt3224458       A Beautiful Day in the Neighborhood (2019)
2020-10-18 11:21:46,474 INFO:44         tt8946378       Knives Out (2019)
2020-10-18 11:21:46,474 INFO:45         tt5033998       Charlie's Angels (2019)
2020-10-18 11:21:46,474 INFO:46         tt6048922       Greyhound (2020)
2020-10-18 11:21:46,474 INFO:47         tt10065694      Antebellum (2020)
2020-10-18 11:21:46,474 INFO:48         tt11140488      The Wolf of Snow Hollow (2020)
2020-10-18 11:21:46,474 INFO:49         tt1070874       The Trial of the Chicago 7 (2020)
2020-10-18 11:21:46,474 INFO:50         tt6587640       Trolls World Tour (2020)
.....
.....
2020-10-18 11:21:46,480 INFO:225                tt4532826       Robin Hood (2018)
2020-10-18 11:21:46,480 INFO:226                tt0783640       The Last Full Measure (2020)
Done!

seems weird no ?

another recipe says 7 item in library, but then list same items not in library, weird.

2020-10-19 13:04:29,437 INFO:Running the recipe 'dc_movies'
2020-10-19 13:04:29,437 INFO:Retrieving the trakt list: https://api.trakt.tv/users/tetharion/lists/worlds-of-dc/items/movies
2020-10-19 13:04:29,533 INFO:Retrieving the trakt list: https://api.trakt.tv/users/scotttrakt/lists/dc-extended-universe-dceu/items/movies
2020-10-19 13:04:29,653 INFO:Retrieving the trakt list: https://api.trakt.tv/users/donxy/lists/dc-extended-universe/items/movies
2020-10-19 13:04:29,759 INFO:Trying to match with items from the 'Films' library
2020-10-19 13:04:30,689 INFO:Creating symlinks for 0 matching items in the library...
2020-10-19 13:04:30,689 ERROR:Unable to create the new library folder '/mnt/local/Media/MoviesDC/'.
2020-10-19 13:04:30,689 INFO:Exiting script.
2020-10-19 13:04:30,689 INFO:Creating the 'Films - DC Cinematic Universe' library in Plex...
2020-10-19 13:04:30,693 WARNING:Library already exists in Plex. Scanning the library...
2020-10-19 13:04:30,695 INFO:Waiting for metadata to finish downloading...
2020-10-19 13:04:43,995 INFO:Retrieving a list of items from the 'Films - DC Cinematic Universe' library in Plex...
2020-10-19 13:04:44,023 INFO:Setting the sort titles for the 'Films - DC Cinematic Universe' library...
2020-10-19 13:04:44,023 INFO:Removing symlinks for items which no longer qualify
2020-10-19 13:04:44,023 INFO:Removed symlinks for 0 items.
2020-10-19 13:04:44,023 INFO:Scanning the 'Films - DC Cinematic Universe' library...
2020-10-19 13:04:54,071 INFO:1 7. Shazam! (2019)
2020-10-19 13:04:54,079 INFO:2 6. Aquaman (2018)
2020-10-19 13:04:54,083 INFO:3 5. Justice League (2017)
2020-10-19 13:04:54,088 INFO:4 4. Wonder Woman (2017)
2020-10-19 13:04:54,093 INFO:5 3. Suicide Squad (2016)
2020-10-19 13:04:54,097 INFO:6 2. Batman v Superman: Dawn of Justice (2016)
2020-10-19 13:04:54,101 INFO:7 1. Man of Steel (2013)
2020-10-19 13:04:54,106 INFO:Number of items in the new library: 7
2020-10-19 13:04:54,106 INFO:Number of missing items: 16
2020-10-19 13:04:54,106 INFO:1          tt0770828       Man of Steel (2013)
2020-10-19 13:04:54,106 INFO:2          tt2975590       Batman v Superman: Dawn of Justice (2016)
2020-10-19 13:04:54,106 INFO:3          tt1386697       Suicide Squad (2016)
2020-10-19 13:04:54,106 INFO:4          tt0451279       Wonder Woman (2017)
2020-10-19 13:04:54,106 INFO:5          tt0974015       Justice League (2017)
2020-10-19 13:04:54,107 INFO:6          tt1477834       Aquaman (2018)
2020-10-19 13:04:54,107 INFO:7          tt0448115       Shazam! (2019)
2020-10-19 13:04:54,107 INFO:8          tt7713068       Birds of Prey (and the Fantabulous Emancipation of One Harley Quinn) (2020)
2020-10-19 13:04:54,107 INFO:9          tt7126948       Wonder Woman 1984 (2020)
2020-10-19 13:04:54,107 INFO:10         tt1877830       The Batman (2022)
2020-10-19 13:04:54,107 INFO:11         tt6334354       The Suicide Squad (2021)
2020-10-19 13:04:54,107 INFO:12         tt10151854      Shazam! Fury of the Gods (2023)
2020-10-19 13:04:54,107 INFO:13         tt0439572       The Flash (2022)
2020-10-19 13:04:54,107 INFO:14         tt9663764       Aquaman 2 (2022)
2020-10-19 13:04:54,107 INFO:15         tt5996672       Justice League Dark (2020)
2020-10-19 13:04:54,107 INFO:16         tt4121026       Justice League 2 (2019)
Done!
josh-gaby commented 4 years ago

@xfouloux that is weird, if the original version worked for you then this should too because my changes should only be used if the old method fails first. Also how are you cloning it? if you're cloning via command line similar to git clone https://github.com/josh-gaby/python-plexlibrary.git then you'll also need to do a checkout with git checkout plex-movie-agent-workaround to actually get the changes from the workaround branch.

Would you be able to share one of the recipes you're having issues with, maybe that DC one since that seems to possibly have a second issue? Edit: I think the second "problem" with the DC library is that it hasn't been able to match any items so it doesn't know that the items listed are actually matches

I've added some very basic recipe debugging to try and figure out where its going wrong, can you try my latest changes and add the following to your recipe:

debugging:
  enabled: true

You should then get logs like this

2020-10-20 10:47:33,675 INFO:Trying to match with items from the 'Movies' library
2020-10-20 10:47:33,682 INFO:Checking 262 items for 250 max allowed matches.
2020-10-20 10:47:33,955 INFO:
2020-10-20 10:47:33,955 INFO:Using title search: Love and Monsters (2020)
2020-10-20 10:47:34,110 INFO:trying 2021
2020-10-20 10:47:34,263 INFO:trying 2019
2020-10-20 10:47:34,417 INFO:No matches found
2020-10-20 10:47:34,688 INFO:
2020-10-20 10:47:34,688 INFO:Using title search: Unhinged (2020)
2020-10-20 10:47:34,845 INFO:Matching plex:// to IMDB
2020-10-20 10:47:34,853 INFO:1 Unhinged (2020)
2020-10-20 10:47:35,124 INFO:
2020-10-20 10:47:35,124 INFO:Using title search: Mulan (2020)
2020-10-20 10:47:35,280 INFO:Matching plex:// to IMDB
2020-10-20 10:47:35,288 INFO:2 Mulan (2020)
2020-10-20 10:47:35,559 INFO:
2020-10-20 10:47:35,559 INFO:Using title search: 2067 (2020)
2020-10-20 10:47:35,712 INFO:trying 2021
2020-10-20 10:47:35,867 INFO:trying 2019
2020-10-20 10:47:36,019 INFO:No matches found
xfouloux commented 4 years ago

Hey ! Thanks for this ! I know what went wrong, it's because i messed up with the plexapi lib and such, also i was sure the git checkout -b plex-movie-agent-workaround worked, but seems not and that was the culprit there Your debug option is a nice addition and helps a lot, i also dockerized the app and use your repo/branch via the docker as it is way better =)

if this can help anyone to try out the PR

cd /usr/local/src/
mkdir docker-python-plexlibrary
cd docker-python-plexlibrary
vim Dockerfile

put into the file this

FROM python:3-buster

RUN \
# Update and and install python3 + pip for python-plexlibrary
    apt-get update && \
    apt-get install -y \
      python3-pip \
    && \
# Cleanup
    apt-get -y autoremove && \
    apt-get -y clean && \
    rm -rf /var/lib/apt/lists/* && \
    rm -rf /tmp/* && \
    rm -rf /var/tmp/*
# Install python-plexlibrary requirements
RUN pip3 install plexapi requests trakt pyyaml ruamel.yaml lxml
RUN pip3 install git+https://github.com/josh-gaby/python-plexmovieagentmapper.git#egg=plexmovieagentmapper

save it then then you do

docker build -t python-plexlibrary:stable .

Your docker is created with libs needed and such then you clone the repo and switch branch

cd ..

git clone https://github.com/josh-gaby/python-plexlibrary.git python-plexlibrary-workaround
cd python-plexlibrary-workaround

##### IF YOU WANT THE TITLE SEARCH WORKAROUND #####
git checkout -b plex-movie-agent-workaround
git pull origin plex-movie-agent-workaround

##### IF YOU WANT TO RUN THE DB FIX #####
git checkout -b direct-db-access
git pull origin direct-db-access

Now you can copy from your current python-plexlibrary the config.yml file and the recipes folder lets say my current folder for the project is python-plexlibrary

cd ..
cp /your/project/path/config.yml ./python-plexlibrary-workaround/
cp -R /your/project/path/recipes/ ./python-plexlibrary-workaround/

##### ONLY IF YOU WANT TO RUN THE DB FIX ##### add a 'db' line in the plex part of the config to be like this :

plex:
    baseurl: 'http://plex:32400'
    token: 'YOURTOKEN'  # https://support.plex.tv/hc/en-us/articles/204059436-Finding-an-authentication-token-X-Plex-Token
    db: "/plex.db"

Replace the baseurl value with your plex docker name if any, or use the dns name of your plex

And now we run the container, binding the project workaround dir

##### IF YOU WANT THE TITLE SEARCH WORKAROUND #####
docker run --network="cloudbox" --user="1000:1001" --rm -it -v YOURMEDIAPATH:DOCKERMEDIAPATH -v /usr/local/src/python-plexlibrary-workaround:/scripts python-plexlibrary:stable python3 /scripts/plexlibrary RECIPE_NAME_OR_OPTION
##### IF YOU WANT TO RUN THE DB FIX #####
docker run --network="cloudbox" --user="1000:1001" --rm -it -v YOURMEDIAPATH:DOCKERMEDIAPATH -v "YOURPLEXDBFILEPATH:/plex.db:ro" -v /home/seed/python-plexlibrary:/scripts python-plexlibrary:db python3 /scripts/plexlibrary RECIPE_NAME_OR_OPTION

replace YOURMEDIAPATH:DOCKERMEDIAPATH by the path of your medias, and where the symlinks are going to be created, for me everything is on /mnt/unionfs/Media so it's -v /mnt/unionfs/Media:/mnt/unionfs/Media replace YOURPLEXDBFILEPATH by the actual path of the plexdb file, for me it is /opt/plex/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db for example replace RECIPE_NAME_OR_OPTION by the recipe you want to run or -l to list your recipes replace or remove --network="cloudbox" as needed replace or remove --user="1000:1001" as needed (it is uid:gid) to match the user that have the rights for the DIR where you want to do the symlinks, you can chack that by typing in your linux console

id USERNAME, or just id if you are logged with the user needed

You can put the command in a .sh like docker-python-plexlibrary.sh and put $1 at the end instead of the RECIPE_NAME_OR_OPTION

##### IF YOU WANT THE TITLE SEARCH WORKAROUND #####
#!/bin/bash
docker run --network="cloudbox" --user="1000:1001" --rm -it -v YOURMEDIAPATH:DOCKERMEDIAPATH -v /usr/local/src/python-plexlibrary-workaround:/scripts python-plexlibrary:stable python3 /scripts/plexlibrary $1
##### IF YOU WANT TO RUN THE DB FIX #####
#!/bin/bash
docker run --network="cloudbox" --user="1000:1001" --rm -it -v YOURMEDIAPATH:DOCKERMEDIAPATH -v "YOURPLEXDBFILEPATH:/plex.db:ro" -v /home/seed/python-plexlibrary:/scripts python-plexlibrary:db python3 /scripts/plexlibrary $1

don't forget to chmod +x docker-python-plexlibrary.sh like this you can do

./docker-python-plexlibrary.sh -l
./docker-python-plexlibrary.sh recipe

and call it in crontab in a much easier way

my 2 cents =) !

xfouloux commented 4 years ago

to get back to our issue at hand, there you go with debug option

For my ghibli recipe, it seems to not work (and it search by title ???) : I was under the impression your modification was testing the imdb id towards the DB via a query ?

I have almost all of those, but it only matches 2

2020-10-20 08:15:50,257 INFO:Running the recipe 'ghibli'
2020-10-20 08:15:50,258 INFO:Retrieving the trakt list: https://api.trakt.tv/users/draackje/lists/studio-ghibli-feature-films/items/movies
2020-10-20 08:15:50,340 INFO:Trying to match with items from the 'Films' library
2020-10-20 08:15:50,346 INFO:Checking 23 items for 500 max allowed matches.
2020-10-20 08:15:50,412 INFO:
2020-10-20 08:15:50,412 INFO:Using title search: Nausicaä of the Valley of the Wind (1984)
2020-10-20 08:15:50,488 INFO:trying 1985
2020-10-20 08:15:50,557 INFO:trying 1983
2020-10-20 08:15:50,627 INFO:No matches found
2020-10-20 08:15:50,693 INFO:
2020-10-20 08:15:50,693 INFO:Using title search: Castle in the Sky (1986)
2020-10-20 08:15:50,763 INFO:trying 1987
2020-10-20 08:15:50,839 INFO:trying 1985
2020-10-20 08:15:50,909 INFO:No matches found
2020-10-20 08:15:50,968 INFO:
2020-10-20 08:15:50,968 INFO:Using title search: Grave of the Fireflies (1988)
2020-10-20 08:15:51,046 INFO:trying 1989
2020-10-20 08:15:51,115 INFO:trying 1987
2020-10-20 08:15:51,181 INFO:No matches found
2020-10-20 08:15:51,240 INFO:
2020-10-20 08:15:51,240 INFO:Using title search: My Neighbor Totoro (1988)
2020-10-20 08:15:51,306 INFO:trying 1989
2020-10-20 08:15:51,373 INFO:trying 1987
2020-10-20 08:15:51,447 INFO:No matches found
2020-10-20 08:15:51,506 INFO:
2020-10-20 08:15:51,506 INFO:Using title search: Kiki's Delivery Service (1989)
2020-10-20 08:15:51,573 INFO:trying 1990
2020-10-20 08:15:51,638 INFO:trying 1988
2020-10-20 08:15:51,705 INFO:No matches found
2020-10-20 08:15:51,763 INFO:
2020-10-20 08:15:51,763 INFO:Using title search: Only Yesterday (1991)
2020-10-20 08:15:51,829 INFO:trying 1992
2020-10-20 08:15:51,904 INFO:trying 1990
2020-10-20 08:15:51,970 INFO:No matches found
2020-10-20 08:15:52,029 INFO:
2020-10-20 08:15:52,029 INFO:Using title search: Porco Rosso (1992)
2020-10-20 08:15:52,103 INFO:Matching plex:// to IMDB
2020-10-20 08:15:52,108 INFO:1 Porco Rosso (1992)
2020-10-20 08:15:52,167 INFO:
2020-10-20 08:15:52,167 INFO:Using title search: Ocean Waves (1993)
2020-10-20 08:15:52,234 INFO:trying 1994
2020-10-20 08:15:52,302 INFO:trying 1992
2020-10-20 08:15:52,374 INFO:No matches found
2020-10-20 08:15:52,433 INFO:
2020-10-20 08:15:52,434 INFO:Using title search: Pom Poko (1994)
2020-10-20 08:15:52,501 INFO:trying 1995
2020-10-20 08:15:52,568 INFO:trying 1993
2020-10-20 08:15:52,636 INFO:No matches found
2020-10-20 08:15:52,695 INFO:
2020-10-20 08:15:52,695 INFO:Using title search: Whisper of the Heart (1995)
2020-10-20 08:15:52,773 INFO:trying 1996
2020-10-20 08:15:52,841 INFO:trying 1994
2020-10-20 08:15:52,917 INFO:No matches found
2020-10-20 08:15:52,977 INFO:
2020-10-20 08:15:52,977 INFO:Using title search: Princess Mononoke (1997)
2020-10-20 08:15:53,055 INFO:trying 1998
2020-10-20 08:15:53,124 INFO:trying 1996
2020-10-20 08:15:53,191 INFO:No matches found
2020-10-20 08:15:53,251 INFO:
2020-10-20 08:15:53,251 INFO:Using title search: My Neighbors the Yamadas (1999)
2020-10-20 08:15:53,319 INFO:trying 2000
2020-10-20 08:15:53,386 INFO:trying 1998
2020-10-20 08:15:53,454 INFO:No matches found
2020-10-20 08:15:53,513 INFO:
2020-10-20 08:15:53,513 INFO:Using title search: Spirited Away (2001)
2020-10-20 08:15:53,583 INFO:trying 2002
2020-10-20 08:15:53,654 INFO:trying 2000
2020-10-20 08:15:53,722 INFO:No matches found
2020-10-20 08:15:53,782 INFO:
2020-10-20 08:15:53,782 INFO:Using title search: The Cat Returns (2002)
2020-10-20 08:15:53,851 INFO:trying 2003
2020-10-20 08:15:53,926 INFO:trying 2001
2020-10-20 08:15:53,996 INFO:No matches found
2020-10-20 08:15:54,057 INFO:
2020-10-20 08:15:54,057 INFO:Using title search: Howl's Moving Castle (2004)
2020-10-20 08:15:54,125 INFO:trying 2005
2020-10-20 08:15:54,194 INFO:trying 2003
2020-10-20 08:15:54,263 INFO:No matches found
2020-10-20 08:15:54,321 INFO:
2020-10-20 08:15:54,321 INFO:Using title search: Tales from Earthsea (2006)
2020-10-20 08:15:54,391 INFO:trying 2007
2020-10-20 08:15:54,464 INFO:trying 2005
2020-10-20 08:15:54,530 INFO:No matches found
2020-10-20 08:15:54,587 INFO:
2020-10-20 08:15:54,588 INFO:Using title search: Ponyo (2008)
2020-10-20 08:15:54,655 INFO:Matching plex:// to IMDB
2020-10-20 08:15:54,659 INFO:2 Ponyo (2008)
2020-10-20 08:15:54,717 INFO:
2020-10-20 08:15:54,717 INFO:Using title search: The Secret World of Arrietty (2010)
2020-10-20 08:15:54,785 INFO:trying 2011
2020-10-20 08:15:54,853 INFO:trying 2009
2020-10-20 08:15:54,920 INFO:No matches found
2020-10-20 08:15:54,977 INFO:
2020-10-20 08:15:54,977 INFO:Using title search: From Up on Poppy Hill (2011)
2020-10-20 08:15:55,043 INFO:trying 2012
2020-10-20 08:15:55,108 INFO:trying 2010
2020-10-20 08:15:55,174 INFO:No matches found
2020-10-20 08:15:55,234 INFO:
2020-10-20 08:15:55,235 INFO:Using title search: The Wind Rises (2013)
2020-10-20 08:15:55,302 INFO:trying 2014
2020-10-20 08:15:55,370 INFO:trying 2012
2020-10-20 08:15:55,435 INFO:No matches found
2020-10-20 08:15:55,492 INFO:
2020-10-20 08:15:55,492 INFO:Using title search: The Tale of the Princess Kaguya (2013)
2020-10-20 08:15:55,558 INFO:trying 2014
2020-10-20 08:15:55,632 INFO:trying 2012
2020-10-20 08:15:55,704 INFO:No matches found
2020-10-20 08:15:55,761 INFO:
2020-10-20 08:15:55,761 INFO:Using title search: When Marnie Was There (2014)
2020-10-20 08:15:55,831 INFO:trying 2015
2020-10-20 08:15:55,903 INFO:trying 2013
2020-10-20 08:15:55,989 INFO:No matches found
2020-10-20 08:15:56,070 INFO:
2020-10-20 08:15:56,070 INFO:Using title search: The Red Turtle (2016)
2020-10-20 08:15:56,155 INFO:trying 2017
2020-10-20 08:15:56,244 INFO:trying 2015
2020-10-20 08:15:56,333 INFO:No matches found
2020-10-20 08:15:56,333 INFO:Creating symlinks for 2 matching items in the library...
2020-10-20 08:15:56,346 INFO:Created symlinks for 0 new items:
2020-10-20 08:15:56,347 INFO:Creating the 'Dessins Animés - Ghibli' library in Plex...
2020-10-20 08:15:56,353 WARNING:Library already exists in Plex. Scanning the library...
2020-10-20 08:15:56,354 INFO:Waiting for metadata to finish downloading...
2020-10-20 08:16:01,372 INFO:Retrieving a list of items from the 'Dessins Animés - Ghibli' library in Plex...
2020-10-20 08:16:01,379 INFO:Setting the sort titles for the 'Dessins Animés - Ghibli' library...
2020-10-20 08:16:01,387 INFO:Removing symlinks for items which no longer qualify
2020-10-20 08:16:01,387 INFO:Removed symlinks for 0 items.
2020-10-20 08:16:01,387 INFO:Scanning the 'Dessins Animés - Ghibli' library...
2020-10-20 08:16:11,418 INFO:Number of items in the new library: 2
2020-10-20 08:16:11,418 INFO:Number of missing items: 21
2020-10-20 08:16:11,418 INFO:1          tt0087544       Nausicaä of the Valley of the Wind (1984)
2020-10-20 08:16:11,418 INFO:2          tt0092067       Castle in the Sky (1986)
2020-10-20 08:16:11,418 INFO:3          tt0095327       Grave of the Fireflies (1988)
2020-10-20 08:16:11,418 INFO:4          tt0096283       My Neighbor Totoro (1988)
2020-10-20 08:16:11,418 INFO:5          tt0097814       Kiki's Delivery Service (1989)
2020-10-20 08:16:11,418 INFO:6          tt0102587       Only Yesterday (1991)
2020-10-20 08:16:11,418 INFO:8          tt0108432       Ocean Waves (1993)
2020-10-20 08:16:11,418 INFO:9          tt0110008       Pom Poko (1994)
2020-10-20 08:16:11,418 INFO:10         tt0113824       Whisper of the Heart (1995)
2020-10-20 08:16:11,419 INFO:11         tt0119698       Princess Mononoke (1997)
2020-10-20 08:16:11,419 INFO:12         tt0206013       My Neighbors the Yamadas (1999)
2020-10-20 08:16:11,419 INFO:13         tt0245429       Spirited Away (2001)
2020-10-20 08:16:11,419 INFO:14         tt0347618       The Cat Returns (2002)
2020-10-20 08:16:11,419 INFO:15         tt0347149       Howl's Moving Castle (2004)
2020-10-20 08:16:11,419 INFO:16         tt0495596       Tales from Earthsea (2006)
2020-10-20 08:16:11,419 INFO:18         tt1568921       The Secret World of Arrietty (2010)
2020-10-20 08:16:11,419 INFO:19         tt1798188       From Up on Poppy Hill (2011)
2020-10-20 08:16:11,419 INFO:20         tt2013293       The Wind Rises (2013)
2020-10-20 08:16:11,419 INFO:21         tt2576852       The Tale of the Princess Kaguya (2013)
2020-10-20 08:16:11,419 INFO:22         tt3398268       When Marnie Was There (2014)
2020-10-20 08:16:11,419 INFO:23         tt3666024       The Red Turtle (2016)
Done!

but movies trending recipe it seems to work :

2020-10-20 08:19:09,684 INFO:Running the recipe 'movies_trending'
2020-10-20 08:19:09,684 INFO:Retrieving the trakt list: https://api.trakt.tv/movies/trending?limit=2
2020-10-20 08:19:09,874 INFO:Retrieving the trakt list: https://api.trakt.tv/movies/watched/weekly?limit=100
2020-10-20 08:19:10,504 INFO:Retrieving the trakt list: https://api.trakt.tv/movies/trending?limit=50
2020-10-20 08:19:10,610 INFO:Retrieving the trakt list: https://api.trakt.tv/movies/watched/monthly?limit=150
2020-10-20 08:19:10,634 INFO:Retrieving the trakt list: https://api.trakt.tv/movies/watched/yearly?limit=500
2020-10-20 08:19:10,669 INFO:Trying to match with items from the 'Films' library
2020-10-20 08:19:11,381 INFO:1 Mulan (2020)
2020-10-20 08:19:12,094 INFO:2 Hubie Halloween (2020)
2020-10-20 08:19:12,232 INFO:3 Enola Holmes (2020)
2020-10-20 08:19:12,382 INFO:4 Ava (2020)
2020-10-20 08:19:12,528 INFO:5 Avengers: Endgame (2019)
2020-10-20 08:19:13,521 INFO:6 American Pie Presents: Girls Rules (2020)
2020-10-20 08:19:13,668 INFO:7 Bad Boys for Life (2020)
2020-10-20 08:19:13,810 INFO:8 Joker (2019)
2020-10-20 08:19:13,951 INFO:9 Welcome to Sudden Death (2020)
2020-10-20 08:19:15,416 INFO:10 Secret Society of Second Born Royals (2020)
2020-10-20 08:19:15,555 INFO:11 The Addams Family (2019)
2020-10-20 08:19:15,702 INFO:12 Dolittle (2020)
2020-10-20 08:19:16,121 INFO:13 The Secret Life of Pets 2 (2019)
2020-10-20 08:19:16,526 INFO:14 Black Box (2020)
2020-10-20 08:19:17,086 INFO:15 The Gentlemen (2020)
2020-10-20 08:19:17,495 INFO:16 Charlie's Angels (2019)
2020-10-20 08:19:17,919 INFO:17 Scoob! (2020)
2020-10-20 08:19:18,355 INFO:18 Bohemian Rhapsody (2018)
2020-10-20 08:19:18,497 INFO:19 Ford v Ferrari (2019)
2020-10-20 08:19:19,170 INFO:20 The Lion King (2019)
2020-10-20 08:19:20,146 INFO:21 Knives Out (2019)
2020-10-20 08:19:20,304 INFO:22 Aladdin (2019)
2020-10-20 08:19:20,742 INFO:23 Spider-Man: Into the Spider-Verse (2018)
2020-10-20 08:19:20,884 INFO:24 Us (2019)
2020-10-20 08:19:21,032 INFO:25 Antebellum (2020)
2020-10-20 08:19:21,173 INFO:26 The Devil All the Time (2020)
2020-10-20 08:19:21,317 INFO:27 The Social Dilemma (2020)
2020-10-20 08:19:21,466 INFO:28 Frozen II (2019)
2020-10-20 08:19:21,611 INFO:29 Project Power (2020)
2020-10-20 08:19:21,752 INFO:30 Bill & Ted Face the Music (2020)
2020-10-20 08:19:21,896 INFO:31 The Old Guard (2020)
2020-10-20 08:19:22,042 INFO:32 American Murder: The Family Next Door (2020)
2020-10-20 08:19:22,188 INFO:33 Rogue (2020)
2020-10-20 08:19:22,328 INFO:34 Greyhound (2020)
2020-10-20 08:19:22,748 INFO:35 Trolls World Tour (2020)
2020-10-20 08:19:23,167 INFO:36 Sonic the Hedgehog (2020)
2020-10-20 08:19:23,305 INFO:37 Alone (2020)
2020-10-20 08:19:23,448 INFO:38 Captain Marvel (2019)
2020-10-20 08:19:23,605 INFO:39 Bloodshot (2020)
2020-10-20 08:19:23,748 INFO:40 Invasion (2020)
2020-10-20 08:19:23,898 INFO:41 Artemis Fowl (2020)
2020-10-20 08:19:24,602 INFO:42 Cats & Dogs 3: Paws Unite (2020)
2020-10-20 08:19:24,740 INFO:43 It Chapter Two (2019)
2020-10-20 08:19:24,878 INFO:44 Terminator: Dark Fate (2019)
2020-10-20 08:19:25,308 INFO:45 Onward (2020)
2020-10-20 08:19:25,451 INFO:46 Mortal (2020)
2020-10-20 08:19:26,249 INFO:47 Maleficent: Mistress of Evil (2019)
2020-10-20 08:19:26,675 INFO:48 Pinocchio (2019)
2020-10-20 08:19:27,366 INFO:49 John Wick: Chapter 3 - Parabellum (2019)
2020-10-20 08:19:27,655 INFO:50 The Babysitter: Killer Queen (2020)
2020-10-20 08:19:27,655 INFO:Creating symlinks for 50 matching items in the library...
2020-10-20 08:19:27,891 INFO:Created symlinks for 50 new items:
2020-10-20 08:19:27,891 INFO:Mulan (2020)
2020-10-20 08:19:27,891 INFO:Hubie Halloween (2020)
2020-10-20 08:19:27,891 INFO:Enola Holmes (2020)
2020-10-20 08:19:27,891 INFO:Ava (2020)
2020-10-20 08:19:27,891 INFO:Avengers : Endgame (2019)
2020-10-20 08:19:27,891 INFO:American Pie Presents: Girls' Rules (2020)
2020-10-20 08:19:27,891 INFO:Bad Boys For Life (2020)
2020-10-20 08:19:27,891 INFO:Joker (2019)
2020-10-20 08:19:27,891 INFO:Mort Subite 2 (2020)
2020-10-20 08:19:27,891 INFO:Société secrète de la royauté (2020)
2020-10-20 08:19:27,891 INFO:La familie Addams (2019)
2020-10-20 08:19:27,891 INFO:Le voyage du Dr Dolittle (2020)
2020-10-20 08:19:27,891 INFO:Comme des bêtes 2 (2019)
2020-10-20 08:19:27,891 INFO:Black Box (2020)
2020-10-20 08:19:27,892 INFO:The Gentlemen (2019)
2020-10-20 08:19:27,892 INFO:Charlie's Angels (2019)
2020-10-20 08:19:27,892 INFO:Scooby! (2020)
2020-10-20 08:19:27,892 INFO:Bohemian Rhapsody (2018)
2020-10-20 08:19:27,892 INFO:Le Mans '66 (2019)
2020-10-20 08:19:27,892 INFO:Le Roi Lion (2019)
2020-10-20 08:19:27,892 INFO:À couteaux tirés (2019)
2020-10-20 08:19:27,892 INFO:Aladdin (2019)
2020-10-20 08:19:27,892 INFO:Spider-Man: New Generation (2018)
2020-10-20 08:19:27,892 INFO:Us (2019)
2020-10-20 08:19:27,892 INFO:Antebellum (2020)
2020-10-20 08:19:27,892 INFO:Le Diable, tout le temps (2020)
2020-10-20 08:19:27,892 INFO:Derrière nos écrans de fumée (2020)
2020-10-20 08:19:27,892 INFO:La Reine des Neiges 2 (2019)
2020-10-20 08:19:27,892 INFO:Project Power (2020)
2020-10-20 08:19:27,892 INFO:Bill & Ted Face the Music (2020)
2020-10-20 08:19:27,892 INFO:The Old Guard (2020)
2020-10-20 08:19:27,892 INFO:L'affaire Watts : Chronique d'une tuerie familiale (2020)
2020-10-20 08:19:27,892 INFO:Rogue (2020)
2020-10-20 08:19:27,892 INFO:USS Greyhound - La bataille de l'Atlantique (2020)
2020-10-20 08:19:27,892 INFO:Les trolls 2 (2020)
2020-10-20 08:19:27,892 INFO:Sonic, le film (2020)
2020-10-20 08:19:27,892 INFO:Alone (2020)
2020-10-20 08:19:27,892 INFO:Captain Marvel (2019)
2020-10-20 08:19:27,893 INFO:Bloodshot (2020)
2020-10-20 08:19:27,893 INFO:Attraction 2 : Invasion (2020)
2020-10-20 08:19:27,893 INFO:Artemis Fowl (2020)
2020-10-20 08:19:27,893 INFO:Comme Chiens et Chats 3 : Patte dans la Patte (2020)
2020-10-20 08:19:27,893 INFO:Ça: Chapitre 2 (2019)
2020-10-20 08:19:27,893 INFO:Terminator - Dark Fate (2019)
2020-10-20 08:19:27,893 INFO:En avant (2020)
2020-10-20 08:19:27,893 INFO:Mortal (2020)
2020-10-20 08:19:27,893 INFO:Maléfique: Le Pouvoir du Mal (2019)
2020-10-20 08:19:27,893 INFO:Pinocchio (2019)
2020-10-20 08:19:27,893 INFO:John Wick : Parabellum (2019)
2020-10-20 08:19:27,893 INFO:The Babysitter : Killer Queen (2020)
2020-10-20 08:19:27,893 INFO:Creating the 'Films - Tendances' library in Plex...
2020-10-20 08:19:27,898 WARNING:Library already exists in Plex. Scanning the library...
2020-10-20 08:19:27,899 INFO:Waiting for metadata to finish downloading...
josh-gaby commented 4 years ago

@xfouloux the plex-movie-agent-workaround branch doesn't do database lookups, that was just a simple workaround to get plexlibrary working again temporarily.

People weren't so keen on going down the database lookup route so I've done that in a separate branch and haven't submitted a pull request to this repo.

It is still a work in progress but feel free to try it. If you do try it, it has a new requirement (I built a separate python module to handle the database access and matching) so you'll need to run python3 -m pip install -r requirements.txt again after switching branches, you'll also need to add a db: '' entry to the plex section of your config file (you can just use db: 'remote' if you want it to download a copy of the database from a remote server each run but it will be a lot slower than copying a local file).

xfouloux commented 4 years ago

Ohh ok ! So i guess the title search work on classic movies for me because having plex in french, it still has original title to search on i guess ? But for jap movies, the xml as title in french and original title in JAP so the english movie from the trakt list doesn't match.

extract of XML from tt0119698 Princess Mononoke (1997)

.....  Video ratingKey="20874" key="/library/metadata/20874" guid="plex://movie/5d7768246f4521001ea988b4" studio="Studio Ghibli" type="movie" title="Princesse Mononoké" titleSort="Princesse Mononoke" librarySectionTitle="Films" librarySectionID="2" librarySectionKey="/library/sections/2" originalTitle="もののけ姫" contentRating="Tous publics"  .........

I guess this would be the case for all users not having plex library in english ? and well title search would match almost ok on english movies, but not on any non english movies =)

About the DB patch, i'm not keen for it either, unless it can't be avoided for now, and it seems to be the best solution unfortunately. Or we need to submit a forum post on plex to ask them to put back both GUID in the right place in the XML, but i won't count on that either

xfouloux commented 4 years ago

Testing now the DB branch indeed it works fine, without issue =) ! I guess for now it would do. Thanks for the work on both branches ! people have a choice to make now for those that want to test with docker change in my previous explanation edited to use the other branch

josh-gaby commented 4 years ago

Testing now the DB branch indeed it works fine, without issue =) ! I guess for now it would do. Thanks for the work on both branches ! people have a choice to make now for those that want to test with docker change in my previous explanation edited to use the other branch

In your docker instructions you've missed setting the database path (db:'' option) for Plex in the config, I recommend running this on the same server as Plex to avoid using the the 'remote' option where possible.

xfouloux commented 4 years ago

indeed, good catch, it is updated. also it seems the DB branch is not working well with TV show, so i'm currently running 1 container for the movies with your branch, and 1 container with the adamgot:master repo for tvshow

josh-gaby commented 4 years ago

Your right, big oversight on my part, it's only doing movie ids at the moment. I'll add TV series tonight. This probably isn't the place for issues on that though.

xfouloux commented 4 years ago

Can i issue on your fork then ? Also, playlists aren't working too, maybe need just to merge with master ?

josh-gaby commented 4 years ago

Can i issue on your fork then ? Also, playlists aren't working too, maybe need just to merge with master ?

Yeah, feel free to place an issue on my fork.

xfouloux commented 4 years ago

Hey, you need to open issue on your fork, if that's even possible ? Because right now, there is no issue tab.

josh-gaby commented 4 years ago

Done

josh-gaby commented 4 years ago

@xfouloux I added the TV series last night but I haven't had a chance to check out playlists yet, you'll need to install the requirements.txt again and do a pull request of the DB branch to get the changes