mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-11-05 13:45:53 +00:00
fix album save in metadata manager
This commit is contained in:
1 parent
deb6e5a2ee
commit
3e442e0df4
5 files changed
+46
-15
No files matched your search
@@ -458,6 +458,13 @@ namespace MediaBrowser.Server.Implementations.Sync
|
||||
|
||||
var syncOptions = _config.GetSyncOptions();
|
||||
var user = _userManager.GetUserById(job.UserId);
|
||||
if (user == null)
|
||||
{
|
||||
jobItem.Status = SyncJobItemStatus.Failed;
|
||||
_logger.Error("User not found. Cannot complete the sync job.");
|
||||
await _syncManager.UpdateSyncJobItemInternal(jobItem).ConfigureAwait(false);
|
||||
return;
|
||||
}
|
||||
|
||||
var video = item as Video;
|
||||
if (video != null)
|
||||
|
||||
Reference in new issue
Block a user