Thanks, Erland. The dummy parameter worked out.

flipflip wrote: 
> Slightly off-topic: I've been playing with a plugin that offers a more
> flexible use of remote control buttons to do the rating. I'll be testing
> / using this now for a while and I will create a separate thread once
> I'm happy enough with it.
> 
> RatingButtons plugin: https://github.com/phkehl/lms-plugins

Very nice. Just a suggestion: maybe your plugin could become some kind
of gateway plugin for linking remote control buttons to all kinds of
actions/commands instead of just rating. 
You could make the cli commands for some plugins you want to support
part of your plugin code. And for everything else you'd offer an -option
to let users enter their own cli command- they want to map to certain
buttons. Makes for a very versatile gateway plugin imho.

About rating: instead of implementing your own rating function you could
do it like Material: check if Trackstat or Ratings Light is
installed/enabled and then have the cli rating commands of one of those
plugins do the actual rating. Just a thought.

And then when you run out of ideas and have some time to kill, you add
support for Boom and Radio preset buttons. So I can switch from KidsPlay
to your plugin. :-)


------------------------------------------------------------------------
afriend's Profile: http://forums.slimdevices.com/member.php?userid=39306
View this thread: http://forums.slimdevices.com/showthread.php?t=113344

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

Reply via email to