Git Product home page Git Product logo

Comments (7)

thelinmichael avatar thelinmichael commented on August 11, 2024

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.

from spotipy.

jodal avatar jodal commented on August 11, 2024

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.

from spotipy.

fraregom avatar fraregom commented on August 11, 2024

Thank you, jodal !

from spotipy.

ffries avatar ffries commented on August 11, 2024

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?

from spotipy.

FiletZitas avatar FiletZitas commented on August 11, 2024

Hi kellogsgit,

Did you manage to solve your problem? Would be great if someone could share a solution.
Thanks.

from spotipy.

ritiek avatar ritiek commented on August 11, 2024

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/yewtube#678).

from spotipy.

stephanebruckert avatar stephanebruckert commented on August 11, 2024

Looks like you could do that using preview mp3s (30 seconds) #165

from spotipy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.