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

add open subtitle option to only download subtitles that are a perfect match

This commit is contained in:
Luke Pulverenti 2016-04-07 00:09:32 -04:00
parent 926cffa55f
commit 0fd15ae405
4 changed files with 13 additions and 4 deletions

View file

@ -24,6 +24,9 @@
<br /><br />
<ul data-role="listview" class="ulForm">
<li>
<paper-checkbox id="chkRequirePerfectMatch">${OptionRequirePerfectSubtitleMatch}</paper-checkbox>
</li>
<li>
<paper-checkbox id="chkSkipIfAudioTrackPresent">${LabelSkipIfAudioTrackPresent}</paper-checkbox>
<div class="fieldDescription paperCheckboxFieldDescription">${LabelSkipIfAudioTrackPresentHelp}</div>

View file

@ -7,6 +7,7 @@
$('#chkSkipIfGraphicalSubsPresent', page).checked(config.SkipIfEmbeddedSubtitlesPresent);
$('#chkSkipIfAudioTrackPresent', page).checked(config.SkipIfAudioTrackMatches);
$('#chkRequirePerfectMatch', page).checked(config.RequirePerfectMatch);
$('#txtOpenSubtitleUsername', page).val(config.OpenSubtitlesUsername);
$('#txtOpenSubtitlePassword', page).val('');
@ -50,6 +51,7 @@
config.SkipIfEmbeddedSubtitlesPresent = $('#chkSkipIfGraphicalSubsPresent', form).checked();
config.SkipIfAudioTrackMatches = $('#chkSkipIfAudioTrackPresent', form).checked();
config.RequirePerfectMatch = $('#chkRequirePerfectMatch', form).checked();
config.OpenSubtitlesUsername = $('#txtOpenSubtitleUsername', form).val();

View file

@ -1440,8 +1440,6 @@
"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.",
@ -2342,5 +2340,8 @@
"IHaveEmbyPremiere": "I have Emby Premiere",
"IPurchasedThisApp": "I purchased this app",
"DrmChannelsNotImported": "Channels with DRM will not be imported.",
"ConfigureDateAdded": "Configure how date added is determined in the Emby Server dashboard under Library settings"
"ConfigureDateAdded": "Configure how date added is determined in the Emby Server dashboard under Library settings",
"LabelAllowHWTranscoding": "Allow hardware transcoding",
"AllowHWTranscodingHelp": "If enabled, allow the tuner to transcode streams on the fly. This may help reduce transcoding required by Emby Server.",
"OptionRequirePerfectSubtitleMatch": "Only download subtitles that are a perfect match for my video files"
}

View file

@ -2340,5 +2340,8 @@
"IHaveEmbyPremiere": "I have Emby Premiere",
"IPurchasedThisApp": "I purchased this app",
"DrmChannelsNotImported": "Channels with DRM will not be imported.",
"ConfigureDateAdded": "Configure how date added is determined in the Emby Server dashboard under Library settings"
"ConfigureDateAdded": "Configure how date added is determined in the Emby Server dashboard under Library settings",
"LabelAllowHWTranscoding": "Allow hardware transcoding",
"AllowHWTranscodingHelp": "If enabled, allow the tuner to transcode streams on the fly. This may help reduce transcoding required by Emby Server.",
"OptionRequirePerfectSubtitleMatch": "Only download subtitles that are a perfect match for my video files"
}