mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 05:47:14 -04:00
DLNA Didl improvements
This commit is contained in:
parent
9d8fb519ed
commit
8f3a6279e1
@ -418,6 +418,10 @@ namespace MediaBrowser.Dlna.Didl
|
|||||||
{
|
{
|
||||||
classType = "object.container.person.musicArtist";
|
classType = "object.container.person.musicArtist";
|
||||||
}
|
}
|
||||||
|
if (item is Series || item is Season || item is BoxSet || item is CollectionFolder)
|
||||||
|
{
|
||||||
|
classType = "object.container.album.videoAlbum";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
objectClass.InnerText = classType ?? "object.container.storageFolder";
|
objectClass.InnerText = classType ?? "object.container.storageFolder";
|
||||||
@ -435,7 +439,7 @@ namespace MediaBrowser.Dlna.Didl
|
|||||||
if (!_profile.RequiresPlainVideoItems && item is Movie)
|
if (!_profile.RequiresPlainVideoItems && item is Movie)
|
||||||
{
|
{
|
||||||
objectClass.InnerText = "object.item.videoItem.movie";
|
objectClass.InnerText = "object.item.videoItem.movie";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
objectClass.InnerText = "object.item.videoItem";
|
objectClass.InnerText = "object.item.videoItem";
|
||||||
|
Loading…
Reference in New Issue
Block a user