Giter Club home page Giter Club logo

creamplayer's People

Contributors

beadd avatar cyh1998 avatar htname avatar la1den avatar moink14 avatar rain1201 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

creamplayer's Issues

MP3Tag 编辑功能

建议调用eyeD3模块 修改无元数据的mp3文件
利用meting api返回的pic id等参数获取歌曲封面,作者名称,专辑名等元数据

另:cookies如果是自己的账号,建议不要漏了

下载到某一首歌就卡住不动的情况。

有时下载的文件夹中会出现歌名之后有(1)的文件,当这个文件出现并且再次下载到这首歌的时候,程序无法检测已经下载过这首歌,并且会在此处卡住,无法继续运行。

重复下载里跳过已下载的文件

感谢作者!
在使用的过程发现,程序在下载时有时会闪退,再次下载时不会跳过已下载的文件,期待加入跳过已下载文件。

歌曲下载不完整及功能建议

1.出现大量短时间的歌曲,1分钟以内(貌似是vip?),建议增加过滤此类歌曲功能。
2.音乐与歌词文件数量不一致,可能有部分纯音乐无歌词文件?建议手动删除音乐文件后,执行命令能同时删除对应歌词文件。
3.建议增加导出未下载成功、跳过、过滤部分歌曲名单txt文件。

请教一下,有使用指南么?

无意中搜索找到的,看上去好像是下载网易云和QQ音乐的工具,可是看了半天,不知道如何使用。
我下载了EyeD3Music,打开界面,好像是需要填写API服务器地址?例如 http://api.injahow.cn/meting/
如果不是 Netease or QQ vip, 是不是vip歌曲下载不了?如果需要下载,则需要自己搭建API服务器,填写vip cookie什么的?

之前还能用的,今天突然报错

1 Traceback (most recent call last):
  File "D:\mp3\new\musicdownloader_py\musicdownloader.py", line 891, in <module>
    main()
  File "D:\mp3\new\musicdownloader_py\musicdownloader.py", line 882, in main
    if args.args_url is None: pure_main()
  File "D:\mp3\new\musicdownloader_py\musicdownloader.py", line 865, in pure_mai
n
    while True: start_function()
  File "D:\mp3\new\musicdownloader_py\musicdownloader.py", line 818, in start_fu
nction
    mode_music(api_path, g_header, g_proxies, g_header163)
  File "D:\mp3\new\musicdownloader_py\musicdownloader.py", line 666, in mode_mus
ic
    music_path = json_download_music(data, headers, proxies)
  File "D:\mp3\new\musicdownloader_py\musicdownloader.py", line 225, in json_dow
nload_music
    name = json_get_music_name(data)
  File "D:\mp3\new\musicdownloader_py\musicdownloader.py", line 100, in json_get
_music_name
    name = data['name']
TypeError: string indices must be integers

咋回事啊

自建API,有cookie,win能使用,macOS蒙特雷个别歌曲保存不了

请输入歌曲或歌单或歌手或专辑链接:https://music.163.com/song?id=515796411
1 金玟岐 - 手机
Traceback (most recent call last):
File "/Users/xbc/Documents/musicdownloader/musicdownloader.py", line 891, in
main()
File "/Users/xbc/Documents/musicdownloader/musicdownloader.py", line 882, in main
if args.args_url is None: pure_main()
File "/Users/xbc/Documents/musicdownloader/musicdownloader.py", line 865, in pure_main
while True: start_function()
File "/Users/xbc/Documents/musicdownloader/musicdownloader.py", line 813, in start_function
mode_music(api_path, g_header, g_proxies, g_header163)
File "/Users/xbc/Documents/musicdownloader/musicdownloader.py", line 666, in mode_music
music_path = json_download_music(data, headers, proxies)
File "/Users/xbc/Documents/musicdownloader/musicdownloader.py", line 245, in json_download_music
with open(music_path, "wb") as code:
FileNotFoundError: [Errno 2] No such file or directory: 'MusicB/金玟岐 - 手机.net/20230715160620/70bf5015034f9363dfa9f5137cc19df6/ymusic/TDQrAj_iWFpRpdWfuAJIuA==/509951162896830193'

有些歌曲能保存,有些保存不了。https://music.163.com/song?id=1315568574 比如这首歌就能保存。win10系统下用打包好的exe没这个问题。

系统:X86平台 macOS 蒙特雷

song name too long

OSError: [Errno 36] File name too long: version:1.9.2

by the way,v1.9.3 often breakdown.
'AttributeError: 'Tag' object has no attribute 'copyright'. Did you mean: 'copyright_url'?'

感谢你的开源项目,真实帮了大忙。

运行musicdownloader.py报错:OSError: [WinError 6] 句柄无效。

运行musicdownloader.py报错:

E:\code\github\other\MusicDownloader\venv\Scripts\python.exe E:\code\github\other\MusicDownloader\musicdownloader.py 
Traceback (most recent call last):
  File "E:\code\github\other\MusicDownloader\musicdownloader.py", line 57, in <module>
    g_width = os.get_terminal_size().columns # 为了打印一整行的分隔符
OSError: [WinError 6] 句柄无效进程已结束,退出代码1

解决办法:

try:
    g_width = os.get_terminal_size().columns
except OSError:
    g_width = 80  # 设置一个默认值,以避免在 Windows 中出现错误

image

只能下载前16首

你好大佬,感谢制作软件。
刚才先使用exe的软件,下载中程序停止运行,打开log文件只有前面音乐下载成功的信息,然后下载了.py文件运行。
歌单链接
.exe和.py文件都只能下载前16首,.py报错信息为:
17 Born a Stranger(slow)Traceback (most recent call last):
File "E:\xxx\MusicDownloader.py", line 291, in <module>
if Music() == 0:
File "E:\xxx\MusicDownloader.py", line 104, in Music
plog(str(num) + ' ' + data['name'],str(num) + ' ' + data['name'])
File "E:\xxx\MusicDownloader.py", line 53, in plog
log.write(loginfo+"\n")
UnicodeEncodeError: 'gbk' codec can't encode character '\xa0' in position 7: illegal multibyte sequence

Originally posted by @jyldcr in #7 (comment)

请教一下

为什么提交pr后,我不在README.md的贡献者列表中?
是我提交pr的方式不对吗?
还是contrib.rocks的问题?

failed to download sometimes in QQ music playlist download

When downloading 神のまにまに in a playlist :

--------------------------------------------------
13 神のまにまに  4042699字节
Traceback (most recent call last):
  File "MusicDownloader.py", line 291, in <module>
    if Music() == 0:
  File "MusicDownloader.py", line 152, in Music
    audiofile.tag.images.set(3, audio_Image.content, "image/jpeg")
  File "eyed3\utils\__init__.py", line 143, in wrapped_fn
  File "eyed3\id3\tag.py", line 1593, in set
ValueError: img_url MUST not be none when no image data
[17956] Failed to execute script 'MusicDownloader' due to unhandled exception!
  已内嵌名称  已内嵌歌手
[已退出进程,代码为 1 (0x00000001)]

Downloading 花降らし :

28 花降らし  4719789字节
Traceback (most recent call last):
  File "MusicDownloader.py", line 291, in <module>
    if Music() == 0:
  File "MusicDownloader.py", line 152, in Music
    audiofile.tag.images.set(3, audio_Image.content, "image/jpeg")
  File "eyed3\utils\__init__.py", line 143, in wrapped_fn
  File "eyed3\id3\tag.py", line 1593, in set
ValueError: img_url MUST not be none when no image data
[5604] Failed to execute script 'MusicDownloader' due to unhandled exception!
  已内嵌名称  已内嵌歌手
[已退出进程,代码为 1 (0x00000001)]

It is worth noting that, the problem doesn't happen to any specific songs or playlists.
Also it connot download QQ music vip songs at the moment

[Bug] 在ArchLinux下编译错误

如题。

环境

OS:EndeavourOS
内核:6.1.39-2-lts
DE:Cinnamon
NodeJs:18.17.0
npm:9.6.7

npm install

$ npm install
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@achrinza/[email protected]',
npm WARN EBADENGINE   required: { node: '8 || 10 || 12 || 14 || 16 || 17' },
npm WARN EBADENGINE   current: { node: 'v18.17.0', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated [email protected]: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: Please upgrade to consolidate v1.0.0+ as it has been modernized with several long-awaited fixes implemented. Maintenance is supported by Forward Email at https://forwardemail.net ; follow/watch https://github.com/ladjs/consolidate for updates and release changelog
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated [email protected]: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated [email protected]: Please use @electron/asar moving forward.  There is no API change, just a package name change
npm WARN deprecated @hapi/[email protected]: Moved to 'npm install @sideway/address'
npm WARN deprecated [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: Please use @electron/osx-sign moving forward. Be aware the API is slightly different
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/[email protected]: Switch to 'npm install joi'

> [email protected] postinstall
> electron-builder install-app-deps

  • electron-builder  version=22.14.13

added 1589 packages in 13s

2 packages are looking for funding
  run `npm fund` for details

npm run build

$ npm run build

> [email protected] build
> vue-cli-service build

All browser targets in the browserslist configuration have supported ES module.
Therefore we don't build two separate bundles for differential loading.


 ERROR  Error: Cannot find module 'webpack/lib/rules/BasicEffectRulePlugin'
        Require stack:
        - /home/zxp-endeavouros/.cache/paru/clone/tmp/Creamplayer-4.0.0/node_modules/vue-loader/dist/pluginWebpack5.js
        - /home/zxp-endeavouros/.cache/paru/clone/tmp/Creamplayer-4.0.0/node_modules/vue-loader/dist/plugin.js
        - /home/zxp-endeavouros/.cache/paru/clone/tmp/Creamplayer-4.0.0/node_modules/vue-loader/dist/index.js
        - /home/zxp-endeavouros/.cache/paru/clone/tmp/Creamplayer-4.0.0/node_modules/@vue/cli-service/lib/config/base.js
        - /home/zxp-endeavouros/.cache/paru/clone/tmp/Creamplayer-4.0.0/node_modules/@vue/cli-service/lib/Service.js
        - /home/zxp-endeavouros/.cache/paru/clone/tmp/Creamplayer-4.0.0/node_modules/@vue/cli-service/bin/vue-cli-service.js
Error: Cannot find module 'webpack/lib/rules/BasicEffectRulePlugin'
Require stack:
- /home/zxp-endeavouros/.cache/paru/clone/tmp/Creamplayer-4.0.0/node_modules/vue-loader/dist/pluginWebpack5.js
- /home/zxp-endeavouros/.cache/paru/clone/tmp/Creamplayer-4.0.0/node_modules/vue-loader/dist/plugin.js
- /home/zxp-endeavouros/.cache/paru/clone/tmp/Creamplayer-4.0.0/node_modules/vue-loader/dist/index.js
- /home/zxp-endeavouros/.cache/paru/clone/tmp/Creamplayer-4.0.0/node_modules/@vue/cli-service/lib/config/base.js
- /home/zxp-endeavouros/.cache/paru/clone/tmp/Creamplayer-4.0.0/node_modules/@vue/cli-service/lib/Service.js
- /home/zxp-endeavouros/.cache/paru/clone/tmp/Creamplayer-4.0.0/node_modules/@vue/cli-service/bin/vue-cli-service.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
    at Module._load (node:internal/modules/cjs/loader:922:27)
    at Module.require (node:internal/modules/cjs/loader:1143:19)
    at require (node:internal/modules/cjs/helpers:110:18)
    at Object.<anonymous> (/home/zxp-endeavouros/.cache/paru/clone/tmp/Creamplayer-4.0.0/node_modules/vue-loader/dist/pluginWebpack5.js:30:31)
    at Module._compile (node:internal/modules/cjs/loader:1256:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
    at Module.load (node:internal/modules/cjs/loader:1119:32)
    at Module._load (node:internal/modules/cjs/loader:960:12)
    at Module.require (node:internal/modules/cjs/loader:1143:19)

npm run electron:build

$ npm run electron:build

> [email protected] electron:build
> vue-cli-service electron:build

 INFO  Bundling render process:
All browser targets in the browserslist configuration have supported ES module.
Therefore we don't build two separate bundles for differential loading.


 ERROR  Vue CLI build failed. Please resolve any issues with your build and try again.

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.