You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, to play a song (no matter what source) you need to add it to playlist one or the other way. I have only used Spotify (since I stopped using local music) with LMS and see my spotify API on how to add a song to a playlist.
Notice that even in LMS web GUI, when you hit play server clears the playlist and adds your selection to the playlist (or rather play queue). You can also add a song to the queue which will append song to current queue.
Nevertheless, when it comes to operation like play,stop,next,previous, LMS operations are based on the current playing queue, then you can use play functions to play specific index (simple offset in the queue).
Hope it helps.
BTW. Development effort slowed down a little, because I'm mainly focused on another project which is only using this module as a plugin, but I'm planning to release first fully usable version soon, hopefully this/next month.
Hey,
Having a play with your API wrapper.
Like everyone else i was hoping that the logitech media server would include some kind of restful API.
I'm planning on making some kind of nice front-end interface for it, that works on mobile.
So the closest i have got with your example code is this (which isn't very far)
which returns me an array of albums and songs.
Here is an example song :
I was hoping that i could just do:
But that does nothing... but is almost in tune with how their URLs work
have you found a way to communicate with it to do this ?
In the web interface you would put in a url like this to play songs ( as its doesnt seem to go through the json request to actually play)
or to just tell the players to start playing :
I notice in your squeezeplayer.js class that you touch on the "play" but go no further.
Alternatively I could use their telnet interface to communicate with it, but in my opinion slightly overkill.
Thanks
DJ
The text was updated successfully, but these errors were encountered: