I would also love having a real Twitch plugin but unfortunately my pearl is way to bad to understand LMS integration and/or knit something like a plugin together on my own :rolleyes:.
But there are ways to achieve this, so I share my workaround on this: As a prerequisite you need BPA#s HLS plugin which is explained in detail 'here' (https://forums.slimdevices.com/showthread.php?103158-Announce-PlayHLS-Plugin-plugin-to-play-Apple-HLS-m3u8-stream) Instead of livestreamer I'd recommend the usage of youtube-dl binary which is easy to install and imho without dependencies to grab the audio URL. Install youtube-dl on the same box your LMS is running: Code: -------------------- wget -O - https://yt-dl.org/downloads/latest/youtube-dl | sudo tee /usr/local/bin/youtube-dl >/dev/null sudo chmod a+x /usr/local/bin/youtube-dl -------------------- Now you can run a one liner to play your stream by executing this command on the box your LMS is running on (please replace ZZZZZZ with your desired Twitch user, you want to listen to and those XX with the MAC-adress of your squeezebox player you want to listen the stream on): Code: -------------------- URL=$(/usr/local/bin/youtube-dl -f audio_only --get-url https://www.twitch.tv/ZZZZZZ | sed 's/.\{5\}$//') | curl -s "http://127.0.0.1:9000/status.html?p0=playlist&p1=play&&player=00:04:20:XX:XX:XX&p2="$URL"" -------------------- Hope this helps ------------------------------------------------------------------------ Rasputin_GY's Profile: http://forums.slimdevices.com/member.php?userid=68369 View this thread: http://forums.slimdevices.com/showthread.php?t=113995 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
