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");
}
--------------------
Paul Webster
http://dabdig.blogspot.com
Author Radio France (FIP etc) plugin
------------------------------------------------------------------------
Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=111146
_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter