Skip to content

Commit

Permalink
Add matching for record icon
Browse files Browse the repository at this point in the history
(cherry picked from commit 4e7d7d6)
  • Loading branch information
Huevos authored and Ev0-BH committed Dec 5, 2023
1 parent 6f89469 commit 8b56f51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions data/setup.xml
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@
<item level="2" text="Remove finished timer logs after (days)" description="Configure the number of days old timers' log details are kept before they're automatically removed.">config.recording.keep_finished_timer_logs</item>
<item level="2" text="Offline decode delay (ms)" description="Configure the offline decoding delay (in milliseconds). The configured delay is observed at each control word parity change.">config.recording.offline_decode_delay</item>
<item level="2" text="Default recording type" description="Descramble &amp; record ECM' gives the option to descramble afterwards if descrambling on recording failed. 'Don't descramble, record ECM' save a scramble recording that can be descrambled on playback. 'Normal' means descramble the recording and don't record ECM.">config.recording.ecm_data</item>
<item level="2" text="Record icon match" description="Select display of record icon based on 'sref only' or 'Sref + stream url' where applicable.">config.recording.record_icon_match</item>
</setup>
<setup key="harddisk" title="HDD settings">
<item level="0" text="Hard disk standby after" description="Configure duration of inactivity before the hard disk drive goes to standby">config.usage.hdd_standby</item>
Expand Down
3 changes: 2 additions & 1 deletion lib/python/Components/RecordingConfig.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from Components.config import ConfigSelectionNumber, ConfigYesNo, ConfigSubsection, ConfigSelection, config
from Components.config import ConfigBoolean, ConfigSelectionNumber, ConfigYesNo, ConfigSubsection, ConfigSelection, config


def InitRecordingConfig():
Expand Down Expand Up @@ -28,3 +28,4 @@ def InitRecordingConfig():
("long", _("Long filenames"))])
config.recording.offline_decode_delay = ConfigSelectionNumber(min=1, max=10000, stepwidth=10, default=1000, wraparound=True)
config.recording.ecm_data = ConfigSelection(choices=[("normal", _("normal")), ("descrambled+ecm", _("descramble and record ecm")), ("scrambled+ecm", _("don't descramble, record ecm"))], default="normal")
config.recording.record_icon_match = ConfigBoolean(descriptions={False: _("Sref only"), True: _("Sref + stream url")}, graphic=False)

0 comments on commit 8b56f51

Please sign in to comment.