Skip to content

Commit

Permalink
[ServiceList/setup.xml] Fix correct order for record_icon_match_value
Browse files Browse the repository at this point in the history
  • Loading branch information
Ev0-BH committed Dec 6, 2023
1 parent a2b47de commit 5b553d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data/setup.xml
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +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>
<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
2 changes: 1 addition & 1 deletion lib/python/Components/ServiceList.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def __init__(self, serviceList):
pic = LoadPixmap(resolveFilename(SCOPE_CURRENT_SKIN, "icons/ico_altref-fs8.png"))
pic and self.l.setPixmap(self.l.picBackup, pic)

self.l.setAlternativeRecordMatching(config.recording.record_icon_match.value == "Sref + stream url")
self.l.setAlternativeRecordMatching(config.recording.record_icon_match.value == "Sref only")

self.root = None
self.mode = self.MODE_NORMAL
Expand Down

0 comments on commit 5b553d1

Please sign in to comment.