Some time ago on this thread
https://forums.slimdevices.com/showthread.php?103330-Jivelite-for-piCorePlayer&p=886490&viewfull=1#post886490

I asked about unblanking the leading zero in 24hr Clock screensaver.

This all worked fine but now I have a clean install of Pcp 4.0.0B and
the method does not seem to work now.

I make the changes but the change to the lua file is not persistent
through reboot

Has something changed ?

The actual steps I use are :

Code:
--------------------
    
  cd /home/tc/.jivelite/userpath/applets
  
  sudo cp -Lr /opt/jivelite/share/jive/applets/Clock .
  
  sudo patch /opt/jivelite/share/jive/applets/Clock/ClockApplet.lua  
/home/tc/UnBlankLeadingzero.patch
  
  restart jivelite
  
  pcp br
  
  
  /home/tc/UnBlankLeadingzero.patch
  
  ####
  --- /opt/jivelite/share/jive/applets/Clock/ClockApplet.lua
  +++ /home/tc/ClockApplet.lua
  @@ -859,7 +859,11 @@
  local theHour   = self:_getHour(time)
  
  if string.sub(theHour, 1, 1) == '0' then
  -        self.h1:setValue('')
  +        if self.useAmPm then
  +            self.h1:setValue('')
  +        else
  +            self.h1:setValue('0')
  +        end
  widget = self.h1Shadow:getWidget('h1Shadow')
  widget:setStyle('icon_digitalClockNoShadow')
  else
  ####
  
--------------------


Jeff



*Players:* SliMP3,Squeezebox3 x3,Receiver,SqueezeLite-X,PiCorePlayer x3
*Server:* LMS Version:  Latest Nightly on Centos 7.5 VM on ESXi 6.5.0U2
on Dell T320
*Plugins:*
AutoRescan/BBCiPlayer/PowerSave/PowerSwitchIII/Squeezecloud/Spotty/Player
Groups
*Remotes:* iPeng9/Orangesqueeze/PC/Jivelite/SqueezeLite-X
*Music:* 522GB,1660 albums with 23087 songs by 5204 artists mostly
FLACs

*Want a webapp ?* See
http://forums.slimdevices.com/showthread.php?104305-Webapp-for-LMS
------------------------------------------------------------------------
Jeff07971's Profile: http://forums.slimdevices.com/member.php?userid=49290
View this thread: http://forums.slimdevices.com/showthread.php?t=103330

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

Reply via email to