| | |
| | | static readonly string a31MusiceModeListFilePath = "A31MusiceModeListFilePath"; |
| | | static A31MusicModel() |
| | | { |
| | | Refresh(); |
| | | //Refresh(); |
| | | } |
| | | |
| | | |
| | |
| | | |
| | | /// <summary> |
| | | /// 上一次更新的时间 |
| | | /// 记录数据反馈的时间(因为有时间网络差数据不回复,导致刷新当前播放音乐时间不正确) |
| | | /// 记录数据反馈的时间(因为有时候网络差数据不回复,导致刷新当前播放音乐时间不正确) |
| | | /// ((当前时间)DateTime.Now - (记录时间)LastDateTimeLastDateTime).TotalSeconds=误差时间(秒) |
| | | /// </summary> |
| | | public DateTime LastDateTime; |
| | | |
| | | /// <summary> |
| | | /// 记录滑动音量条时间<用来处理音量跳动> |
| | | /// </summary> |
| | | public static DateTime ProgressDateTime = DateTime.MinValue; |
| | | /// <summary> |
| | | /// 音乐播放器ID |
| | | /// </summary> |
| | | public string UniqueDeviceName = string.Empty; |
| | | |
| | | |
| | | |
| | | public MusicInfo CurrentMusic = new MusicInfo(); |
| | | |
| | |
| | | public bool IsCanShow = true; |
| | | |
| | | /// <summary> |
| | | /// 是否在线,如果在线就允许读取信息 |
| | | /// </summary> |
| | | public bool IsOnLine = true; |
| | | |
| | | |
| | | /// <summary> |
| | | /// 列表 |
| | | /// </summary> |
| | | public List<PalyList> palyLists = new List<PalyList>(); |
| | |
| | | /// 喜爱音乐列表 |
| | | /// </summary> |
| | | public List<Songs> LoveMusicInfoList = new List<Songs>(); |
| | | |
| | | /// <summary> |
| | | /// DLNA所有列表 |
| | | /// </summary> |
| | | public List<Songs> dlnaMusicInfoLists = new List<Songs>(); |
| | | |
| | | /// <summary> |
| | | ///创建音乐文件列表 |
| | |
| | | } |
| | | return list.songs; |
| | | } |
| | | /// <summary> |
| | | /// 记录主播放器是否被收藏(秀桡定义的) |
| | | /// </summary> |
| | | public bool MainPlayCollection = false; |
| | | |
| | | |
| | | public Slaves Slave = new Slaves(); |
| | | /// <summary> |
| | | /// 记录时间 |
| | | /// </summary> |
| | | public static DateTime ProgressDateTime = DateTime.Now; |
| | | |
| | | |
| | | /// <summary> |
| | | /// 判断是否是json数据 |