mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-23 10:36:43 +00:00
Added Video3DFormat property
This commit is contained in:
@@ -35,7 +35,12 @@ namespace MediaBrowser.Server.Implementations.Library
|
||||
}
|
||||
|
||||
item.Id = item.Path.GetMBId(item.GetType());
|
||||
item.DisplayMediaType = item.GetType().Name;
|
||||
|
||||
// If the resolver didn't specify this
|
||||
if (string.IsNullOrEmpty(item.DisplayMediaType))
|
||||
{
|
||||
item.DisplayMediaType = item.GetType().Name;
|
||||
}
|
||||
|
||||
// Make sure the item has a name
|
||||
EnsureName(item);
|
||||
|
||||
Reference in New Issue
Block a user