mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update recording creator
This commit is contained in:
parent
a1e8db221f
commit
96916410b0
2 changed files with 18 additions and 1 deletions
|
@ -280,6 +280,7 @@
|
||||||
|
|
||||||
if (program.ServiceName == 'Emby') {
|
if (program.ServiceName == 'Emby') {
|
||||||
context.querySelector('.convertRecordingsContainer').classList.remove('hide');
|
context.querySelector('.convertRecordingsContainer').classList.remove('hide');
|
||||||
|
showConvertRecordingsUnlockMessage();
|
||||||
} else {
|
} else {
|
||||||
context.querySelector('.convertRecordingsContainer').classList.add('hide');
|
context.querySelector('.convertRecordingsContainer').classList.add('hide');
|
||||||
}
|
}
|
||||||
|
@ -287,6 +288,22 @@
|
||||||
Dashboard.hideLoadingMsg();
|
Dashboard.hideLoadingMsg();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function showConvertRecordingsUnlockMessage(context) {
|
||||||
|
|
||||||
|
Dashboard.getPluginSecurityInfo().then(function(regInfo) {
|
||||||
|
|
||||||
|
if (regInfo.IsRegistered) {
|
||||||
|
context.querySelector('.btnSupporterForConverting').classList.add('hide');
|
||||||
|
} else {
|
||||||
|
context.querySelector('.btnSupporterForConverting').classList.remove('hide');
|
||||||
|
}
|
||||||
|
|
||||||
|
}, function() {
|
||||||
|
|
||||||
|
context.querySelector('.btnSupporterForConverting').classList.remove('hide');
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
function reload(context, programId) {
|
function reload(context, programId) {
|
||||||
|
|
||||||
Dashboard.showLoadingMsg();
|
Dashboard.showLoadingMsg();
|
||||||
|
|
|
@ -49,7 +49,7 @@
|
||||||
<br />
|
<br />
|
||||||
<paper-checkbox id="chkConvertRecordings">${OptionConvertRecordingsToStreamingFormat}</paper-checkbox>
|
<paper-checkbox id="chkConvertRecordings">${OptionConvertRecordingsToStreamingFormat}</paper-checkbox>
|
||||||
<div class="fieldDescription paperCheckboxFieldDescription">${OptionConvertRecordingsToStreamingFormatHelp}</div>
|
<div class="fieldDescription paperCheckboxFieldDescription">${OptionConvertRecordingsToStreamingFormatHelp}</div>
|
||||||
<div class="fieldDescription paperCheckboxFieldDescription btnSupporterForConverting"><a href="https://emby.media/premiere" target="_blank" class="accent">${FeatureRequiresEmbyPremiere}</a></div>
|
<div class="fieldDescription paperCheckboxFieldDescription btnSupporterForConverting hide"><a href="https://emby.media/premiere" target="_blank" class="accent">${FeatureRequiresEmbyPremiere}</a></div>
|
||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
<div class="advancedToggle hide">
|
<div class="advancedToggle hide">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue