MCPcopy Create free account
hub / github.com/Dispatcharr/Dispatcharr / get_dvr_series_rules

Method get_dvr_series_rules

core/models.py:376–380  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

374
375 @classmethod
376 def get_dvr_series_rules(cls):
377 rules = cls.get_dvr_settings().get("series_rules", [])
378 if not isinstance(rules, list):
379 return []
380 return [r for r in rules if isinstance(r, dict)]
381
382 @classmethod
383 def set_dvr_series_rules(cls, rules):

Calls 2

get_dvr_settingsMethod · 0.80
getMethod · 0.45