| | |
| | | topView.clickBackBtn.MouseUpEventHandler += (sender, e) => |
| | | { |
| | | |
| | | if (updateSelectedMusicThread != null || updateSelectedMusicThread.IsAlive) |
| | | if (updateSelectedMusicThread != null) |
| | | { |
| | | updateSelectedMusicThread.Abort(); |
| | | try |
| | | { |
| | | if (updateSelectedMusicThread.IsAlive) |
| | | { |
| | | updateSelectedMusicThread.Abort(); |
| | | ///关闭线程 |
| | | } |
| | | } |
| | | catch { } |
| | | } |
| | | this.RemoveFromParent(); |
| | | }; |
| | |
| | | |
| | | sb.AppendLine("<dc:title>" + tempMusicInfo.Title + "</dc:title>"); |
| | | sb.AppendLine("<dc:creator>DJ Sanny J</dc:creator>"); |
| | | sb.AppendLine("<upnp:artist>" + tempMusicInfo.Artist + "</upnp:artist>"); |
| | | sb.AppendLine("<upnp:artist>" + listName + "</upnp:artist>"); |
| | | sb.AppendLine("<upnp:album>" + tempMusicInfo.Album + "</upnp:album>"); |
| | | sb.AppendLine("<upnp:albumArtURI>unknown</upnp:albumArtURI>"); |
| | | sb.AppendLine("</item>"); |