Squeezeplay for Joggler ======================= birdslikewires.co.uk If you find SqueezePlay for Joggler useful, you might like to make a contribution towards it's hosting. If you would like some info, please visit http://birdslikewires.co.uk/about/donate ======================= Thanks! This is how things have progressed. sqp-autothinner.sh ================== v1.02 (10th September 2010) Now also removes 'Test' and 'TestTone' applets, as these aren't really intended for production installations. v1.01 (29th August 2010) Added removal of the default WQVGAsmallSkin and all wallpapers. v1.00 (27th August 2010) Created simple script that removes unnecessary files from a fresh compile of SqueezePlay. sqp.sh ====== v1.30 (8th November 2011) Recompiled using SqueezePlay v7.7.1-9552 with PortAudio r1771. Another little tweak regarding autostart settings. v1.29 (4th October 2011) Recompiled using SqueezePlay v7.6.2-9548 with PortAudio r1759. Tiny tweak which makes adding the autostart entry work more reliably. Tested with Joli OS v1.2. Works well! v1.28 (12th September 2011) Recompiled using SqueezePlay v7.6.2-9510 with PortAudio r1758. v1.27 (18th July 2011) Recompiled using SqueezePlay v7.6.0-9455 with PortAudio r1071. v1.26 (13th May 2011) Fixed a bug where some needed files were lost in the post-install cleanup on Ubuntu. On Ubuntu, gnome-power-manager is now unloaded and reloaded as required to allow screen controls to function. v1.25 (19th April 2011) Applied changes required to use new universal Joggler tarball. Updated to SqueezePlay v7.6.0-9426, which reportedly fixes issues with PulseAudio in Ubuntu. Applied Adrian Smith's 'fallback to portaudio' patch: http://bugs.slimdevices.com/show_bug.cgi?id=16799 SqueezePlay can now be run with no modifications to /usr/share/alsa/alsa.conf or /etc/asound.conf files. For some reason, when PulseAudio is enabled, the sound effects play back at a much lower volume (music seems fine). This has not been extensively tested, so please report back on how it goes - particularly the old 'disappearing audio' bug. Compiled with PortAudio r1655 - makefile bug has been resolved. Finally added system autodetection to the script. No more 'ubuntu' or 'native' choices required. Added superuser check for Ubuntu. Now checks for previous asound.conf backup before attempting to backup again. Corrected minor bug where wrong OS file version would be shown. v1.24 (25th March 2011) Updated for the JogglerRegistration applet, allowing you to set and reset a link to mysqueezebox.com. v1.23 (10th March 2011) Checks for and removes the dpkg version of SqueezePlay installed by default on exobuzz's images. Updated to SqueezePlay v7.6.0-9349. Built against PortAudio r1625 due to makefile bug. Some minor sprucing. v1.22 (1st March 2011) Installation directory is now /media/opt for the native install. This will not be changing again! Version tweak for compatibility with native launching without reliance on a web server. Changes allow us to finally use a button with feedback AND keep button text. Hooray! :) Corrected an issue where the install script would reboot the Joggler before reinstalling. v1.21 (21st February 2011) Fixes the disappearing audio bug by simplifying (or creating) /etc/asound.conf. Note that this will only allow one application at a time to access the audio system. The original file is backed up as /etc/asound.conf_presqp. Optionally adds an autostart for SqueezePlay on entering the desktop on Ubuntu. Creates entry in the Gnome menu on Ubuntu. Tidied and reworked the script a bit. Updated to SqueezePlay v7.6.0-9325. v1.20 (15th February 2011) Changed installation procedure to use Little App Launcher. SqueezePlay is no longer responsible for the web server or displaying its icon. v1.13 (14th February 2011) Version bump. Display is now powered on or off appropriately when soft power state is altered. eg. if you 'turn on' SqueezePlay from a remote, the display will power up. All credit goes to florca on the Joggler Forums for this improvement. v1.12 (27th January 2011) Bobbins. Compiling on Ubuntu 10.10 breaks compatibility with the Joggler's native OS! Compiled SqueezePlay v7.6.0-9299 on Ubuntu 9.10 and updated script. Fixed minor installation error regarding the appshop directory. Little bit of script tidying. v1.11 (21st January 2011) Corrected a minor permissions problem in /opt/squeezeplay/bin/. Version bump to SqueezePlay v7.6.0-9291, compiled on Ubuntu 10.10 this time. v1.10 (12th November 2010) Now uses v1.07 of the Ubuntu files. v1.09 (10th September 2010) Updated to SqueezePlay v7.6.0-9103. v1.08 (8th September 2010) If we remove this version, but leave Tarkan's, the script now fully reboots the Joggler to reload mongoose. Removed dependency on gawk, which isn't always present, with awk, which pretty much always is. v1.07 (6th September 2010) Can now remove only Tarkan Akdam's version after installation by issuing './sqp.sh remove native tarkan'. Previously the only way to remove it after installation was to remove everything and start again. v1.06 (5th September 2010) The /media/logs directory doesn't exist on all Jogglers unless fsck has been run for some reason. It is now created if it's not present. v1.05 (5th September 2010) Turns out some naughty installers put other apps into Tarkan Akdam's squeezingtarkan folder. So: Made removal of squeezingtarkan entirely optional. Run mongoose on different port to allow co-existence. Altered 'remove' portion of script to target lines more precisely. Now leaves the /etc/init.d/rcS file in a neater state when uninstalling. v1.04 (4th September 2010) Added 'fixup' option for native, which puts the web server line back into rcS if there's been an update. v1.03 (29th August 2010) Uses new file organisation, fetching the three tarball components. Can now install on Joggler native and Ubuntu operating systems. v1.02 (22nd August 2010) Added removal, reinstallation and purge features. Can now remove Tarkan Akdam's version of SqueezePlay. Need to do this if it's been installed. v1.01 (19th August 2010) Added creation of application icon, version control file, intro text, mongoose launching... Lots more things I can't remember. v1.00 (17th August 2010) Simple installation script. Basically decompresses tarballs. squeezeplay-joggler-800x480 =========================== v1.02 (28/04/11) First properly released version. Changes to sqpbacklightj.sh: Broken into subroutines with more robust fading mechanism. Kills other instances of itself automatically when executed. Can record initial backlight level to temp file before entering SqueezePlay. Changes to JogglerBacklight applet: No longer attempts to kill sqpbacklightj.sh itself. Modified 'automatic' function to trigger sqpbacklightj.sh better. Records initial backlight level to temp file. Changes to Quit applet: Returns backlight to normal on exiting. v1.01 (19/04/11) Modified ChooseMusicSource applet to link to mysqueezebox.com without requesting PIN. v1.00 (19/04/11) Created by merging generic, native and ubuntu tarballs to simplify development. All components will now be distributed to both native and Ubuntu platforms. ================================================================================ squeezeplay-generic-800x480 =========================== (19/04/11) All content moved into Joggler tarball. Development concluded. v1.08 (19/04/11) Moved backlight applet into the generic tarball. Standardised backlight control using backlightj. Backlight levels now fade smoothly between values. Added an 'automatic' option to Settings > Screen > Backlight. The Joggler's light sensor is used to detect ambient light and adjust the backlight accordingly. Tweaked ChooseMusicSource applet to properly connect to mysqueezebox.com instead of asking for a PIN. v1.07 (25/03/11) Added a JogglerRegistration applet for when there are issues with the initial setup connecting to mysqueezebox.com. v1.06 (14/03/11) Corrected a silly bug in the Standby applet. v1.05 (02/03/11) Added a display standby applet, which appears as Settings > Screen > Display Standby. Moved in JiveMain.lua and QuitMeta.lua files, as there are no differences between OS types now. SqueezePlay's bin directory is added to the path, so xset location is OS-agnostic. v1.04 (01/09/10) Corrected position of the spinner on the connecting screen. Created new splash screen. Tested against build 7.6.0-9081. v1.03 (25/08/10) Tested against build 7.6.0-9067. v1.02 (23/08/10) Resized bitmaps for analogue clock. Resized bitmaps for digital clock and repositioned elements. Deleted 'Bounce' from the applets. Broken since v7.5 and doesn't play nice on the Joggler. Resized bitmaps and repositioned elements for 'Add Alarm' screen. Enabled 'Settings > Screen > Date and Time' to allow 24 hour clock to be chosen. v1.01 (20/08/10) Widened volume control on the transport bar to fill remaining space. Fixed 'disappearing when pressed' problem with shuffle button. Volume bar no longer wiggles left to right when shuffle button pressed. v1.00 (18/08/10) Compared original skin to modifications made by 3guk, Tarkan Akdam and Justblair. Merged best components of all previous skins by hand. Resized and repositioned album artwork on 'Artwork and Text' view. Repositioned text on 'Artwork and Text' view. Resized and centralised artwork on 'Artwork' view. Fixed background image. Reorganised 'Text only' view to be more useful for live streaming (eg. scrolling radio text). Fixed 'Spectrum Analyzer' view; repositioning and resized bitmaps. Fixed 'Analog VU Meter' view; repositioning and resized bitmaps. squeezeplay-joggler-native ========================== (19/04/11) All content moved into Joggler tarball. Development concluded. v1.10 (19/04/11) Moved backlight applet into the generic tarball. v1.09 (02/03/11) Added an applet to adjust the backlight level. Appears in Settings > Screen > Backlight. Removed JiveMain.lua, QuitMeta.lua and xset. These are all in the generic tarball now. v1.08 (01/03/11) Added 'unset SDL_WINDOWID' to squeezeplay.sh. Now compatible with native launching without reliance on a web server. v1.07 (16/02/11) Changed contents for compatibility with Little App Launcher. v1.06 (14/02/11) Added florca's improved display power on / off behaviours to JiveMain.lua. Added Quit applet, as we now need to make sure xset is reset when exiting. Otherwise we might be sleeping the screen outside of SqueezePlay. v1.05 (10/09/10) Changed line 279 in JiveMain.lua to 'iconbar = Iconbar(jnt)' for compatibility with 7.6.0-9103. v1.04 (30/08/10) Added 'export SDL_VIDEO_WINDOW_POS=0,0' to squeezeplay.sh, just in case. v1.03 (29/08/10) Split files out into Native tarball. I honestly can't remember what happened beforehand. squeezeplay-joggler-ubuntu ========================== (19/04/11) All content moved into Joggler tarball. Development concluded. v1.12 (19/04/11) Moved the Quit applet modification into the generic tarball. Included a tweak for suspending gnome-power-manager while SqueezePlay is running. v1.11 (25/03/11) Fixed problem where, if starting automatically, SqueezePlay would run before the desktop was ready. v1.10 (02/03/11) Removed JiveMain.lua and xset. These are all in the generic tarball now. v1.09 (20/02/11) Menu entry .desktop file included for addition to the GNOME menu. Autostart .desktop file included for automatically running SqueezePlay. v1.08 (14/02/11) Added florca's improved display power on / off behaviours to JiveMain.lua. Modified Quit applet to reset xset when exiting SqueezePlay. May need to rethink this approach as there are external apps that may want to control this (eg. XScreenSaver). v1.07 (12/11/10) Modified squeezeplay.sh to output to log file in the background. Updated togglepanel.sh to stop xrandr complaining. Added sqpautostart.sh - trigger this in your Startup Applications and it won't run when not configured. Added sqpidlerestart.sh - trigger this from cron (detail in the file) to restart SqueezePlay every so often to avoid corrupted audio. v1.06 (10/09/10) Changed line 279 in JiveMain.lua to 'iconbar = Iconbar(jnt)' for compatibility with 7.6.0-9103. v1.05 (08/09/10) Updated togglepanel.sh to accept 'show' and 'hide' commands. Updated squeezeplay.sh and QuitMeta.lua to take advantage of the togglepanel.sh commands. v1.04 (30/08/10) Added 'export SDL_VIDEO_WINDOW_POS=0,0' and 'export SDL_VIDEO_ALLOW_SCREENSAVER=1' to squeezeplay.sh. Added togglepanel.sh to squeezeplay/bin to remove panels for pseudo-fullscreen. Added call to QuitMeta.lua to restore panels on quit. v1.03 (29/08/10) Split files out into Ubuntu tarball. Again, can't remember what else was going on.