mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-26 07:46:00 +03:00
[GH-ISSUE #192] Add_playlist_items() results in TypeError #148
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#148
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 @mrlopezco on GitHub (Apr 20, 2021).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/192
Hey guys,
noobie here on my second month learning python and first time creating an issue on GitHub...
Somehow I get this error when trying to add items to a playlist:
TypeError: add_playlist_items() missing 1 required positional argument: 'videoIds'My highly complicated code:
The auth works fine as I was able to create a playlist with code.
Thanks!
@sigma67 commented on GitHub (Apr 20, 2021):
Did you create an instance of YTMusic()?
https://ytmusicapi.readthedocs.io/en/latest/usage.html
@mrlopezco commented on GitHub (Apr 20, 2021):
@sigma67 Yes, I have the json authentification all set and working as I was able to create a playlist in my YouTube music account.
@sigma67 commented on GitHub (Apr 20, 2021):
Then your code should work as you posted it above.
Please continue this discussion on gitter as it's clearly not an issue with the API:
https://gitter.im/sigma67/ytmusicapi