ftarz wrote: > 27041 > > I've attached (hopefully correctly) a zip file with my squeezelite and > slimserver logs. The logs cover from start-up to SuperDateTime > screensaver display with time but no weather and then running > /Extras/SuperDateTime/Current Conditions to reload weather data. > > I've observed the running /Extras/SuperDateTime/Current Conditions once > or twice will get the weather data to display and I have no problem > afterwards. Also disabling and reeenabling the SuperDateTime plugin from > the LMS plugins page will do the same. > > I've tried putting a sleep(60); at the start of the SuperDateTime > Plugin.pm code and observed no effect. I've also tried starting > squeezelite manually after the system has fully started-up but this too > had no effect. > > I'm running piCorePlayer V4.1.0 on a Raspberry Pi using the RPi 7-inch > touch display. I'm running squzzelite and jivelite. > > I can also capture the network traffic from the box if you want to see > it. > > Thanks for any help you can provide. > > Frank
I did a bit of looking through the Plugin.pm file and found this around line 2084: Slim::Control::Request::addDispatch(['SuperDateTime', '_mode'], [1, 1, 1, \&cliQuery]); # $funcptr = Slim::Control::Request::addDispatch(['sdtMacroString'], Slim::Control::Request::addDispatch(['sdtMacroString'], [1, 1, 1, \¯oString]); Slim::Control::Request::addDispatch(['sdtVersion'], [1, 1, 1, \&sdtVersion]); Only the sdtMacroString line has the $funcptr entry. I removed it as shown above and found that it now works OK. At boot the SDT screensaver doesn't show weather data, but within 1-2 minutes it updates and the weather data shows just fine. My level of perl experience is very low, so I don't know what all this means, but it does work. Frank ------------------------------------------------------------------------ ftarz's Profile: http://forums.slimdevices.com/member.php?userid=68966 View this thread: http://forums.slimdevices.com/showthread.php?t=14327 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
