Bugzilla – Bug 15694
USB & SDcard libraries are displayed in a confusing manner
Last modified: 2010-04-08 17:25:51 UTC
When you plug in a USB thumb drive with music tinySC activates and scans the available music. Fine, no problem. But going to Home > My Music you see the USB device listed "Squeezebox Touch" which is highly confusing. It should be: "USB Device" or "USB Source" Furthermore, if you plug in a SD card it is also labeled "Squeezebox Touch" which is equally confusing. It should be: "SD Card" or "SD Card Source" But... The big whammy is if you have both a USB and a SD card plugged in. Both are detected and both are featured on the main menu as "Eject XX" but only _one_ of them is listed in My Music. (in my tests today it's the USB that appears and not the SD card.) This is likely already known. All we need is a method to switch or a way to see both. Just wanted to be sure it's being tracked. The naming cases above definitely need a change.
== Auto-comment from SVN commit #8517 to the repo by mherger == == https://svn.slimdevices.com/?view=revision&revision=8517 == Bug: 15694 Description: update My Music heading whenever entering the music menu. This is needed to be up to date when switching local music sources from eg. USB to SD Card.
Created attachment 6539 [details] make TinySBS advertise the media used in the libraryname
We have two possibilities: we can do it on the server side or on the squeezeplay side. Both have pros and cons: Server: - easier to implement - will change libraryname for all players - SP would still display "Connecting to SB Touch (SD)..." after ejecting SD and plugging in USB, as it doesn't know yet that the source has changed Squeezeplay: - needs more changes - needs some server:isEmbedded() which we tried to prevent - libraryname wouldn't need to change, the media name could be added when displayed A quick discussion on campfire can be summarized by this quote: "This is all feeling like a big mess - maybe we should push back on Dan on the grounds that fixing this properly is likely to be a big, risky change?" We should punt this post 7.5.0.
I can't quite understand what's the difficult part from Michael's response. The issues listed in comment #0 are: 1. The library labels on USB/SD is confusing 2. When both a USB & SD are connected you cannot access both (or switch) Are both of these issues equally difficult? Is one the "big mess" and the other is easy?
1. does look easier than it is. The items you're seeing aren't static data, but are data sent by the servers. We can have the server tell what media it's using. But this in turn can lead to confusing labels if you unplug one media, then plug in the other. If at that point you try to browse your music, the spinny would say "connecting to A", while it's trying to connect to B. Only when the server is up and running and SP can actually connect to it, the label would be updated (that's what my patch does). The other solution is to hard code something in SP to add the media to those labels whenever an embedded server's item is to be displayed. Would be visually nicer, but hacky. Thus Alan's "big mess" judgment. 2. at some point it was decided that for release only one media type at any given time will be supported by the embedded server. It was clear then that this will be a popular enhancement. But not in 7.5.0. Not for the initial release.
Created attachment 6541 [details] SP side approach For the archives: the SP based approach I was playing with yesterday. Would still need a server:isEmbedded() method.
Bear in mind, Dan, that this library name will be displayed on SB3s and Booms and other players that may be trying to connect to the TinySC. It seems like part of the problem is that it's hard to always have the correct media type in the name. Dan is it important to have SD or USB? Or would a more generic term like 'Flash media' or something be okay? Michael will go ahead and try his patch and we can have a look. The new bug people are likely to complain about with this patch is 'I switched from SD to USB and it still says SD'
Oops I forgot to remove bug_meeting from these bugs.
== Auto-comment from SVN commit #30211 to the repo by mherger == == https://svn.slimdevices.com/?view=revision&revision=30211 == Fixed Bug: 15694 Description: add media type to libraryname when running embedded SBS
I'm fine with a more generic name like "Flash media". As long as our code iterates each discovered media such as "Flash media 1" and "Flash media 2" etc. to avoid the confusion we have now. And I agree that users are going to be most confused when they are either trying to access a USB and a SD at the same, or if they remove one USB drive and plug in another. Both of these situations need to be handled smoothly and with correct feedback provided to the user.
"Flash media" is no good when most people will probably connect hard drives.
Is there a detectable difference between a USB hard drive and a USB thumb drive?
There is not. I'm having a huge sense of deja vu here...I think this very topic was covered in a different bug...
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!