mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update subtitle download setting
This commit is contained in:
parent
90ac504440
commit
45cf1d8430
5 changed files with 25 additions and 29 deletions
|
@ -50,7 +50,7 @@
|
|||
}
|
||||
|
||||
.withBackdrop .pageBackground {
|
||||
background-color: rgba(20, 20,20, .92);
|
||||
background-color: rgba(6, 6,6, .9);
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
|
|
@ -95,6 +95,8 @@
|
|||
|
||||
html += '</a>';
|
||||
}
|
||||
|
||||
$('#childrenContent', page).html(html);
|
||||
}
|
||||
|
||||
function loadPrograms(page, channelId) {
|
||||
|
@ -109,7 +111,6 @@
|
|||
}).then(function (result) {
|
||||
|
||||
renderPrograms(page, result);
|
||||
|
||||
Dashboard.hideLoadingMsg();
|
||||
});
|
||||
}
|
||||
|
|
|
@ -419,6 +419,25 @@
|
|||
});
|
||||
});
|
||||
|
||||
window.WizardLibraryPage = {
|
||||
|
||||
next: function () {
|
||||
|
||||
Dashboard.showLoadingMsg();
|
||||
|
||||
var apiClient = ApiClient;
|
||||
|
||||
apiClient.ajax({
|
||||
type: "POST",
|
||||
url: apiClient.getUrl('System/Configuration/MetadataPlugins/Autoset')
|
||||
|
||||
}).then(function () {
|
||||
|
||||
Dashboard.hideLoadingMsg();
|
||||
Dashboard.navigate('wizardsettings.html');
|
||||
});
|
||||
}
|
||||
};
|
||||
pageClassOn('pageshow', "mediaLibraryPage", function () {
|
||||
|
||||
var page = this;
|
||||
|
@ -426,30 +445,6 @@
|
|||
|
||||
});
|
||||
|
||||
})();
|
||||
|
||||
var WizardLibraryPage = {
|
||||
|
||||
next: function () {
|
||||
|
||||
Dashboard.showLoadingMsg();
|
||||
|
||||
var apiClient = ApiClient;
|
||||
|
||||
apiClient.ajax({
|
||||
type: "POST",
|
||||
url: apiClient.getUrl('System/Configuration/MetadataPlugins/Autoset')
|
||||
|
||||
}).then(function () {
|
||||
|
||||
Dashboard.hideLoadingMsg();
|
||||
Dashboard.navigate('wizardsettings.html');
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
(function ($, document, window) {
|
||||
|
||||
pageIdOn('pageshow', "mediaLibraryPage", function () {
|
||||
|
||||
var page = this;
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
$('#chkSubtitlesMovies', page).checked(config.DownloadMovieSubtitles);
|
||||
$('#chkSubtitlesEpisodes', page).checked(config.DownloadEpisodeSubtitles);
|
||||
|
||||
$('#chkSkipIfGraphicalSubsPresent', page).checked(config.SkipIfGraphicalSubtitlesPresent);
|
||||
$('#chkSkipIfGraphicalSubsPresent', page).checked(config.SkipIfEmbeddedSubtitlesPresent);
|
||||
$('#chkSkipIfAudioTrackPresent', page).checked(config.SkipIfAudioTrackMatches);
|
||||
|
||||
$('#txtOpenSubtitleUsername', page).val(config.OpenSubtitlesUsername);
|
||||
|
@ -48,7 +48,7 @@
|
|||
config.DownloadMovieSubtitles = $('#chkSubtitlesMovies', form).checked();
|
||||
config.DownloadEpisodeSubtitles = $('#chkSubtitlesEpisodes', form).checked();
|
||||
|
||||
config.SkipIfGraphicalSubtitlesPresent = $('#chkSkipIfGraphicalSubsPresent', form).checked();
|
||||
config.SkipIfEmbeddedSubtitlesPresent = $('#chkSkipIfGraphicalSubsPresent', form).checked();
|
||||
config.SkipIfAudioTrackMatches = $('#chkSkipIfAudioTrackPresent', form).checked();
|
||||
|
||||
config.OpenSubtitlesUsername = $('#txtOpenSubtitleUsername', form).val();
|
||||
|
|
|
@ -831,7 +831,7 @@
|
|||
"HeaderSubtitleDownloadingHelp": "When Emby scans your video files it can search for missing subtitles, and download them using a subtitle provider such as OpenSubtitles.org.",
|
||||
"HeaderDownloadSubtitlesFor": "Download subtitles for:",
|
||||
"MessageNoChapterProviders": "Install a chapter provider plugin such as ChapterDb to enable additional chapter options.",
|
||||
"LabelSkipIfGraphicalSubsPresent": "Skip if the video already contains graphical subtitles",
|
||||
"LabelSkipIfGraphicalSubsPresent": "Skip if the video already contains embedded subtitles",
|
||||
"LabelSkipIfGraphicalSubsPresentHelp": "Keeping text versions of subtitles will result in more efficient delivery and decrease the likelihood of video transcoding.",
|
||||
"TabSubtitles": "Subtitles",
|
||||
"TabChapters": "Chapters",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue