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:
parent
926cffa55f
commit
0fd15ae405
4 changed files with 13 additions and 4 deletions
|
@ -24,6 +24,9 @@
|
||||||
<br /><br />
|
<br /><br />
|
||||||
|
|
||||||
<ul data-role="listview" class="ulForm">
|
<ul data-role="listview" class="ulForm">
|
||||||
|
<li>
|
||||||
|
<paper-checkbox id="chkRequirePerfectMatch">${OptionRequirePerfectSubtitleMatch}</paper-checkbox>
|
||||||
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<paper-checkbox id="chkSkipIfAudioTrackPresent">${LabelSkipIfAudioTrackPresent}</paper-checkbox>
|
<paper-checkbox id="chkSkipIfAudioTrackPresent">${LabelSkipIfAudioTrackPresent}</paper-checkbox>
|
||||||
<div class="fieldDescription paperCheckboxFieldDescription">${LabelSkipIfAudioTrackPresentHelp}</div>
|
<div class="fieldDescription paperCheckboxFieldDescription">${LabelSkipIfAudioTrackPresentHelp}</div>
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
$('#chkSkipIfGraphicalSubsPresent', page).checked(config.SkipIfEmbeddedSubtitlesPresent);
|
$('#chkSkipIfGraphicalSubsPresent', page).checked(config.SkipIfEmbeddedSubtitlesPresent);
|
||||||
$('#chkSkipIfAudioTrackPresent', page).checked(config.SkipIfAudioTrackMatches);
|
$('#chkSkipIfAudioTrackPresent', page).checked(config.SkipIfAudioTrackMatches);
|
||||||
|
$('#chkRequirePerfectMatch', page).checked(config.RequirePerfectMatch);
|
||||||
|
|
||||||
$('#txtOpenSubtitleUsername', page).val(config.OpenSubtitlesUsername);
|
$('#txtOpenSubtitleUsername', page).val(config.OpenSubtitlesUsername);
|
||||||
$('#txtOpenSubtitlePassword', page).val('');
|
$('#txtOpenSubtitlePassword', page).val('');
|
||||||
|
@ -50,6 +51,7 @@
|
||||||
|
|
||||||
config.SkipIfEmbeddedSubtitlesPresent = $('#chkSkipIfGraphicalSubsPresent', form).checked();
|
config.SkipIfEmbeddedSubtitlesPresent = $('#chkSkipIfGraphicalSubsPresent', form).checked();
|
||||||
config.SkipIfAudioTrackMatches = $('#chkSkipIfAudioTrackPresent', form).checked();
|
config.SkipIfAudioTrackMatches = $('#chkSkipIfAudioTrackPresent', form).checked();
|
||||||
|
config.RequirePerfectMatch = $('#chkRequirePerfectMatch', form).checked();
|
||||||
|
|
||||||
config.OpenSubtitlesUsername = $('#txtOpenSubtitleUsername', form).val();
|
config.OpenSubtitlesUsername = $('#txtOpenSubtitleUsername', form).val();
|
||||||
|
|
||||||
|
|
|
@ -1440,8 +1440,6 @@
|
||||||
"MessageTunerDeviceNotListed": "Is your tuner device not listed? Try installing an external service provider for more Live TV options.",
|
"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",
|
"LabelImportOnlyFavoriteChannels": "Restrict to channels marked as favorite",
|
||||||
"ImportFavoriteChannelsHelp": "If enabled, only channels that are marked as favorite on the tuner device will be imported.",
|
"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",
|
"ButtonRepeat": "Repeat",
|
||||||
"LabelEnableThisTuner": "Enable this tuner",
|
"LabelEnableThisTuner": "Enable this tuner",
|
||||||
"LabelEnableThisTunerHelp": "Uncheck to prevent importing channels from this tuner.",
|
"LabelEnableThisTunerHelp": "Uncheck to prevent importing channels from this tuner.",
|
||||||
|
@ -2342,5 +2340,8 @@
|
||||||
"IHaveEmbyPremiere": "I have Emby Premiere",
|
"IHaveEmbyPremiere": "I have Emby Premiere",
|
||||||
"IPurchasedThisApp": "I purchased this app",
|
"IPurchasedThisApp": "I purchased this app",
|
||||||
"DrmChannelsNotImported": "Channels with DRM will not be imported.",
|
"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"
|
||||||
}
|
}
|
||||||
|
|
|
@ -2340,5 +2340,8 @@
|
||||||
"IHaveEmbyPremiere": "I have Emby Premiere",
|
"IHaveEmbyPremiere": "I have Emby Premiere",
|
||||||
"IPurchasedThisApp": "I purchased this app",
|
"IPurchasedThisApp": "I purchased this app",
|
||||||
"DrmChannelsNotImported": "Channels with DRM will not be imported.",
|
"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"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue