mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-11 12:52:15 +01:00
Added AudioInfo to DTOBaseItem
This commit is contained in:
parent
d776238e6b
commit
da23355fcc
14
MediaBrowser.Model/DTO/AudioInfo.cs
Normal file
14
MediaBrowser.Model/DTO/AudioInfo.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
namespace MediaBrowser.Model.DTO
|
||||
{
|
||||
public class AudioInfo
|
||||
{
|
||||
public int BitRate { get; set; }
|
||||
public int Channels { get; set; }
|
||||
|
||||
public string Artist { get; set; }
|
||||
public string Album { get; set; }
|
||||
public string AlbumArtist { get; set; }
|
||||
public string Composer { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -90,6 +90,8 @@ namespace MediaBrowser.Model.DTO
|
||||
|
||||
public ItemSpecialCounts SpecialCounts { get; set; }
|
||||
|
||||
public AudioInfo AudioInfo { get; set; }
|
||||
|
||||
public bool IsType(Type type)
|
||||
{
|
||||
return IsType(type.Name);
|
||||
|
||||
Reference in New Issue
Block a user