This could be done using the LMS Announce plugin and some scripting.
e.g. 

Code:
--------------------
    
  ARTIST=$(echo "00%3A00%3A00%3A00%3A00%3A00 artist ?"|nc6 -q1 lmsserver 9090 
2>/dev/null|cut -d" " -f 3)
  TITLE=$(echo "00%3A00%3A00%3A00%3A00%3A00 title ?"|nc6 -q1 lmsserver 9090 
2>/dev/null|cut -d" " -f 3)
  wget 
"http://lmsserver:9000/plugins/LMSannounce/js.html?cmd=announceTTS&ttsprofile=espeak-en-m&text=playing%20$TITLE%20by%20$ARTIST&playerid=00%3A00%3A00%3A00%3A00%3A00";
  
--------------------

Reacting to playlist changes could be done using the approach
demonstrated in 'this script'
(https://forums.slimdevices.com/showthread.php?109694-piCorePlayer-with-cava-and-tmux-(so-far)&p=927626&viewfull=1#post927626)
Not sure if the latency would be low enough, if it is, one could even
mix the speech into the next track (e.g. using sox) and play it using
LMS Announce's announceFile function



SW: 'Web UI for LMS'
(http://forums.slimdevices.com/showthread.php?98186-Announce-Alternative-Web-Interface-(beta))
| 'Playlist Editor / Generator'
(http://forums.slimdevices.com/showthread.php?108199-Announce-LMS-Playlist-Editor)
| 'Music Classification'
(http://forums.slimdevices.com/showthread.php?108278-Announce-Essentia-Integration-music-classification-(moods-genres-))
| 'Similar Music'
(http://forums.slimdevices.com/showthread.php?108495-Announce-LMSmusly-play-similar-music)
| 'LMSlib2go' (https://www.nexus0.net/pub/sw/lmslib2go/)
HowTos: 'build a self-contained LMS'
(http://forums.slimdevices.com/showthread.php?99648-Howto-build-a-self-contained-LMS)
| 'Ogg Opus'
(http://forums.slimdevices.com/showthread.php?107011-Howto-play-Ogg-Opus-files)
| 'Bluetooth/ALSA'
(http://forums.slimdevices.com/showthread.php?107230-Howto-Bluetooth-streaming-to-from-LMS-(ALSA-only-no-PulseAudio))
------------------------------------------------------------------------
Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=109776

_______________________________________________
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss

Reply via email to