mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-25 23:36:00 +03:00
[GH-ISSUE #79] reusing ytmusic after uploads - Unknown Error #59
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#59
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 @tonyhallett on GitHub (Sep 15, 2020).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/79
The code below does not throw an error but does if the same instance is used.
Uploading all tracks in a folder, then getting their video ids ( using the difference from before ) and adding to existing playlist.
response object
@sigma67 commented on GitHub (Sep 15, 2020):
Ah yes, I believe this error is caused by assigning a reference to self.headers and then modifying it, instead of making a shallow copy. Good catch.
Can you change
github.com/sigma67/ytmusicapi@9bded79ea2/ytmusicapi/mixins/uploads.py (L223)in your local install to
and report back?
I believe that should fix it.