Topic: squeezeplay for chumby (classic)

Last weekend i ported squeezeplay for the Chumby Classic (Ironforge),
so you can build your Baby Squ**zebox Touch for only 149$ :-)

You can download it from here:

http://cid-42aa16e5785e4534.office.live … 0.0.tar.gz

Things are setup to be run from /mnt/chumby (nfs mount in my setup), NOT /mnt/usb!

To run it get the tar to /mnt/chumby, stop the control panel and run:

/mnt/chumby/bin/squeezeplay.sh

Please refer to the wiki how to setup automatic startup. userhook2 is a good choice for this.
Some menus are not fitted well to the screen, but the main playing and selection functionality is allready working.
If someone wants to help me to find and fix the remaining bugs and adopting the skins i can setup a project on sourceforge, please let me know.

Greetings, rtd 1073

Re: squeezeplay for chumby (classic)

This is exciting!

I thought I would give this a try, but I have a Chumby One.  Any idea if this will work as is on the Chumby One?  If so, how do I go about stopping the control panel?  After plugging in a USB keyboard, I was able to mount an NFS volume with the tar file contents and I can run the squeezeplay.sh script, but it just hangs at some point.   I can get the exact message later if it's helpful.

Re: squeezeplay for chumby (classic)

It may run with a Chumby One. You can stop the control panel with the command "stop_control_panel". Why do you use a USB keyboard? It is much easier to ssh into the chumby! Did you mount it to /mnt/chumby? This is very important, the startup script and some other things expect it to be in /mnt/chumby. You also need write permission in /mnt/chumby/etc, as user root. NFS normaly denies this, you have to specify this explicitly. Perhaps this is the problem.

Re: squeezeplay for chumby (classic)

I'll give it a shot tonight.

I was using a keyboard since my chumby is in the living room and my PC in the office.  Turns out the text on the console is near impossible to read! 

Once I get this up and running, I would be interested in a sourceforge project.  I haven't developed anything for chumby yet, but I have an itch...  I have recently been using chumby to connect with my squeezebox server and been wanting a more robust frontend since the mp3 streaming that chumby currently uses doesn't always work well (no volume control, no sync, long buffer latency, etc).

Re: squeezeplay for chumby (classic)

Hi rtd1073,

fabulous idea!
Just tried it this morning on my chumby one; here is as far as I got in 20 minutes:

- unpacked your squeezeplay%5E_chumby%5E_v0.0.tar.gz on my notebook
- set permissions chmod -R a+rw ./    (this is probably the wrong way to do it; there might be nfs options for that, but I was lazy)
- shared this directory using NFS  (edited /etc/exports)
- ssh to chumby
$ mkdir /mnt/chumby
$ mount -o nolock -t nfs notebook_ip:/path/to/said/directory  /mnt/chumby
$ stop_control_panel
$ /mnt/chumby/bin/squeezeplay.sh

The program ran but nothing appeared on the screen (after stop_control_panel, the display of the last widget stays there). I first suspected that the system freezed, but ssh was still active, and as a test, I tried
   cat >> /dev/fb0
in the chumby ssh session and typed some random characters upon which pixels on chumbys display changed.

Any ideas?

Left my chumby at home, so I'll have to post the jive output later today. I remember that there was a message like "Initializing screen to NNNxNNNxNN" or maybe it was "setting resolution...", but the screen remained unchanged.

When pushing Chumby One's button on top, jive says something like "I reckon this is not a touchscreen device".

I might have missed it, but is the source included in your package? If not it would help me a lot if you could upload it somewhere.

If you set-up a SourceForge page (or alike), I would definitely like to invest some time into this!

So long and thanks for your effort!

Re: squeezeplay for chumby (classic)

Hi ulysses,

perhaps you can check the TSLIB_ and SDL_ variables in the /mnt/chumby/etc/env.sh script, i do not know if the device nodes are the same on the chumby one. But, as you can see from the forum by searching "framebuffer" or "SDL", the framebuffer device of the chumby is a little problematic. I bypassed the problems for the chumby classic by modifying the SDL code to only accept 320x240x16, and by not doing any switching at all, relying on the 320x240x16 initialization of the chumby startup scripts. Just the memory gets mapped. This approach may fail on the chumby one.

I am happy that someone volunteers to help porting it to the chumby one. Squeezeplay is a fine music player software, i am very happy with it and the chumby. I integrated /dev/input usb keyboard support to SDL recently, so now you can control it also by a cheap mediacenter usb remote. I will set up a sourceforge project as soon as possible to give you and the community access to the sourcecode, so you can help to port it to the chumby one and improving the ChumbySkin. Please be patient, it takes some work to setup a clean git and the neccesary .gitignore files. I hope i can get this done util end of next weekend.

Greetings, rtd 1073

Re: squeezeplay for chumby (classic)

Ok,

sourceforge project is ready.
Project url is: http://chumbysqueeze.sourceforge.net/

Greetings, rtd1073