mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-10 06:54:21 +00:00
[66] fix imdb_awards
This commit is contained in:
parent
0e20fdb704
commit
e1ae246f77
2 changed files with 11 additions and 3 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
1.19.1-develop65
|
||||
1.19.1-develop66
|
||||
|
|
|
@ -1534,8 +1534,16 @@ class CollectionBuilder:
|
|||
|
||||
if len(event_year) > 1 and not git_event:
|
||||
raise Failed(f"{self.Type} Error: Only specific events work when using multiple years. Event Options: {self.config.IMDb.events_validation.keys()}")
|
||||
award_filters = util.parse(self.Type, "award_filter", dict_data, parent=method_name, methods=dict_methods, datatype="lowerlist")
|
||||
category_filters = util.parse(self.Type, "category_filter", dict_data, parent=method_name, methods=dict_methods, datatype="lowerlist")
|
||||
award_filters = []
|
||||
if "award_filter" in dict_methods:
|
||||
if not dict_data[dict_methods["award_filter"]]:
|
||||
raise Failed(f"{self.Type} Error: imdb_award award_filter attribute is blank")
|
||||
award_filters = util.parse(self.Type, "award_filter", dict_data[dict_methods["award_filter"]], datatype="lowerlist")
|
||||
category_filters = []
|
||||
if "category_filter" in dict_methods:
|
||||
if not dict_data[dict_methods["category_filter"]]:
|
||||
raise Failed(f"{self.Type} Error: imdb_award category_filter attribute is blank")
|
||||
category_filters = util.parse(self.Type, "category_filter", dict_data[dict_methods["category_filter"]], datatype="lowerlist")
|
||||
final_category = []
|
||||
final_awards = []
|
||||
if award_filters or category_filters:
|
||||
|
|
Loading…
Reference in a new issue