-
-
Notifications
You must be signed in to change notification settings - Fork 324
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
Letterboxd: skip miniseries and TV Shows #102
Conversation
Skip Miniseries / TV Shows, which have empty data-tmdb-id attributes. See: https://letterboxd.com/film/wandavision
i mean you did a damn good job at figuring all that out I actually noticed your fork and already submitted the changes a little different to dev. There just wasn't a need for different error messages. but I appreciate you catching these bugs! |
Ah, that's great! I switched from PAC and I've been enjoying this immensely, thanks for all the work! Also, are there plans to cache Letterboxd data? Caching the Letterboxd film id [1] as a GUID once it's matched with TMDb, so the importer doesn't need to go through every film page every time it's run. I've looked at https://github.com/meisnate12/Plex-Meta-Manager/blob/master/modules/cache.py but I doubt I could get that working on my own. [1] Films have the |
Yea I could get that added to the cache. I would much enjoy not visiting every url of every movie on the list lol This actually gives me some ideas for other parts of the program to go in the cache. I'll see what I can get to this weekend. |
ok added the cache to develop and a better checking for TV Shows |
Seems to be working! Had to update https://github.com/meisnate12/Plex-Meta-Manager/blob/develop/modules/config.py#L232 Is this right? |
i ended up doing it slightly differently for consistency but yea you were right |
Running smoothly, thanks again! There's a typo: Unrelated question, would it be possible to filter using (substrings of) filenames? I'm not sure the API has access to that data? |
Yea I think so the api has access to the file name of the movie |
Letterboxd have limited support for TV, which means the module will choke if a list contains a miniseries or TV Show, as they have empty
data-tmdb-id
attributes:See Small Axe or Wandavision. You can quickly test this by importing this list:
Also fixes a typo —
header
argument insend_request
— and callsget_tmdb_from_slug
instead ofget_tmdb
, which prevented the module from running at all in the first place.Bear in mind my python knowledge is next to nonexistent, so there's probably a more robust way to address this.