chincheta0815 wrote: > Okay, I won't be worried ;o) > I just appreciate your help really a lot. I wish I could get my > hue-plugin on the road in the same quality as your stuff. But I am far > away from your level, I suppose... > > Maybe the return statement causes the problem? I always run into > problems with those statements... And I slightly remember habing some > similar issues with my Hue plugin... The "return" did actually return > from a lot more as I thought it would.
I'm very far from being good at Perl, but I checked and "the manual" says that a return without a parameters returns "nothing" which I assumed means that testing !$var if $var is assigned the result of the function would work. A tiny test program confirms that, but there might be something else I'm missing ... oh well, normally at least the 0.60.2 now tests for the proper osName Don't give up on your plugin. Candidely, I learned Perl when I started to write plugins for LMS and that was not so long ago, so we all always have a lot to learn and the only way is to try :) LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010, AppleTV 4, Airport Express ------------------------------------------------------------------------ philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261 View this thread: http://forums.slimdevices.com/showthread.php?t=106289 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
