|
|
@ -103,6 +103,21 @@ namespace MediaBrowser.Api
|
|
|
|
dto.IsVirtualFolder = folder is VirtualFolder;
|
|
|
|
dto.IsVirtualFolder = folder is VirtualFolder;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Audio audio = item as Audio;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (audio != null)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
dto.AudioInfo = new AudioInfo()
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Album = audio.Album,
|
|
|
|
|
|
|
|
AlbumArtist = audio.AlbumArtist,
|
|
|
|
|
|
|
|
Artist = audio.Artist,
|
|
|
|
|
|
|
|
BitRate = audio.BitRate,
|
|
|
|
|
|
|
|
Channels = audio.Channels,
|
|
|
|
|
|
|
|
Composer = audio.Composer
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return dto;
|
|
|
|
return dto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|