Thanks Erland, I've found the Applet bundle files (see example for the Clock Applet below) and there are many. I tried opening those lua files in VC++ but couldn't launch a squeezeplay seen here (http://forums.slimdevices.com/attach...1&d=1332231635)
So how do I make the jump from getting the text in VC++ to launching a squeezeplay? In visual basic, I would click on debug.
I tried following the Wiki but perhaps some video explanation would help me get quicker understanding. But I couldn't find anything on YouTube on editing Lua. Here's something about clocks using Notepad ++ (http://youtu.be/wznbvBuf8ys) but should I be using Notepad ++ instead of VC++?
Results 11 to 13 of 13
Thread: SqueezeBox University
-
2012-04-02, 03:00 #11
-
2012-04-02, 12:19 #12
There should be a exe file somewhere, not sure where it is on Windows but I suspect it's somewhere in the main installation directory where you installed SqueezePlay. On Linux I believe there is a "bin" directory in the top level installation directory that contains the binary called "jive", I'm not sure if it's called jive.exe or squeezeplay.exe or something else on Windows.
I've never seen any working debugger, there might be one but I haven't found it. I usually just insert log messages in the code if I like to see what happens. Developing in lua is a lot more primitive compared to developing in VC++ and similar development environments.Erland Isaksson (My homepage)
(Developer of many plugins/applets (both free and commercial).
If you like to encourage future presence on this forum and/or third party plugin/applet development, consider purchasing some plugins)
You may also want to try my Android apps Squeeze Display and RSS Photo Show
Interested in the future of music streaming ? ickStream - A world of music at your fingertips.
-
2012-04-22, 03:15 #13
Success!!! Finally DOOMSDAY is up in Squeezeplay. It doesn't do anything but I think I understand the principle now. Meta.lua seem to be the key file (see below how I substituted HELLO WORLD for DOOMSDAY). Also, I would recommend using Notepad++ from here:
http://download.tuxfamily.org/notepa....6.1.1.bin.zip
Source: http://notepad-plus-plus.org/
rather than here (which just gave me a weird xml file when unzipped):
http://www.davidcarrigg.com/uploads/LuaLangFile.zip
Source: http://www.retroaffect.com/blog/190/...for_Notepad__/
The trick seems to be replacing DoomsdayMeta.lua with HelloWorldMeta.lua.
By copying and pasting the wiki codes, it was easy, like Visual Basics. Hopefully one day, a YouTube video can be made and that would be the easiest way to explain this.




Reply With Quote
