mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 05:47:14 -04:00
rework detail page a little
This commit is contained in:
parent
be070a0bfe
commit
75771927d6
@ -501,6 +501,11 @@ namespace MediaBrowser.Server.Implementations.Sync
|
||||
|
||||
var libraryItem = _libraryManager.GetItemById(jobItem.ItemId);
|
||||
|
||||
if (libraryItem == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
var syncedItem = new SyncedItem
|
||||
{
|
||||
SyncJobId = jobItem.JobId,
|
||||
@ -563,7 +568,9 @@ namespace MediaBrowser.Server.Implementations.Sync
|
||||
Statuses = new List<SyncJobItemStatus> { SyncJobItemStatus.Transferring }
|
||||
});
|
||||
|
||||
return jobItemResult.Items.Select(GetJobItemInfo)
|
||||
return jobItemResult.Items
|
||||
.Select(GetJobItemInfo)
|
||||
.Where(i => i != null)
|
||||
.ToList();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user