mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-25 15:26:01 +03:00
[GH-ISSUE #204] AttributeError: 'int' object has no attribute 'startswith' #158
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#158
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 @LittleBigOwI on GitHub (Jun 1, 2021).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/204
I execute this :
and get this :
idk what's wrong, any help pls?
@sigma67 commented on GitHub (Jun 2, 2021):
Are you sure that's what you executed? The error says you passed an int as first parameter (playlistId). You can try specifying parameters manually like this to be absolutely sure, although it shouldn't be needed:
The playlist works fine for me.
@LittleBigOwI commented on GitHub (Jun 2, 2021):
This (for me) results in :
Again, i know what's wrong but idk how to fix it. sorry for the trouble.
@sigma67 commented on GitHub (Jun 2, 2021):
Oh. Please read the docs. You need to create a class instance first.
https://ytmusicapi.readthedocs.io/en/latest/usage.html
@LittleBigOwI commented on GitHub (Jun 2, 2021):
This worked perfectly Thanks !