Merge pull request #809 from 7illusions/master

DLNA Didl improvements
This commit is contained in:
Luke 2014-05-03 17:57:02 -04:00
commit ac2c1563d5

View File

@ -418,6 +418,10 @@ namespace MediaBrowser.Dlna.Didl
{
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";
@ -435,7 +439,7 @@ namespace MediaBrowser.Dlna.Didl
if (!_profile.RequiresPlainVideoItems && item is Movie)
{
objectClass.InnerText = "object.item.videoItem.movie";
}
}
else
{
objectClass.InnerText = "object.item.videoItem";