Plex-Meta-Manager
Plex-Meta-Manager copied to clipboard
remove_overlays not working
Version Number
1.17.0
What branch are you on?
master
Describe the Bug
Using the PMM Default overlays, enabled a whole bunch of overlays and decided there are some I don't want, like audio codec. Just removing them from my config didn't seem to have any effect, so I set remove_overlays: true
and re-ran, but audio codec, etc. are still in overlays.
Relevant Collection/Overlay/Playlist Definition
libraries:
movies:
overlay_path:
- remove_overlays: true
- repo: PMM/overlays/audio_language
- repo: PMM/overlays/imdb_top_250
- repo: PMM/overlays/ratings
- repo: PMM/overlays/special_release
Logs
https://gist.github.com/benfishbus/05829ea3804bfd3a15255d720269adea
Same issue for me:
plex_meta_manager | | Traceback (most recent call last): | plex_meta_manager | | File "//plex_meta_manager.py", line 516, in run_libraries | plex_meta_manager | | run_operations_and_overlays() | plex_meta_manager | | File "//plex_meta_manager.py", line 481, in run_operations_and_overlays | plex_meta_manager | | library_status[library.name]["Library Overlays"] = library.Overlays.run_overlays() | plex_meta_manager | | File "/modules/overlays.py", line 26, in run_overlays | plex_meta_manager | | old_overlays = [la for la in self.library.Plex.listFilterChoices("label") if str(la.title).lower().endswith(" overlay")] | plex_meta_manager | | File "/usr/local/lib/python3.10/site-packages/plexapi/library.py", line 1000, in listFilterChoices | plex_meta_manager | | raise NotFound('Unknown filter field "%s" for libtype "%s". ' | plex_meta_manager | | plexapi.exceptions.NotFound: Unknown filter field "label" for libtype "movie". Available filters: ['genre', 'year', 'decade', 'contentRating', 'collection', 'director', 'actor', 'writer', 'producer', 'country', 'studio', 'resolution', 'hdr', 'unwatched', 'inProgress', 'unmatched', 'audioLanguage', 'subtitleLanguage', 'editionTitle', 'duplicate'] | plex_meta_manager | | | plex_meta_manager | | Unknown filter field "label" for libtype "movie". Available filters: ['genre', 'year', 'decade', 'contentRating', 'collection', 'director', 'actor', 'writer', 'producer', 'country', 'studio', 'resolution', 'hdr', 'unwatched', 'inProgress', 'unmatched', 'audioLanguage', 'subtitleLanguage', 'editionTitle', 'duplicate'] | plex_meta_manager | |
Fixed for me, I noticed an issue with creating new collections too, it turns out my Plex token was expired. Once I changed the token to a valid one, it started working.
@benfishbus are you still having an issue?
I was. My solution ended up being replacing the library :-/
but it hasnt happened with the new one? if so then this was just bad plex metadata
I decided not to try using overlays again, so I'm not sure whether it would happen again with the new library.
I am having issues with removing unintended overlays
@meisnate12 I am also having an issue where PMM won't remove old overlays, it does it for some shows, but not all, I moved the episode runtime from bottom left to bottom right in my config and now some have both locations showing, I have tried remove_overlays and reset_overlays but neither work and I would rather not have to go and choose another thumbnail one by one for over 10,000+ episodes of TV, do you know anyway I can fix this? I'll even take a script to remove all uploaded thumbnails/posters at this point