[PROBLEM] Playing a Playlist from Spotify without a External PC/Head needed. - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7) +--- Thread: [PROBLEM] Playing a Playlist from Spotify without a External PC/Head needed. (/showthread.php?tid=7135) Pages:
1
2
|
Playing a Playlist from Spotify without a External PC/Head needed. - TheCustomFHD - 11-26-2024 Hello Forum! I've got a little question regarding playing Music from a Spotify Playlist. I know of the Spotify Connect Option, to essentially turn the MoOdeAudioPlayer into a "Spotify-Only" "UPnP Player", however it seems that this is only possible if there is a Device running Spotify, and is on the same Network, or the Network can somehow Route the two devices together as if it was a singular Network. As far as i understand, MoOdeAudio is using librespot to appear as a Spotify Client, and according to librespot, librespot should also be able to Login to Spotify on its own, and start playing a Song/Playlist directly from Spotify, without a Device needing to tell it to do so. My Question is, is there a way to Link a Spotify Account into a Player, or to fetch Music from a Spotify Playlist, that is semi-integrated into MoodeAudio? I am willing to use the Terminal, and i do know my way around it relatively well. My only real requirement for "integrated" is that itll start playing the last selected Playlist automatically (and also know about newly added or removed songs in that playlist) once everything is booted up and ready. Thanks in advance! RE: Playing a Playlist from Spotify without a External PC/Head needed. - Nutul - 11-26-2024 (11-26-2024, 06:19 PM)TheCustomFHD Wrote: librespot should also be able to Login to Spotify on its own, and start playing a Song/Playlist directly from Spotify, without a Device needing to tell it to do so.Actually, your phone, when you select moOde as the spotify endpoint, IS telling librespot WHAT to play. Your phone, then, is not part of the equation any more; as librespot will get the stream from Spotify. RE: Playing a Playlist from Spotify without a External PC/Head needed. - Tim Curtis - 11-26-2024 (11-26-2024, 06:19 PM)TheCustomFHD Wrote: Hello Forum! Where dd you get this information? "and according to librespot, librespot should also be able to Login to Spotify on its own, and start playing a Song/Playlist directly from Spotify, without a Device needing to tell it to do so." RE: Playing a Playlist from Spotify without a External PC/Head needed. - TheCustomFHD - 11-27-2024 (11-26-2024, 07:34 PM)Tim Curtis Wrote:On its github page:(11-26-2024, 06:19 PM)TheCustomFHD Wrote: Hello Forum! https://github.com/librespot-org/librespot "librespot is an open source client for Spotify. It enables applications to use Spotify's service to control and play music via various backends, and to act as a Spotify Connect reciever." This wording sounds as if one can use librespot to start streaming music from the Terminal or even theoretically from within MoOdeAudio, and not just use it as a Spotify Connect Reciever. Optimally, it would be possible to Login to Spotify within MoOdeAudio, and then select a Spotify Playlist, which then should be played. RE: Playing a Playlist from Spotify without a External PC/Head needed. - TheCustomFHD - 11-27-2024 (11-26-2024, 06:57 PM)Nutul Wrote:Thats cool to know, that its only once needed to start the Playback. However, i assume after a reboot, you would need to start playback again? Id like to avoid that.(11-26-2024, 06:19 PM)TheCustomFHD Wrote: librespot should also be able to Login to Spotify on its own, and start playing a Song/Playlist directly from Spotify, without a Device needing to tell it to do so.Actually, your phone, when you select moOde as the spotify endpoint, IS telling librespot WHAT to play. RE: Playing a Playlist from Spotify without a External PC/Head needed. - TheCustomFHD - 11-27-2024 Another thing ive noticed, Spotify-TUI uses spotifyd, which uses librespot.. So that should prove that this should be possible, and already is mostly done, no? I might be missing or missunderstanding something, if so, please do tell me. Thank you! RE: Playing a Playlist from Spotify without a External PC/Head needed. - Nutul - 11-27-2024 (11-27-2024, 10:11 AM)TheCustomFHD Wrote: I might be missing or missunderstanding something Indeed, you are. Since Spotify is available on a myriad of devices (your phone included) there is no need to reinvent hot water... Just play on your phone/tablet/computer/smart tv, transfer to moOde within a couple of seconds, and voilà. About the playback resume after a reboot... do you reboot in the middle of an audio session...? Anyway, I do not think this is possible/available; may others jump in an elaborate. RE: Playing a Playlist from Spotify without a External PC/Head needed. - abrakadabra2k - 11-27-2024 Of course you could Just Uwe the Spotify web Apis... You will find Guides via Google. This is the official documentation as a starting Point: https://developer.spotify.com/documentation/web-api/reference/start-a-users-playback I think you should be able to connect to your moode and start a Playlist via this way. Or you use Something Like node Red, who hast Most Apis already available (but you get Lots of Overhead that you do Not need). See https://nerdiy.de/en/howto-nodered-control-spotify-from-nodered/ RE: Playing a Playlist from Spotify without a External PC/Head needed. - TheCustomFHD - 12-03-2024 (11-27-2024, 08:22 PM)Nutul Wrote:(11-27-2024, 10:11 AM)TheCustomFHD Wrote: I might be missing or missunderstanding something This is not an option for me, due to the Player being completely headless. All it gotta do is start playing on power up, and start shuffling a playlist. The Audio Session is gonna be every Day, for about 16 hours, upon which itll shut down/get a power cut, and get powered in 8 hours again. I suppose its kinda like a shop-music system? Atleast thats the closest thing in functionality wise that i can imagine. RE: Playing a Playlist from Spotify without a External PC/Head needed. - TheCustomFHD - 12-03-2024 (11-27-2024, 11:28 PM)abrakadabra2k Wrote: Of course you could Just Uwe the Spotify web Apis... You will find Guides via Google. This seems promising, thank you for pointing me into this direction, ill take a look into it. |