Home of the Squeezebox™ & Transporter® network music players.
Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13
  1. #11
    Quote Originally Posted by erland View Post
    Each applet is placed in a separate directory under "applets" and have:
    - strings.txt (textual strings for all supported languages)
    - *Meta.lua (Meta data file which is called during initialization and configures the applet)
    - *Applet.lua (The actual applet source code)

    Take a look at the following wiki page if you haven't already done so:
    http://wiki.slimdevices.com/index.ph...y_Applet_Guide
    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++?
    Attached Images Attached Images  

  2. #12
    Senior Member erland's Avatar
    Join Date
    Dec 2005
    Location
    Sweden
    Posts
    10,867
    Quote Originally Posted by chipmalee View Post
    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.
    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)

    Interested in the future of music streaming ? ickStream - A world of music at your fingertips.

  3. #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.




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •