|
|
@ -1449,11 +1449,11 @@ class CollectionBuilder:
|
|
|
|
def _flixpatrol(self, method_name, method_data):
|
|
|
|
def _flixpatrol(self, method_name, method_data):
|
|
|
|
for dict_data in util.parse(self.Type, method_name, method_data, datatype="listdict"):
|
|
|
|
for dict_data in util.parse(self.Type, method_name, method_data, datatype="listdict"):
|
|
|
|
dict_methods = {dm.lower(): dm for dm in dict_data}
|
|
|
|
dict_methods = {dm.lower(): dm for dm in dict_data}
|
|
|
|
self.builders.append((method_name, {
|
|
|
|
self.builders.append((method_name, self.config.FlixPatrol.validate_builder(method_name, {
|
|
|
|
"platform": util.parse(self.Type, "platform", dict_data, methods=dict_methods, parent=method_name, options=self.config.FlixPatrol.platforms),
|
|
|
|
"platform": util.parse(self.Type, "platform", dict_data, methods=dict_methods, parent=method_name, options=self.config.FlixPatrol.platforms),
|
|
|
|
"location": util.parse(self.Type, "location", dict_data, methods=dict_methods, parent=method_name, default="world", options=self.config.FlixPatrol.locations),
|
|
|
|
"location": util.parse(self.Type, "location", dict_data, methods=dict_methods, parent=method_name, default="world", options=self.config.FlixPatrol.locations),
|
|
|
|
"limit": util.parse(self.Type, "limit", dict_data, datatype="int", methods=dict_methods, parent=method_name, default=10, maximum=10)
|
|
|
|
"limit": util.parse(self.Type, "limit", dict_data, datatype="int", methods=dict_methods, parent=method_name, default=10, maximum=10)
|
|
|
|
}))
|
|
|
|
}, self.library.is_movie)))
|
|
|
|
|
|
|
|
|
|
|
|
def _icheckmovies(self, method_name, method_data):
|
|
|
|
def _icheckmovies(self, method_name, method_data):
|
|
|
|
if method_name.startswith("icheckmovies_list"):
|
|
|
|
if method_name.startswith("icheckmovies_list"):
|
|
|
|