mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add movie prefix feature
This commit is contained in:
parent
bb82ca5806
commit
56e182281b
3 changed files with 10 additions and 1 deletions
|
@ -35,6 +35,7 @@
|
|||
page.querySelector('.txtNews').value = (info.NewsCategories || []).join('|');
|
||||
page.querySelector('.txtSports').value = (info.SportsCategories || []).join('|');
|
||||
page.querySelector('.txtMovies').value = (info.MovieCategories || []).join('|');
|
||||
page.querySelector('.txtMoviePrefix').value = info.MoviePrefix || '';
|
||||
|
||||
page.querySelector('.chkAllTuners').checked = info.EnableAllTuners;
|
||||
|
||||
|
@ -73,6 +74,8 @@
|
|||
|
||||
info.Path = page.querySelector('.txtPath').value;
|
||||
|
||||
info.MoviePrefix = page.querySelector('.txtMoviePrefix');
|
||||
|
||||
info.MovieCategories = getCategories(page.querySelector('.txtMovies'));
|
||||
info.KidsCategories = getCategories(page.querySelector('.txtKids'));
|
||||
info.NewsCategories = getCategories(page.querySelector('.txtNews'));
|
||||
|
|
|
@ -15,6 +15,10 @@
|
|||
<input is="emby-input" class="txtMovies" label="${LabelMovieCategories}" autocomplete="off" />
|
||||
<div class="fieldDescription">${XmlTvMovieCategoriesHelp}</div>
|
||||
</div>
|
||||
<div class="inputContainer">
|
||||
<input is="emby-input" class="txtMoviePrefix" label="${LabelMoviePrefix}" autocomplete="off" />
|
||||
<div class="fieldDescription">${LabelMoviePrefixHelp}</div>
|
||||
</div>
|
||||
<div class="inputContainer">
|
||||
<input is="emby-input" class="txtKids" label="${LabelKidsCategories}" autocomplete="off" />
|
||||
<div class="fieldDescription">${XmlTvKidsCategoriesHelp}</div>
|
||||
|
|
|
@ -2021,5 +2021,7 @@
|
|||
"ButtonPlayExternalPlayer": "Play with external player",
|
||||
"NotScheduledToRecord": "Not scheduled to record",
|
||||
"SynologyUpdateInstructions": "Please login to DSM and go to Package Center to update.",
|
||||
"LatestFromLibrary": "Latest {0}"
|
||||
"LatestFromLibrary": "Latest {0}",
|
||||
"LabelMoviePrefix": "Movie prefix:",
|
||||
"LabelMoviePrefixHelp": "If a prefix is applied to movie titles, enter it here so that Emby can handle it properly."
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue