mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-10 06:54:21 +00:00
[50] show filter errors
This commit is contained in:
parent
44c5da7de1
commit
16017a13a4
3 changed files with 6 additions and 3 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
1.18.3-develop49
|
||||
1.18.3-develop50
|
||||
|
|
|
@ -48,7 +48,7 @@ The table below shows the asset folder path structures that will be searched for
|
|||
| Episode poster | `assets/ASSET_NAME/S##E##.ext` | `assets/ASSET_NAME_S##E##.ext` |
|
||||
| Episode background | `assets/ASSET_NAME/S##E##_background.ext` | `assets/ASSET_NAME_S##E##_background.ext` |
|
||||
|
||||
* For **Collections** replace `ASSET_NAME` with the mapping name used with the collection unless `system_name` is specified, which you would then use what's specified in `system_name`.
|
||||
* For **Collections** replace `ASSET_NAME` with the mapping name used with the collection unless `name_mapping` is specified, which you would then use what's specified in `name_mapping`.
|
||||
|
||||
* For **Movies** replace `ASSET_NAME` with the exact name of the folder the video file is stored in.
|
||||
* i.e. if you have `Movies/Star Wars (1977)/Star Wars (1977) [1080p].mp4` then your asset directory would look at either `assets/Star Wars (1977)/poster.png` or `assets/Star Wars (1977).png` for the poster.
|
||||
|
|
|
@ -1596,7 +1596,10 @@ class CollectionBuilder:
|
|||
elif filter_final is None:
|
||||
message = f"{self.Type} Error: {filter_final} filter attribute is blank"
|
||||
else:
|
||||
final_data = self.validate_attribute(filter_attr, modifier, f"{filter_final} filter", filter_data, validate)
|
||||
try:
|
||||
final_data = self.validate_attribute(filter_attr, modifier, f"{filter_final} filter", filter_data, validate)
|
||||
except FilterFailed as e:
|
||||
raise Failed(e)
|
||||
if self.builder_level in ["show", "season", "artist", "album"] and filter_attr in sub_filters:
|
||||
current_filters.append(("episodes" if self.builder_level in ["show", "season"] else "tracks", {filter_final: final_data, "percentage": self.default_percent}))
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue