Giter Site home page Giter Site logo

music-downloader-ui's Introduction

Music-Downloader-UI

WPF+C# 编写的音乐下载器

二次开发注意事项

本项目所需接口需要自行搭建,具体信息参考下文 "使用的开源项目"
接口链接添加在 MusicDownloader.Library.Musicapi1api2

功能

  • 搜索
  • 歌单解析
  • 专辑解析
  • 排行榜解析
  • 歌曲、歌词、专辑图片、MV下载

环境

.NET Framework 4.6.1 及以上

使用的开源项目

License

GPL-3.0

music-downloader-ui's People

Contributors

littlesun841 avatar tumuyan avatar

Stargazers

 avatar  avatar

Watchers

 avatar

music-downloader-ui's Issues

我分别搜索了4个歌手并下载全部歌曲,可能超过200甚至更多的首歌曲就报错闪退,以下是错误日志

--- 2021-01-13 09:02:05 ---
System.InvalidOperationException: 集合已修改;可能无法执行枚举操作。
在 System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
在 System.Collections.Generic.List1.Enumerator.MoveNextRare() 在 System.Collections.Generic.List1.Enumerator.MoveNext()
在 MusicDownloader.DownloadPage.UpdateList()
在 MusicDownloader.Library.Music.DownloadProgressUpdate(Object sender, DownloadProgressChangedEventArgs e)
在 System.Net.WebClient.OnDownloadProgressChanged(DownloadProgressChangedEventArgs e)
在 System.Net.WebClient.ReportDownloadProgressChanged(Object arg)
在 System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
在 System.Threading.ThreadPoolWorkQueue.Dispatch()
在 System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
--- 2021-01-13 09:02:06 ---
System.InvalidOperationException: 集合已修改;可能无法执行枚举操作。
在 System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
在 System.Collections.Generic.List1.Enumerator.MoveNextRare() 在 System.Collections.Generic.List1.Enumerator.MoveNext()
在 MusicDownloader.DownloadPage.UpdateList()
在 MusicDownloader.Library.Music.DownloadProgressUpdate(Object sender, DownloadProgressChangedEventArgs e)
在 System.Net.WebClient.OnDownloadProgressChanged(DownloadProgressChangedEventArgs e)
在 System.Net.WebClient.ReportDownloadProgressChanged(Object arg)
在 System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
在 System.Threading.ThreadPoolWorkQueue.Dispatch()
在 System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

音源2解析播放闪退,下载无版权

音源1正常播放,除了平台的确没有版权都能正常下载。
音源2歌名搜索结果正常,歌单解析正常,但是播放直接闪退,下载显示无版权,更改下载品质依然无效。
软件版本:1.5.1.0
设置截图:
image

输入内容后回车载入音乐列表

我习惯输入内容后,按回车完成操作。
在这个软件的搜索框中,这样的功能是正常的。但是当输入歌单或者专辑时,按回车没有反应,必须点输入框边上的按钮。
我测试了一下,取消这段函数的注释后,就能够按回车时载入歌单。但是为什么原先把这里注释掉了?

https://github.com/NiTian1207/Music-Downloader-UI/blob/7b6b49f1ccea4f3f4d701db3c2acd8d18dd464aa/Music-Downloader-UI/Pages/SearchPage.xaml.cs#L290

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.