plympton;541728 Wrote: 
> See attached, should be OK.
> 
> 
> For the life of me, I can't figure out how to make this work - I added
> a dispatch in the Perl:
> > 
Code:
--------------------
  >   > 
  > Slim::Control::Request::addDispatch(['sdtMacroString', '_format', 
'_period'],
  >       [1, 1, 1, \&macroString]);
--------------------
> > 
> 
> and this is the request from LUA:
> > 
Code:
--------------------
  >   > 
  > > > 
> Try to register as this:
> > 
Code:
--------------------
  >   > 
  > Slim::Control::Request::addDispatch(['sdtMacroString'],
  >       [1, 1, 1, \&macroString]);
  > 
--------------------
> > 
> 
> And the request should look like this:
> > 
Code:
--------------------
  >   > 
  > { 'sdtMacroString', "format:"..text, 'period:0'}
  > 
--------------------
> >


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) (Install my plugins through
Extension Downloader)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library, Title Switcher 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=77864

_______________________________________________
jive mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive

Reply via email to