public MatchSong(NeteaseDetailSong neteaseSong) { Id = neteaseSong.Id.ToString(); Title = neteaseSong.Name; Artist = neteaseSong.Artists.FirstOrDefault().Name; AudioUrl = neteaseSong.Mp3Url; Duration = TimeSpan.FromMilliseconds(neteaseSong.Duration); BitRate = neteaseSong.BMusic.Bitrate; ByteSize = neteaseSong.BMusic.Size; }
public WebSong(NeteaseDetailSong neteaseSong) { Id = neteaseSong.Id.ToString(); Name = neteaseSong.Name; Artist = neteaseSong.Artists.FirstOrDefault().Name; AudioUrl = neteaseSong.Mp3Url; Provider = Mp3Provider.Netease; Duration = TimeSpan.FromMilliseconds(neteaseSong.Duration); ProviderNumber = 12; //BitRate = neteaseSong.BMusic.Bitrate; //ByteSize = neteaseSong.BMusic.Size; }