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&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds&currency_code=USD&bn=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

Reply via email to