View Full Version : Jive applet Wiki page
Now that we have a mechanism to download applets to the remote from the server, I've created a wiki page for distrbution of appets by the community.
http://wiki.slimdevices.com/index.cgi?JiveApplets
Please see the instructions on the wiki for how to download and install them.
Please add any applets you have written and would like the rest of the jive remote testing community to try out...
Hmmm, couldn't figure out how to upload applets to the wiki.
I've got the tetris applet, which should have all of the bugs worked out and a new applet called "gravity"
It's a little gravity sim. You fire a comet into a system and try to get it to avoid the planets until the timer runs out.
Position the comet with up / down / left / right, then press go. Then use up / down / left / right to give the comet initial velocity, and press go again.
If someone could upload these, or give instructions on how to upload them that would be great.
Thanks
Go to the wiki page, select attachments at the bottom and then select the files to upload via your browser.
And you need to package them in a SC plugin for the autmomatic upload to work. Let me have a look at these for you.
Patros,
I've packaged your applets in SlimCentre plugins and attached them to the wiki for you.
Feel free to add a description to the wiki.
[Note I'm not sure Gravity is working for me at present though]
Looks like the framerate was set too high for the hardware to handle. Got it working on the hardware now, just need to make some changes to the controls and I'll post up a working version.
Here's a version that works on the hardware. Scroll wheel is up/down, top two buttons above the scrollwheel are left / right. centre button is enter.
Step 1: position the small circle, then press enter.
Step 2: add an initial velocity (opposite of the red line), then press enter.
Step 3: watch.
Posted this buried at the bottom of a karaoke thread (http://forums.slimdevices.com/showpost.php?p=260058&postcount=9), so hope it's ok to cross post. I'm having problems getting applets to work on my Jive:
I've downloaded Snake, Invaders and Lyrics from the wiki page (wasn't sure whether to go for Lyrics or Lyrics-0.2 but went for the latter). Restarted SC and went to Settings > Advanced > Applet Installer and selected Invaders and Snake (Lyrics wasn't there) and then selected Install. Briefly "Downloading Applets" appeared and then Jive rebooted. If the applets have installed, I don't know where they are (e.g. they are not under Extras). Any tips would be appreciated.
>
> If the applets have installed, I don't know where they are (e.g. they
> are not under Extras). Any tips would be appreciated.
should be under games or extras. I can't remember offhand. I did find
that I sometimes had to do the applet installer more than once. that, or
it really only does one at a time properly.
-kdf
I think the Snake and Invaders posted on the wiki are out of date and won't work with the current firmware. (Someone needs to maintain these...)
Retrobrowser should work - do you see it it under Extras?
Briefly "Downloading Applets" appeared and then Jive rebooted.
I had the same thing, and it happened so fast I thought it was a system crash. Bug #6655.
So thats not a crash but it needs a delay and status message I guess.. Unfortunately at present the application needs to restart to find the new applets.
I think the Snake and Invaders posted on the wiki are out of date and won't work with the current firmware. (Someone needs to maintain these...)
Retrobrowser should work - do you see it it under Extras?
I though that the "downloading applets" flicked by a bit too fast! Anyway, I got rid of both Snake and Invaders. Trying the RetroBrowser, the same thing happens and there's nothing under Extras. I'm on FW 1r1495.
The next nightly should include a restarting message after applet installer has downloaded the applets from the server.
I've also updated RetroBrowser, Snake and Invaders to work with the latest jive menus (and converted Lyrics to a SC plugin for use with applet installer)
Please test and report back here if you see a problem.
Thanks for the update. Now snake, lyrics and invaders work (but of fun!), but still no sign of retrobrowser under Extras. I'm on FW 1r1508.
Re retrobrowser - is this for a real controller(jive) or on the desktop. The applet includes a compiled module which is compiled for the controller (jive hardware).
It's for a real controller.
I'm on the latest debian nightly (SqueezeCenter Version: 7.0 - 16492 - Debian - EN - utf8) and Jive firmware 1r1520.
autopilot
2008-01-20, 06:10
I cant install any apps on my Controller, just reboots as above.
Just tested the RetroBrowser again and uploaded my latest version - this works on my controllers. Can you try it after a factory reset - do you get the applet installed in the correct location on jive [if you can ssh to it] It should show up in Extras as "Retro Browser" as well.
Re rebooting - yes it will do this, the latest firmware should have a "Rebooting" message first though. The key question is whether you see more options on the Extras menu after it has done this.
I'll try the factory reset tonight when I get home. In the meantime a random thought: could it make a difference if there is an SD card in there (I have one in)?
I'll try the factory reset tonight when I get home. In the meantime a random thought: could it make a difference if there is an SD card in there (I have one in)?
No should make no difference. Can you ssh to it - if so does it appear in /usr/share/jive/applets?
ssh in and there is a RetroBrowser directory in /usr/share/jive/applets. I tried deleting the whole directory and reinstalling the applet, but it still doesn't appear in the Extras on the Jive. Is there any way to set some debugging options (there's nothing of note in /var/log/messages and I'm not sure where else to look). Next I'll try a factory reset.
Did a factory reset and tried installing (just) RetroBrowser and it still doesn't appear in Extras on the Jive. I'm on FW 1r1520 but I'm just about to do a SC upgrade to the latest nightly.
The only other bit of information I can think of that could be pertinent is that I have the SuperDateTime plugin installed which, although it doesn't have an applet, does create an entry under Extras on the jive.
Don't know - what happens if you disable this plugin.
If you look in /var/log/messages is there anything there about registering the RetroBrowser applet?
Not sure how to disable the plugin. Settings > Advanced > Applet Installer doesn't seem to have any disable options (only "Install"). I'm assuming that it can't be disabled via SC as it doesn't appear there in the list of plugins. Do I just delete the directory on the Jive?
Actually, just found an error message in the logs:
Jan 22 07:21:09 (none) user.err jive: (AppletManager.lua:240) - Error while evaluating meta for RetroBrowser:...share/jive/applets/RetroBrowser/RetroBrowserMeta.lua:28: attempt to call method 'subMenu' (a nil value)
About 6 weeks ago the API to JiveMain was changed (by me). I can fix this...where can I find the "official" RetroBrowser checkin? I don't see it in jive_contrib...
#!/ben
or alternatively, here is what was done for the same fix in InfoBrowser
Modified: branches/mainMenuRework/src/pkg/jive/share/applets/InfoBrowser/InfoBrowserMeta.lua
URL: http://svn.slimdevices.com/branches/mainMenuRework/src/pkg/jive/share/applets/InfoBrowser/InfoBrowserMeta.lua?rev=1038&root=Jive&r1=1037&r2=1038&view=diff
================================================== ============================
--- branches/mainMenuRework/src/pkg/jive/share/applets/InfoBrowser/InfoBrowserMeta.lua (original)
+++ branches/mainMenuRework/src/pkg/jive/share/applets/InfoBrowser/InfoBrowserMeta.lua Thu Nov 29 15:41:07 2007
@@ -24,7 +24,7 @@
function registerApplet(meta)
- local extrasMenu = jiveMain:subMenu(meta:string('EXTRAS'), 45)
-
- extrasMenu:addItem(meta:menuItem(meta:string('INFO BROWSER'), function(applet, ...) applet:menu(...) end), 900)
+ jiveMain:addItem(
+ meta:menuItem('appletInfoBrowser', 'extras', meta:string('INFOBROWSER'), function(applet, ...) applet:menu(...) end, 900)
+ )
end
cheers,
#!/ben
tyler_durden
2008-01-21, 14:00
I loaded 3 applets last night. One minor complaint- the wiki page says to install them in the /server/plugins directory, however, each applet is packaged with a /plugins folder, so the wiki should really say to unzip them into the /server directory. Maybe that explains some of the problems people are having- they are ending up with the apps in server/plugins/plugins instead of server/plugins
TD
I think the version of retrobrowser posted has the syntax changed - could you confirm that you have downloaded the latest version?
Last time I checked (last night I think) the version attached here http://wiki.slimdevices.com/index.cgi?JiveApplets was the same as the one I was using, but I will check again tonight (don't you love timezone differences!).
P.S. Re-reading your earlier post I realised that I misunderstood: you were suggesting I try disabling SuperDateTime (makes sense!). I'll try that too. It does raise the general question, though, of how to uninstall an applet.
Don't bother disabling the plugin - that error message is definately the cause of it not showing up!
I've just downloaded the plugin posted and it is the new version. You may be having problems with caching in your browser though (I've seen this cause problems for wiki downloads from this site)
Great, I'll make sure I get the latest version and give it a crack. Thanks for your help.
I loaded 3 applets last night. One minor complaint- the wiki page says to install them in the /server/plugins directory, however, each applet is packaged with a /plugins folder, so the wiki should really say to unzip them into the /server directory. Maybe that explains some of the problems people are having- they are ending up with the apps in server/plugins/plugins instead of server/plugins
I'm pretty sure that this contributed to my woes as I discovered both a Plugins/RetroBrowswer and Plugins/Plugins/RetroBrowser folder (whereas Snake and Invaders were both in Plugins/Plugins but were found nevertheless) and I suspect that an older version was taking priority over the newer one. Anyway, I've cleaned that all up and now RetroBrowser is working like a charm.
PS, thanks your help on this one Triode (and others).
ModelCitizen
2008-01-29, 12:52
I installed three applets all at once yesterday:
Lyrics
Retro Browser
Gravity.
Although the first two work fine (I think) I can't find Gravity anywhere. Where is it?
Retro Browser looks a bit odd (a strip across the middle of the Controller display) ... even odder as it starts with the display text set to Full. Is that how it should be or is that a setting I've done?
The install was fine... albeit surprisingly fast (which is a refreshing thing)!
MC
Retro Browser looks a bit odd (a strip across the middle of the Controller display) ... even odder as it starts with the display text set to Full. Is that how it should be or is that a setting I've done?
Well the intention was to allow you to control the old player interface from the new remote control. Because of the way the display is formed, its size is fixed height (32 pixels which are expanded to 64 on the screen) plus as wide as would fit. Any suggestions as to how to make it look better on jive appreciated. If you tilt the remote on its side the display should rotate to show the full width of the SB screen.
Its there to allow you to use the old user interface and any old plugins which don't yet have a native jive interface - you don't need to use it...
As for font size this is whatever you have the player display set to - it just mirrors the display from the player to the remote.
ModelCitizen
2008-01-29, 23:42
If you tilt the remote on its side the display should rotate to show the full width of the SB screen.
Crikey, how cool is that?
Thanks for the reply.
Now just need to figure out where Gravity went (or how to uninstall it)
MC
ezkcdude
2008-01-30, 05:05
I installed three applets all at once yesterday:
Lyrics
Retro Browser
Gravity.
MC
For the life of me, I can't figure out how to install Lyrics properly (or the other applets). What is confusing me is that in the zip file that you download, at the end of the directory tree is another zip file containing the .lua files. Can someone tell which files are considered "the applet" and what is the exact directory structure Jive looks for, and where each file should be within that structure (including the lua files and the install.xml). It's really confusing when you have /plugins/Lyrics/plugins/jive/Lyrics.zip.
It's really confusing when you have /plugins/Lyrics/plugins/jive/Lyrics.zip.
That's pretty much what I have:
c:\Program Files\SqueezeCenter\server\Plugins\Lyrics\jive\Lyr ics.zip
You need to stop and restart SC though and then separately install the applet on the remote (Settings - Controller Settings - Advanced - Applet Installer).
ModelCitizen
2008-01-30, 09:23
That's pretty much what I have:
c:\Program Files\SqueezeCenter\server\Plugins\Lyrics\jive\Lyr ics.zip
You need to stop and restart SC though and then separately install the applet on the remote (Settings - Controller Settings - Advanced - Applet Installer).
If my experience is anything to go by you'll have to attempt it twice (and reboot the controller twice) to get it to install.
MC
Powered by vBulletin® Version 4.1.12 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.