|
|
|
@ -391,14 +391,6 @@ namespace Emby.Dlna.Didl
|
|
|
|
|
|
|
|
|
|
private string GetDisplayName(BaseItem item, StubType? itemStubType, BaseItem context)
|
|
|
|
|
{
|
|
|
|
|
if (itemStubType.HasValue && itemStubType.Value == StubType.People)
|
|
|
|
|
{
|
|
|
|
|
if (item is Video)
|
|
|
|
|
{
|
|
|
|
|
return _localization.GetLocalizedString("HeaderCastCrew");
|
|
|
|
|
}
|
|
|
|
|
return _localization.GetLocalizedString("HeaderPeople");
|
|
|
|
|
}
|
|
|
|
|
if (itemStubType.HasValue && itemStubType.Value == StubType.Latest)
|
|
|
|
|
{
|
|
|
|
|
return _localization.GetLocalizedString("ViewTypeMusicLatest");
|
|
|
|
@ -961,12 +953,6 @@ namespace Emby.Dlna.Didl
|
|
|
|
|
|
|
|
|
|
private void AddCover(BaseItem item, BaseItem context, StubType? stubType, XmlWriter writer)
|
|
|
|
|
{
|
|
|
|
|
if (stubType.HasValue && stubType.Value == StubType.People)
|
|
|
|
|
{
|
|
|
|
|
AddEmbeddedImageAsCover("people", writer);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
ImageDownloadInfo imageInfo = null;
|
|
|
|
|
|
|
|
|
|
if (context is UserView)
|
|
|
|
|