allow disabling of hardware transcoding on HDTC-2US

This commit is contained in:
Daniel Becker 2016-04-03 23:46:45 -07:00
parent cc2c794ad0
commit cce1f2c1f0
3 changed files with 10 additions and 1 deletions

View File

@ -22,6 +22,11 @@
<paper-checkbox class="chkFavorite">${LabelImportOnlyFavoriteChannels}</paper-checkbox>
<div class="fieldDescription paperCheckboxFieldDescription">${ImportFavoriteChannelsHelp}</div>
</div>
<div>
<br />
<paper-checkbox class="chkTranscode">${LabelAllowHWTranscoding}</paper-checkbox>
<div class="fieldDescription paperCheckboxFieldDescription">${AllowHWTranscodingHelp}</div>
</div>
<br />
<div>
<button type="submit" data-role="none" class="clearButton">
@ -34,4 +39,4 @@
</div>
</div>
</div>
</div>
</div>

View File

@ -14,6 +14,7 @@
page.querySelector('.txtDevicePath').value = info.Url || '';
page.querySelector('.chkFavorite').checked = info.ImportFavoritesOnly;
page.querySelector('.chkTranscode').checked = info.AllowHWTranscoding;
page.querySelector('.chkEnabled').checked = info.IsEnabled;
});
@ -30,6 +31,7 @@
Type: 'hdhomerun',
Url: page.querySelector('.txtDevicePath').value,
ImportFavoritesOnly: page.querySelector('.chkFavorite').checked,
AllowHWTranscoding: page.querySelector('.chkTranscode').checked,
IsEnabled: page.querySelector('.chkEnabled').checked,
DataVersion: 1
};

View File

@ -1443,6 +1443,8 @@
"MessageTunerDeviceNotListed": "Is your tuner device not listed? Try installing an external service provider for more Live TV options.",
"LabelImportOnlyFavoriteChannels": "Restrict to channels marked as favorite",
"ImportFavoriteChannelsHelp": "If enabled, only channels that are marked as favorite on the tuner device will be imported.",
"LabelAllowHWTranscoding": "Allow hardware transcoding",
"AllowHWTranscodingHelp": "If enabled, allow the tuner to transcode streams in hardware.",
"ButtonRepeat": "Repeat",
"LabelEnableThisTuner": "Enable this tuner",
"LabelEnableThisTunerHelp": "Uncheck to prevent importing channels from this tuner.",