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

Method get_dvr_settings

core/models.py:306–321  ·  view source on GitHub ↗

Get all DVR-related settings.

(cls)

Source from the content-addressed store, hash-verified

304 # DVR Settings
305 @classmethod
306 def get_dvr_settings(cls):
307 """Get all DVR-related settings."""
308 return cls._get_group(DVR_SETTINGS_KEY, {
309 "tv_template": "TV_Shows/{show}/S{season:02d}E{episode:02d}.mkv",
310 "movie_template": "Movies/{title} ({year}).mkv",
311 "tv_fallback_dir": "TV_Shows",
312 "tv_fallback_template": "TV_Shows/{show}/{start}.mkv",
313 "movie_fallback_template": "Movies/{start}.mkv",
314 "comskip_enabled": False,
315 "comskip_custom_path": "",
316 "comskip_mode": "cut",
317 "comskip_hw_accel": "none",
318 "pre_offset_minutes": 0,
319 "post_offset_minutes": 0,
320 "series_rules": [],
321 })
322
323 @classmethod
324 def get_dvr_tv_template(cls):

Calls 1

_get_groupMethod · 0.80

Tested by

no test coverage detected