unplayable music files should be excluded
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu One Android Music |
New
|
Undecided
|
Unassigned |
Bug Description
While testing both the android u1 music app and the player from the web site I ran into files that are not playable.
The root cause is a bit unusual: I use an ubuntu server to serve music for my family imac. The server uses afpd to present a osx volume. osx files may have resources which afpd handles by creating a sibling hierarchy in a '.AppleDouble' directory in which the resources for a file are stored in a specific file with the same name.
I copy part of my music library into a u1 synced folder and u1 happily synced all the '.AppleDouble' directories encountered (so far, so good).
But, both the android u1 music app and the web player now present me with duplicates: one for the "right" file, one for its associated resource.
The later cannot be played and will never contain any playable content.
Since in both cases, only the beginning of the file name is displayed, it took me a while to understand what was happening.
There may be several bugs here but here are some possible fixes that would have help:
- display the start and end of the file name if there are no id3 tags (I suspect that most of files have but almost none of *mine* have as they come from itunes which puts all that data in its private files, bah),
- filter out the files that won't be playable (see attached file for such an example).
The later may be tricky if different players have different capabilities (say, AAC files can be played on macs but the u1 servers may have no idea on how to detect that).
Note 'man file' may give hints on how to filter some obviously non-playable files but may not be the ultimate solution either (AAC example again). On the other hand, the web music player capabilities may be better known so at least for it, the filtering may be more precise (no .ogg, no AAC, no nothing if the player is not able to play the format).
Finally (and that may be a different bug by itself), I've been tricked by the web player feedback with the arrow icon, which when clicked for an unplayable file, turned into a blank square. I only realized what was happening when a valid song started to play and the blank square turned into a level meter...