-
-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IMDB keywords to Plex genre #70
Comments
So basically "add a keyword to the genre list in Plex if the keyword is present for the media in the TMDb keyword list, where multiple keywords can be processed at the same time". I understand. I can totally do this :) |
That's right. Any time a match is found between the user's keyword list and the online keyword list, it's added into the genre field for the movie in Plex. I said IMDB, but TMDB would work too. |
BTW TMDb was a typo. The IMDB is fine too. The script will work with the IMDB |
Request completed. You can find the script here: https://github.com/Casvt/Plex-scripts/blob/main/various/keywords_to_genre.py. Enjoy! |
Np |
This has been working great so far, but I have one more request. |
So "if the genre field is locked, skip the media"? |
That's correct. I could do this already by listing specific movies, but it
would be convenient to have the script change only the unlocked fields. It
already locks the field after making changes, so it could then be run on a
schedule and only update the recently added files.
…On Mon, 30 May 2022, 16:53 Casvt, ***@***.***> wrote:
So "if the genre field is locked, skip the media"?
—
Reply to this email directly, view it on GitHub
<#70 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATAEOM2UARV5ZUGE2CJWE33VMSF3LANCNFSM5WWF6J2A>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Alright make a feature request for this here: https://github.com/Casvt/Plex-scripts/issues/new?assignees=&labels=Feature+request&template=feature_request.md&title= |
Here's my idea- The user creates a list of keywords. The script then scrapes IMDB keywords for each movie in the library and any matching the user's list are added to the genre field in Plex.
For example:
The script has the keywords "Robot, Dinosaurs, Tragedy, Time Travel, Espionage"
The Terminator original genre field contains "Action, Thriller, Science Fiction" as these are the listed genres on TMDB
The script finds Robot and Time Travel within the Terminator keywords on IMDB
The Terminator genre field now contains "Action, Thriller, Science Fiction, Robot, Time Travel"
The user created list of keywords is necessary, otherwise each movie could end up with potentially hundreds of genres.
Great work! Thanks for everything.
The text was updated successfully, but these errors were encountered: