mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 00:25:54 +03:00
[GH-ISSUE #35] Can I play songs from python? #17
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#17
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 @fraregom on GitHub (Nov 17, 2014).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/35
Hello Spotipy's people i have an question, i can play music from a python app using your libraries?
@thelinmichael commented on GitHub (Nov 18, 2014):
Spotify's Web API only supports 30 second clips, which you can retrieve using the Get Track endpoint. You can do playback of the full track using the mobile SDKs though.
@jodal commented on GitHub (Nov 18, 2014):
You can play music from a Python app using pyspotify which is a Python wrapper around the old libspotify library from Spotify.
Disclaimer: I'm the author.
@fraregom commented on GitHub (Nov 26, 2014):
Thank you, jodal !
@ffries commented on GitHub (Feb 12, 2017):
Thanks, but pyspotify is using a deprecated API.
The idea with new API would be to lauch a Spotify player somewhere (i.e. an Android connected to a HIFI) and use Spotipy as a remote control using playlist.
Machine A is running Spotipy in authenticated mode.
Machine B is running Spotify premium.
If I add a song in the playlist on A, will it play on B?
@FiletZitas commented on GitHub (May 7, 2017):
Hi kellogsgit,
Did you manage to solve your problem? Would be great if someone could share a solution.
Thanks.
@ritiek commented on GitHub (Jun 6, 2017):
It is possible to play music from 3rd parties like YouTube using python.
For free accounts, one way I can think of is using spotipy wrapper to get the name of the song by its spotipy http link. Then play that song by looking up on YouTube programatically. I think I'll spend some time building something like this really soon and later maybe merge it with mps-youtube?
UPDATE: mps-youtube can now match Spotify tracks on YouTube and play them (mps-youtube/mps-youtube#678).
@stephanebruckert commented on GitHub (Jan 11, 2020):
Looks like you could do that using preview mp3s (30 seconds) https://github.com/plamere/spotipy/issues/165