Re: [SlimDevices: Plugins] Jivelite needs a version bump

2022-11-21 Thread bengaldave


@ralphy 

Thanks for updating this!

looks good. 

Deleted the directory
/home/tc/.jivelite/userpath/jive

Rebooted

Ran the tweaks update

after another reboot,

plugins that should be showing as "available to be installed" are still
there.

Except for customclock, which was always listed as installable but needs
to be installed manually.



bengaldave's Profile: http://forums.slimdevices.com/member.php?userid=4605
View this thread: http://forums.slimdevices.com/showthread.php?t=117025

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Jivelite needs a version bump

2022-11-21 Thread ralphy


The jivelite extension has been upgraded for picoreplayer 8.x, it now
reports 8.0.0 as the version to LMS.

To update, navigate to the Tweaks page in the pcp webadmin and click the
Update button in the Jivelite Setup section.

If you've installed the work around from post '#2'
(https://forums.slimdevices.com/showthread.php?117025-Jivelite-needs-a-version-bump=1064639=1#post1064639)
you should delete the file /home/tc/.jivelite/userpath/jive/JiveMain.lua
and backup the configuration to remove it before installed the new
build.

Using the work around jivelite still reports the version as 0.1.0 in
/var/log/jivelite.log

Code:

cat /var/log/jivelite.log 
  Using /dev/fb0 as frame buffer device.
  Frame rate set to 22 frames per second.
  Frame buffer color bit depth set to 32.
  
  JiveLite 0.1.0
  



The updated extension reports the modified version and revision.

Code:

cat /var/log/jivelite.log 
  Using /dev/fb0 as frame buffer device.
  Frame rate set to 22 frames per second.
  Frame buffer color bit depth set to 32.
  
  JiveLite 8.0.0-r208
  




Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *2*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=117025

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Jivelite needs a version bump

2022-11-09 Thread ralphy


mherger wrote: 
> > The big hassle now would be replacing the default lua-jit interpreter
> > for all jivelite builds with the lua 5.1.5 sources from squeezeplay.
> 
> Isn't this what you said you did for pCP?

Yes. that's correct.

I was talking in general as I build jivelite for many platforms and most
of them are still using lua-jit.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *2*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=117025

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Jivelite needs a version bump

2022-11-08 Thread Michael Herger

The big hassle now would be replacing the default lua-jit interpreter
for all jivelite builds with the lua 5.1.5 sources from squeezeplay.


Isn't this what you said you did for pCP?
___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Jivelite needs a version bump

2022-11-08 Thread ralphy


mherger wrote: 
> 
> Ah, I see. I wonder why he didn't opt for a custom target. That would 
> have given applet developers more flexibility.
> 
> Is the difference in Lua runtime worth the hassle?
> 
> Thanks for this insight!

lua-jit is "suppose" to be faster than standard lua, but I've never seen
any significant speed improvements between lua-jit jivelite and lua 5.1
based jivelite.

The big hassle now would be replacing the default lua-jit interpreter
for all jivelite builds with the lua 5.1.5 sources from squeezeplay.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *2*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=117025

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Jivelite needs a version bump

2022-11-08 Thread ralphy


bengaldave wrote: 
> @ralphy
> 
> Thanks, just verified the work around you provided.
> 
> Applets now show and can be installed!
> 
> It is working but had a question
> 
> You wrote:
> [22-11-07 07:24:24.1760] Slim::Plugin::Extensions::Plugin::_parseXML
> (501) searching http://ralph.irving.sdf.org/extensions/sigen.xml for
> type: applet target: jivelite version: 8.0.0
> 
> Where would I see this? In the regular LMS logs? Somewhere else?

I was just highlighting the fact that the jivelite version 8.0.0 is now
reported.  You won't see this exact log entry unless you have the above
url setup in LMS.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *2*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=117025

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Jivelite needs a version bump

2022-11-07 Thread Michael Herger

[22-11-07 07:24:24.1760] Slim::Plugin::Extensions::Plugin::_parseXML
(501) searching http://ralph.irving.sdf.org/extensions/sigen.xml for
type: applet target: jivelite version: 8.0.0

Where would I see this? In the regular LMS logs? Somewhere else?


Enable logging for plugin.extensions.
___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Jivelite needs a version bump

2022-11-07 Thread bengaldave


Thanks Michael
Thanks Ralphy



bengaldave's Profile: http://forums.slimdevices.com/member.php?userid=4605
View this thread: http://forums.slimdevices.com/showthread.php?t=117025

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Jivelite needs a version bump

2022-11-07 Thread bengaldave


Note: Both ScreenSwitcher and CustomClock work when manually installed.

CustomClock and ScreenSwitcher are installable now with the work
around.

Boith show installed.

ScreenSwitcher works.
CustomClock does not work, new custom clock menu items are not
selectable.



bengaldave's Profile: http://forums.slimdevices.com/member.php?userid=4605
View this thread: http://forums.slimdevices.com/showthread.php?t=117025

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Jivelite needs a version bump

2022-11-07 Thread bengaldave


@ralphy

Thanks, just verified the work around you provided.

Applets now show and can be installed!

It is working but had a question

You wrote:
[22-11-07 07:24:24.1760] Slim::Plugin::Extensions::Plugin::_parseXML
(501) searching http://ralph.irving.sdf.org/extensions/sigen.xml for
type: applet target: jivelite version: 8.0.0

Where would I see this? In the regular LMS logs? Somewhere else?



bengaldave's Profile: http://forums.slimdevices.com/member.php?userid=4605
View this thread: http://forums.slimdevices.com/showthread.php?t=117025

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Jivelite needs a version bump

2022-11-07 Thread Michael Herger

Triode hard coded the JIVE_VERSION to 0.1.0 in jivelite during
development because he used lua-jit which is not 100% syntax compatible
with the lua 5.1 used in the jive based players.


Ah, I see. I wonder why he didn't opt for a custom target. That would 
have given applet developers more flexibility.


Is the difference in Lua runtime worth the hassle?

Thanks for this insight!
___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Jivelite needs a version bump

2022-11-07 Thread ralphy


Triode hard coded the JIVE_VERSION to 0.1.0 in jivelite during
development because he used lua-jit which is not 100% syntax compatible
with the lua 5.1 used in the jive based players.

Most of the 3rd party applets I've tried don't work with a lua-jit based
jivelite.

It's the main reason I changed jivelite for picoreplayer to use the same
lua 5.1 version as the squeezeplay players.

For picoreplayer I will change the version with an update to the
extension, but that's going take a bit as I don't have my pcp build
environments online.

In the meantime, here's how to temporarily override the version in pcp.

# create jive folder and copy JiveMain.lua

sudo mkdir -p /home/tc/.jivelite/userpath/jive
sudo cp -p /opt/jivelite/share/jive/jive/JiveMain.lua
/home/tc/.jivelite/userpath/jive/

# Using vi add the line *_G["jive"].JIVE_VERSION = "8.0.0"* above the
comment line before local io as shown in the patch below.
# Don't include the leading + sign(s).

sudo vi /home/tc/.jivelite/userpath/jive/JiveMain.lua


Code:

--- /opt/jivelite/share/jive/jive/JiveMain.lua
  +++ /home/tc/.jivelite/userpath/jive/JiveMain.lua
  @@ -18,6 +18,8 @@
  =cut
  --]]
  
  +_G["jive"].JIVE_VERSION = "8.0.0"
  +
  
-
  local io= require("io")
  
-
  



Quit jivelite from the menu and when it restarts version 8.0.0 will be
reported from the applet installer.


Code:

[22-11-07 07:24:24.1760] Slim::Plugin::Extensions::Plugin::_parseXML (501) 
searching http://ralph.irving.sdf.org/extensions/sigen.xml for type: *applet 
target: jivelite version: 8.0.0*



After you've confirmed the change, don't forget to backup the pcp
configuration *pcp bu* or you'll loose it at the next reboot.

NB:  /var/log/jivelite.log will still report JiveLite 0.1.0 as the
version.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *2*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=117025

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins