mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-24 23:06:13 +03:00
[GH-ISSUE #1] Fail to upload songs #1
Labels
No labels
a/b
bug
documentation
enhancement
good first issue
help wanted
invalid
pull-request
question
wontfix
yt-error
yt-update
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ytmusicapi#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ccyang2019 on GitHub (Apr 3, 2020).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/1
I tried to use this API to upload songs to youtube music. But always fail to do that.
I got return status "STATUS_SUCCEEDED", but I fail to see my uploaded song in youtube music.
I tried to do some fail experiments and the return status is always "STATUS_SUCCEEDED"
@sigma67 commented on GitHub (Apr 3, 2020):
Hey, please make sure you're using the latest version 0.5.1. There was a bug with uploads in 0.5. In particular, there is now an authentication check when providing auth headers, which should have triggered on the first of your fail tests.
I tested the code you posted and it worked fine for me, so there is no issue with it. There is also a processing delay, so your song should first show up as "processing" in the songs section of your library.
As for mp4 files and same songs, the library currently does not check this. Duplicates can be uploaded without issues. So make sure your file is correct.
@ccyang2019 commented on GitHub (Apr 3, 2020):
yes. thanks for your comment.

It should be working now. Change another account with less uploaded songs to debug this issue. I can see my uploaded mp3 songs now. It takes several minutes to process my uploaded songs.
But I still have following issues under debugging:
only mp3 song works. my ".m4a", and ".flac" songs uploaded and show processing, then after several minutes no showed in the uploaded list.

As attached, the 2 song processing in above picture, which are not showed in the uploaded list after several minutes.
duplicated songs not detected like web upload flow.
mp3 tag like "album", "title" are lost after uploaded. it's ok by web upload .

@sigma67 commented on GitHub (Apr 4, 2020):
Hey, thanks for bringing up these issues. They are valid.
Let me know if you've done any additional experiments or reverse engineered something successfully.
@sigma67 commented on GitHub (Apr 12, 2020):
Hey, just letting you know that I've found the problem. Files should now be uploaded correctly. All three issues should be fixed in the latest version v0.5.2
@ccyang2019 commented on GitHub (Apr 13, 2020):
Hi sigma67,
yes. my issue is solved in v.0.5.2. I can upload my *.flac files successfully now.
thank you !