mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-04 06:48:35 +01:00
update script loading
This commit is contained in:
@@ -1424,13 +1424,6 @@
|
||||
"OptionEnableFullSpeedConversionHelp": "By default, sync conversion is performed at a low speed to minimize resource consumption.",
|
||||
"HeaderPlaylists": "Playlists",
|
||||
"HeaderSelectDate": "Select Date",
|
||||
"HeaderWelcomeExclamation": "Welcome!",
|
||||
"HeaderMyPreferences": "My Preferences",
|
||||
"ButtonMyPreferencesWelcomeYes": "Yes, I'd like to set my preferences now.",
|
||||
"ButtonMyPreferencesWelcomeNo": "No thanks, I'll do it later.",
|
||||
"MyPreferencesWelcomeMessage1": "We've presented your library in a way we think you'll enjoy. The appearance and grouping of content can be changed anytime by adjusting your preferences. Your preferences will apply to all Emby apps.",
|
||||
"MyPreferencesWelcomeMessage2": "Would you like to set your preferences now?",
|
||||
"ToAccessPreferencesHelp": "To access your preferences later, click your user icon in the top right header and select My Preferences.",
|
||||
"HeaderViewStyles": "View Styles",
|
||||
"LabelSelectViewStyles": "Enable enhanced presentations for:",
|
||||
"LabelSelectViewStylesHelp": "If enabled, views will be built with metadata to offer categories such as Suggestions, Latest, Genres, and more. If disabled, they'll be displayed with simple folders.",
|
||||
|
||||
@@ -286,6 +286,13 @@ namespace MediaBrowser.Server.Implementations.Sync
|
||||
|
||||
private async Task FillMetadata(SyncJob job)
|
||||
{
|
||||
var user = _userManager.GetUserById(job.UserId);
|
||||
|
||||
if (user == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
var target = GetSyncTargets(job.UserId)
|
||||
.FirstOrDefault(i => string.Equals(i.Id, job.TargetId, StringComparison.OrdinalIgnoreCase));
|
||||
|
||||
@@ -302,8 +309,6 @@ namespace MediaBrowser.Server.Implementations.Sync
|
||||
{
|
||||
var processor = GetSyncJobProcessor();
|
||||
|
||||
var user = _userManager.GetUserById(job.UserId);
|
||||
|
||||
item = (await processor
|
||||
.GetItemsForSync(job.Category, job.ParentId, job.RequestedItemIds, user, job.UnwatchedOnly).ConfigureAwait(false))
|
||||
.FirstOrDefault();
|
||||
|
||||
Reference in New Issue
Block a user