private void getFileInfo(Uri uri) { string path = uri.ToString(); MP3Info info = MP3Helper.ReadMP3Info(path); this.currmusic = info; }
private void extract_Front_Page(string path) { //提取封面 byte[] res = MP3Helper.extractFrontPage(path); if (res != null) { //有封面 } BitmapSource source = MP3Helper.LoadImage(res); this.image.Source = source; }