Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]youtube歌曲上传云盘失败 #54

Open
huoshenw opened this issue Oct 4, 2022 · 2 comments
Open

[BUG]youtube歌曲上传云盘失败 #54

huoshenw opened this issue Oct 4, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@huoshenw
Copy link

huoshenw commented Oct 4, 2022

请至少提供以下信息,帮助排查问题

  1. 后端日志
    stdout: ℹ songFromWyCloud: [1mnull[22m
    stdout: ℹ fetchWithUrl params: {"0":"https://www.youtube.com/watch?v=9tkMb958Ae8","1":{"songName":"李志【忽然】(2012跨年版)“108個關鍵詞”跨年現場","addMediaTag":true}}
    stdout: ℹ start parse and download from https://www.youtube.com/watch?v=9tkMb958Ae8
    stdout: ℹ /app/backend/src/service/media_fetcher/../../../bin/media-get -u "https://www.youtube.com/watch?v=9tkMb958Ae8" --out /tmp/melody-tmp-songs/e3094e893a711265156c5988ee0448db/李志【忽然】(2012跨年版)“108個關鍵詞”跨年現場.mp3 -t audio --addMediaTag
    stdout: /app/backend/src/service/media_fetcher/../../../bin/media-get [
    stdout: '-u',
    stdout: '"https://www.youtube.com/watch?v=9tkMb958Ae8"',
    stdout: '--out',
    stdout: '/tmp/melody-tmp-songs/e3094e893a711265156c5988ee0448db/李志【忽然】(2012跨年版)“108個關鍵詞”跨年現場.mp3',
    stdout: '-t',
    stdout: 'audio',
    stdout: '--addMediaTag'
    stdout: ]
    stdout: ℹ -------
    stdout: ℹ [33m2[39m
    stdout: ℹ panic: Get "": unsupported protocol scheme ""
    stdout:
    stdout: goroutine 1 [running]:
    stdout: main.main()
    stdout: ./main.go:24 +0xb4
    stdout:

复现步骤

在docker的tmp文件夹下看到相关歌曲的命名为李志【忽然】(2012跨年版)“108個關鍵詞”跨年現場-mp3而不是.mp3是否就是上传失败的原因

@huoshenw
Copy link
Author

huoshenw commented Oct 4, 2022

好像是所有的youtube歌曲都上传失败

@foamzou
Copy link
Owner

foamzou commented Oct 14, 2022

刚看了下,有些 youtube 的视频数据格式不一样,例如这个。有时间我看看怎么兼容下

@foamzou foamzou added the bug Something isn't working label Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants