Michael, do you have any idea why it works to return a format from the
getMusicInfoSCRCustomItems callback in my plugin that is called
"DYNAMICPL" but it doesn't work to return a format called
"DYNAMICPLAYLIST" ?

It seems like if the format contains "PLAYLIST" somewhere in the format
name it is ignore and the _MIS_CUSTOM_123456789012DYNAMICPLAYLIST string
is displayed instead of the real value provided by my plugin. I never
get any call to my registered callback function. If I change the format
name to DYNAMICPL everything works again.

The getMusicInfoSCRCustomItems method looks like this:

Code:
--------------------
    
  sub getMusicInfoSCRCustomItems {
        my $customFormats = {
                'DYNAMICPLAYLIST' => {
                        'cb' => \&getTitleFormatDynamicPlaylist,
                        'cache' => 1,
                },
                'DYNAMICORSAVEDPLAYLIST' => {
                        'cb' => \&getTitleFormatDynamicPlaylist,
                        'cache' => 1,
                },
        };
        return $customFormats;
  }
  
--------------------


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) 'My download page'
(http://erland.isaksson.info/download)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library and Database Query plugins'
(http://wiki.erland.isaksson.info/index.php/Category:SlimServer))
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=53347

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

Reply via email to