Paul Webster wrote: > Also - it looks like LMS takes a limited set of data from the EXTINF > field > One of > secs,title - artist - album > secs,title > title > > > Code: -------------------- > > > if ($entry =~ /^#EXTINF\:(.*?),<(.*?)> - <(.*?)> - <(.*?)>/) { > > $secs = $1; > $artist = $2; > $album = $3; > $title = $4; > > main::DEBUGLOG && $log->debug(" found secs: $secs, title: $title, artist: $artist, album: $album"); > > } > elsif ($entry =~ /^#EXTINF:(.*?),(.*)$/) { > > $secs = $1; > $title = $2; > > main::DEBUGLOG && $log->debug(" found secs: $secs, title: $title"); > } > elsif ( $entry =~ /^#EXTINF:(.*?)$/ ) { > $title = $1; > > main::DEBUGLOG && $log->debug(" found title: $title"); > } > > elsif ( $entry =~ /^#EXTURL:(.*?)$/ ) { > $trackurl = $1; > > main::DEBUGLOG && $log->debug(" found trackurl: $trackurl"); > } > -------------------- > >
Thanks for that. I used #EXTINF:seconds,title and it seemed not to work. I will dig deeper into this. The code snippets are helping! -- LMS auf einem QNAP TS-653B in einem Debian Docker-Container Versionsnummer: Logitech Media Server Version: 7.9.2 - 1571226194 @ Wed Oct 16 14:20:53 CEST 2019 Player: 1x SB Touch, 5x SB Radio, 1x SB Duet. ------------------------------------------------------------------------ bigcookie's Profile: http://forums.slimdevices.com/member.php?userid=63397 View this thread: http://forums.slimdevices.com/showthread.php?t=111146 _______________________________________________ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter