03-11-2021, 05:59 PM
Hi
I use telnet with some usefull commands :
Note that commands are those listed in MPD doc not MPC, they are sometimes not the same that works with http://moode/command/?cmd=xxx
currentsong return name and also the ID
So, I can make several calls of 'playlistid x' with x = currentsong ID - 5 to currentsong ID + 5 to display a part of current playlist on a LCD screen
Indeed, ask Moode to give all playlist song give too much data, I have to get info song by song.
This allow me basic control of Moode audio, like a remote for Hifi CD player
But to change queue and load other songs or playlists, I have to go back to computer or smartphone interface.
I find there are some function that use 'URI' (as listfiles {URI}) but I don't know how to write correct URI for files located in USB stick
Regards,
I use telnet with some usefull commands :
Code:
telnet
open moode 6600
setvol x // set volume to x% 0 to 100
next
previous
stop
pause
play
play x // play song with 'x' ID
currentsong // get info and also ID
playlistid x // get info about 'x' ID song
Note that commands are those listed in MPD doc not MPC, they are sometimes not the same that works with http://moode/command/?cmd=xxx
currentsong return name and also the ID
So, I can make several calls of 'playlistid x' with x = currentsong ID - 5 to currentsong ID + 5 to display a part of current playlist on a LCD screen
Indeed, ask Moode to give all playlist song give too much data, I have to get info song by song.
This allow me basic control of Moode audio, like a remote for Hifi CD player
But to change queue and load other songs or playlists, I have to go back to computer or smartphone interface.
I find there are some function that use 'URI' (as listfiles {URI}) but I don't know how to write correct URI for files located in USB stick
Regards,