1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Merge pull request #1631 from razzfazz/hdhr_config_hw_transcode_dev

allow disabling of hardware transcoding on HDTC-2US (dev)
This commit is contained in:
Luke 2016-04-06 23:08:48 -04:00
commit 926cffa55f
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 />
<p>${DrmChannelsNotImported}</p>
<br />

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

@ -1440,6 +1440,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.",