|
|
@ -210,6 +210,8 @@ class PlexAPI:
|
|
|
|
attr = tmdb_item.vote_count
|
|
|
|
attr = tmdb_item.vote_count
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
attr = getattr(current, method_name) / 60000 if method_name == "duration" else getattr(current, method_name)
|
|
|
|
attr = getattr(current, method_name) / 60000 if method_name == "duration" else getattr(current, method_name)
|
|
|
|
|
|
|
|
if attr is None:
|
|
|
|
|
|
|
|
attr = 0
|
|
|
|
if (modifier == ".lte" and attr > filter_data) or (modifier == ".gte" and attr < filter_data):
|
|
|
|
if (modifier == ".lte" and attr > filter_data) or (modifier == ".gte" and attr < filter_data):
|
|
|
|
match = False
|
|
|
|
match = False
|
|
|
|
break
|
|
|
|
break
|
|
|
|