mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 00:25:54 +03:00
[GH-ISSUE #345] Seach for track_ids and add to queue #200
Labels
No labels
api-bug
bug
dependencies
documentation
duplicate
enhancement
external-ide
headless-mode
implicit-grant-flow
invalid
missing-endpoint
pr-welcome
private-api
pull-request
question
spotipy3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotipy#200
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 @Alex301298 on GitHub (Jan 18, 2019).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/345
Hello dear spotipy-community,
Currently I´m working on a little skipt and i would like to add a track, wich I entered before, to my spotify queue (or spotifyplaylist).
My problem is that I don´t get the track_ids.
The input should be very easy, sth like this:
trackName = str(input("Song?")) artistName = str(input("Artist?"))For example:
Song? -> "Power"
Artist? -> "Hardwell"
=> Output track_ids
I tried to get a result with spotify.seach(), but what ever I wrote for "q", was wrong.
It works when I seach for an artist, but I dont get the track ids...
sp = spotipy.Spotify(client_credentials_manager=client_credentials_manager) sp.search()I hope someone can help me
Thx in advance
Alex
@stephanebruckert commented on GitHub (Jan 1, 2020):
You need to search for results with type "track" and use a custom query, see https://github.com/plamere/spotipy/issues/107#issuecomment-570078689