1
0
Fork 0
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:
Luke Pulverenti 2016-03-19 18:31:00 -04:00
parent 90ac504440
commit 45cf1d8430
5 changed files with 25 additions and 29 deletions

View file

@ -50,7 +50,7 @@
} }
.withBackdrop .pageBackground { .withBackdrop .pageBackground {
background-color: rgba(20, 20,20, .92); background-color: rgba(6, 6,6, .9);
display: block; display: block;
} }

View file

@ -95,6 +95,8 @@
html += '</a>'; html += '</a>';
} }
$('#childrenContent', page).html(html);
} }
function loadPrograms(page, channelId) { function loadPrograms(page, channelId) {
@ -109,7 +111,6 @@
}).then(function (result) { }).then(function (result) {
renderPrograms(page, result); renderPrograms(page, result);
Dashboard.hideLoadingMsg(); Dashboard.hideLoadingMsg();
}); });
} }

View file

@ -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 () { pageClassOn('pageshow', "mediaLibraryPage", function () {
var page = this; 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 () { pageIdOn('pageshow', "mediaLibraryPage", function () {
var page = this; var page = this;

View file

@ -5,7 +5,7 @@
$('#chkSubtitlesMovies', page).checked(config.DownloadMovieSubtitles); $('#chkSubtitlesMovies', page).checked(config.DownloadMovieSubtitles);
$('#chkSubtitlesEpisodes', page).checked(config.DownloadEpisodeSubtitles); $('#chkSubtitlesEpisodes', page).checked(config.DownloadEpisodeSubtitles);
$('#chkSkipIfGraphicalSubsPresent', page).checked(config.SkipIfGraphicalSubtitlesPresent); $('#chkSkipIfGraphicalSubsPresent', page).checked(config.SkipIfEmbeddedSubtitlesPresent);
$('#chkSkipIfAudioTrackPresent', page).checked(config.SkipIfAudioTrackMatches); $('#chkSkipIfAudioTrackPresent', page).checked(config.SkipIfAudioTrackMatches);
$('#txtOpenSubtitleUsername', page).val(config.OpenSubtitlesUsername); $('#txtOpenSubtitleUsername', page).val(config.OpenSubtitlesUsername);
@ -48,7 +48,7 @@
config.DownloadMovieSubtitles = $('#chkSubtitlesMovies', form).checked(); config.DownloadMovieSubtitles = $('#chkSubtitlesMovies', form).checked();
config.DownloadEpisodeSubtitles = $('#chkSubtitlesEpisodes', form).checked(); config.DownloadEpisodeSubtitles = $('#chkSubtitlesEpisodes', form).checked();
config.SkipIfGraphicalSubtitlesPresent = $('#chkSkipIfGraphicalSubsPresent', form).checked(); config.SkipIfEmbeddedSubtitlesPresent = $('#chkSkipIfGraphicalSubsPresent', form).checked();
config.SkipIfAudioTrackMatches = $('#chkSkipIfAudioTrackPresent', form).checked(); config.SkipIfAudioTrackMatches = $('#chkSkipIfAudioTrackPresent', form).checked();
config.OpenSubtitlesUsername = $('#txtOpenSubtitleUsername', form).val(); config.OpenSubtitlesUsername = $('#txtOpenSubtitleUsername', form).val();

View file

@ -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.", "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:", "HeaderDownloadSubtitlesFor": "Download subtitles for:",
"MessageNoChapterProviders": "Install a chapter provider plugin such as ChapterDb to enable additional chapter options.", "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.", "LabelSkipIfGraphicalSubsPresentHelp": "Keeping text versions of subtitles will result in more efficient delivery and decrease the likelihood of video transcoding.",
"TabSubtitles": "Subtitles", "TabSubtitles": "Subtitles",
"TabChapters": "Chapters", "TabChapters": "Chapters",