Hi,
i use the Sugarcube Plugin and i don't want sugarcube to add tracks if
i play a dynamic playlist. I thought this was working in the past. If i
remember correctly, this part in SugarCube was responsible. However, if
i play right now a dynamic Playlist, this part of Sugarcube delivers an
empty string as $playlist when i play a dynamic playlist. Was there a
change in the dynamiv playlist Plugin or in SbS. any hint, how i can
identify a dynamic playlist?
Thanks and a happy new year,
Alex
Code:
--------------------
my $playlist = undef;
if(UNIVERSAL::can("Plugins::DynamicPlayList::Plugin","getCurrentPlayList")) {
no strict 'refs';
$playlist = eval {
&{"Plugins::DynamicPlayList::Plugin::getCurrentPlayList"}($client) };
if ($@) {
$log->error("Error calling DynamicPlaylist plugin: $...@\n");
}
use strict 'refs';
}
$log->debug("Playlist: $playlist\n");
if (! $playlist == "" ){
return;}
--------------------
--
mr_hyde
2 x Squeezebox 3 - SSOTS 4.9.1 - Squeezecenter 7.5.1 - QNAP TS439 Pro
(3.4.0 0910) - 4 x 500 GB Hitachi (RAID5)
------------------------------------------------------------------------
mr_hyde's Profile: http://forums.slimdevices.com/member.php?userid=6032
View this thread: http://forums.slimdevices.com/showthread.php?t=84393
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins