Bugzilla – Bug 14880
UI for SD/USB management
Last modified: 2010-04-08 17:26:14 UTC
this is the engineering side for this feature flagged as a 7.5/P1 feature: - tinySC: flows for attaching/scanning/navigating/ejecting SD and USB devices Felix, your bug on TinySC UI may or may not encapsulate this. If your TinySC UI bug covers this, this one can probably close.
== Auto-comment from SVN commit #8139 to the jive repo by bklaas == == https://svn.slimdevices.com/jive?view=revision&revision=8139 == Bug: 14880 Description: poach scanning progress strings from server-side strings file
burn 6 hours on this bug...the remaining hours are still mostly a guess at this point.
note to self: bug 15027 and bug 15037 are subsets of this one. Make sure that what they request is done as part of this bug
*** Bug 15027 has been marked as a duplicate of this bug. ***
*** Bug 15037 has been marked as a duplicate of this bug. ***
== Auto-comment from SVN commit #29428 to the slim repo by bklaas == == https://svn.slimdevices.com/slim?view=revision&revision=29428 == Bug: 14880 Description: add --pidfile command argument
== Auto-comment from SVN commit #8148 to the jive repo by bklaas == == https://svn.slimdevices.com/jive?view=revision&revision=8148 == Bug: 14880 Description: add stopscan argument to init script add --pidfile argument to scanner.pl command to stop both a running scanner and the subsequently spawned squeezecenter.pl, run these commands /etc/init.d/squeezecenter stopscan && sleep 1 && /etc/init.d/squeezecenter stop
== Auto-comment from SVN commit #8152 to the jive repo by bklaas == == https://svn.slimdevices.com/jive?view=revision&revision=8152 == Bug: 14880 Description: First crack at reporting scan progress as scanner is running work in progress
== Auto-comment from SVN commit #8153 to the jive repo by bklaas == == https://svn.slimdevices.com/jive?view=revision&revision=8153 == Bug: 14880 Description: necessary strings as described in wiki specification for TinySC UI
== Auto-comment from SVN commit #8155 to the jive repo by bklaas == == https://svn.slimdevices.com/jive?view=revision&revision=8155 == Bug: 14880 Description: work in progress-- udevEventListener methods for pushing user through TinySC flow after adding a drive
== Auto-comment from SVN commit #8161 to the jive repo by felix == == https://svn.slimdevices.com/jive?view=revision&revision=8161 == Bug: 14880 Description: UI for SD/USB management - work in progress - Added timeout to spinny and check if new device got mounted -
== Auto-comment from SVN commit #8162 to the jive repo by felix == == https://svn.slimdevices.com/jive?view=revision&revision=8162 == Bug: 14880 Description: UI for SD/USB management - work in progress - oops, forgot to disable for the moment -
Update hours worked
== Auto-comment from SVN commit #8164 to the jive repo by felix == == https://svn.slimdevices.com/jive?view=revision&revision=8164 == Bug: 14880 Description: UI for SD/USB management - work in progress - Added 'Unsupported file fomrat error' message window - Added 'Important notice' message window about ejecting SD/USB drives -
== Auto-comment from SVN commit #8165 to the jive repo by felix == == https://svn.slimdevices.com/jive?view=revision&revision=8165 == Bug: 14880 Description: UI for SD/USB management - work in progress - nicer supported formats list
== Auto-comment from SVN commit #8167 to the jive repo by bklaas == == https://svn.slimdevices.com/jive?view=revision&revision=8167 == Bug: 14880 Description: USB and SD specific strings, as it appears we should be able to discern between the two in most circumstances
== Auto-comment from SVN commit #8168 to the jive repo by bklaas == == https://svn.slimdevices.com/jive?view=revision&revision=8168 == Bug: 14880 Description: more strings for a rainy day
== Auto-comment from SVN commit #8169 to the jive repo by bklaas == == https://svn.slimdevices.com/jive?view=revision&revision=8169 == Bug: 14880 Description: work in progress, USB/SD + TinySC UI -successfully mounting device starts scanner -use devName to discern between USB and SD devices -save mounted device in self.mountedDevices table -add eject menu item for drive after successful mount
== Auto-comment from SVN commit #8170 to the jive repo by bklaas == == https://svn.slimdevices.com/jive?view=revision&revision=8170 == Bug: 14880 Description: icon style for hm_eject, used only in SB Touch for ejecting removable media
estimating work half done
== Auto-comment from SVN commit #8174 to the jive repo by bklaas == == https://svn.slimdevices.com/jive?view=revision&revision=8174 == Bug: 14880 Description: more device-specific strings for a snowy day...
== Auto-comment from SVN commit #8175 to the jive repo by bklaas == == https://svn.slimdevices.com/jive?view=revision&revision=8175 == Bug: 14880 Description: Eject doesn't need to be EJECT
== Auto-comment from SVN commit #8176 to the jive repo by bklaas == == https://svn.slimdevices.com/jive?view=revision&revision=8176 == Bug: 14880 Description: work in progress. "Happy Path" device eject... -- This is still all disabled in firmwares being pushed out. See udevEventHandler() comments for details -- add eject item to My Music after successful mount -- add eject confirmation window -- currently scanner and server are stopped for all drives before umount is issued on eject (end goal is to have one drive be designated as the tinySC drive and scanner/server will only stop when ejecting that one) -- a hack was added to wait 3 secs after successful umount to kill the server and remove stale /media/<devName> dir to deal with a race condition (squeezecenter init script spawns server after scanner is stopped) -- fullscreen popup while drive is being ejected -- remove menu item after device is successfully ejected -- abstraction of some reusable methods: _stopScanner() _stopServer() _getItemFromDevName(devName) _mediaDirExists(devName) _checkDriveUnmounted(devName) processRunning(process) -- Add more necessary strings
== Auto-comment from SVN commit #8182 to the jive repo by bklaas == == https://svn.slimdevices.com/jive?view=revision&revision=8182 == Bug: 14880 Description: the framework for doing "the right thing" with tinySC at squeezeplay startup time -- add an init method to init some variables -- add squeezecenterStartupCheck method, which is run (by the meta file via callService), to do the right thing at start time -- addMountedDevice() for adding elements to self.mountedDevices table -- writeSCPrefsFile() writes audiodir path to /etc/squeezecenter/prefs.json for tinySC to read -- readSCPrefsFile() to read the contents of the prefs.json file at startup time
== Auto-comment from SVN commit #8188 to the jive repo by bklaas == == https://svn.slimdevices.com/jive?view=revision&revision=8188 == Bug: 14880 Description: hand over ownership of squeezecenter start/stop to squeezeplay (accompanying tinySC checkin forthcoming) add some verbose debug messages to startup SC check method
== Auto-comment from SVN commit #8189 to the jive repo by bklaas == == https://svn.slimdevices.com/jive?view=revision&revision=8189 == Bug: 14880 Description: remove execution of media-watcher.pl script from rcS bump rev to keep poky happy
== Auto-comment from SVN commit #8190 to the jive repo by bklaas == == https://svn.slimdevices.com/jive?view=revision&revision=8190 == Bug: 14880 Description: remove media-watcher script
== Auto-comment from SVN commit #8196 to the jive repo by bklaas == == https://svn.slimdevices.com/jive?view=revision&revision=8196 == Bug: 14880 Description: write both an audiodir and mountpath key/val pair to the prefs.json file
== Auto-comment from SVN commit #8197 to the jive repo by bklaas == == https://svn.slimdevices.com/jive?view=revision&revision=8197 == Bug: 14880 Description: the check of prefs.json by SCApplet should really be mountpath now, not audiodir
*** Bug 13006 has been marked as a duplicate of this bug. ***
== Auto-comment from SVN commit #8200 to the jive repo by bklaas == == https://svn.slimdevices.com/jive?view=revision&revision=8200 == Bug: 14880 Description: use a settings file to keep track of self.mountedDevices table when applet is taken out of memory push a warning window when a device is unsafely ejected. also, more strings!
== Auto-comment from SVN commit #8201 to the jive repo by bklaas == == https://svn.slimdevices.com/jive?view=revision&revision=8201 == Bug: 14880 Description: do not push to tinySC settings window after OK for eject warning on non-tinySC drive attachment remove ugly hack that kills server after 3 seconds. Not necessary now that scanner is part of the same process
== Auto-comment from SVN commit #8202 to the jive repo by bklaas == == https://svn.slimdevices.com/jive?view=revision&revision=8202 == Bug: 14880 Description: Settings menu items dynamically chosen to be more appropriate based on SBS current state (i.e., don't put a "start server" item if the server is already running) add confirmation windows before stopping or restarting the server cleaned up code to deal with lack of separate scanner process put Eject items on home menu instead of My Music (currently weighted to the top of the menu, which will likely change) lots more strings! :)
I've put a ton of work into this and feel it's getting close.
== Auto-comment from SVN commit #8203 to the jive repo by felix == == https://svn.slimdevices.com/jive?view=revision&revision=8203 == Bug: 14880 Description: Fix typo.
== Auto-comment from SVN commit #8204 to the jive repo by bklaas == == https://svn.slimdevices.com/jive?view=revision&revision=8204 == Bug: 14880 Description: add iconStyles for hm_sdcard and hm_usbdrive. These are used when starting tinySC with more than one already attached drive
== Auto-comment from SVN commit #8214 to the jive repo by bklaas == == https://svn.slimdevices.com/jive?view=revision&revision=8214 == Bug: 14880 Description: Display details of scan progress better on tinySC settings window more strings (hopefully this is it)
== Auto-comment from SVN commit #8215 to the jive repo by bklaas == == https://svn.slimdevices.com/jive?view=revision&revision=8215 == Fixed Bug: 14880 Description: I'm considering this bug complete for 7.5.0 release. Please open new bugs for things not working properly in regards to the expected behavior
== Auto-comment from SVN commit #8216 to the jive repo by bklaas == == https://svn.slimdevices.com/jive?view=revision&revision=8216 == Bug: 14880 Description: push unmount failure window to screen after 10 failed seconds of trying to umount a drive try again item on this window will try "lazy" umount with the -l flag. more strings!
== Auto-comment from SVN commit #8217 to the jive repo by bklaas == == https://svn.slimdevices.com/jive?view=revision&revision=8217 == Bug: 14880 Description: Restarting Squeezebox Server was too long to fit across the screen (was cutoff by one char) shortening to "Starting Squeezebox Server"
== Auto-comment from SVN commit #8220 to the jive repo by bklaas == == https://svn.slimdevices.com/jive?view=revision&revision=8220 == Bug: 14880 Description: read the discovering_files step correctly
== Auto-comment from SVN commit #8221 to the jive repo by bklaas == == https://svn.slimdevices.com/jive?view=revision&revision=8221 == Bug: 14880 Description: move eject icons weight from 1 to 5 to put it below My Music
This bug has been marked fixed in a released version of Squeezebox Server or the accompanying firmware or mysqueezebox.com release. If you are still seeing this issue, please let us know!