Better handling of nonplayable files

Bug #77566 reported by annelid
4
Affects Status Importance Assigned to Milestone
Amarok
Fix Released
High
amarok (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: amarok

If Amarok can't scan/play .ra files will it at least please ignore them silently.
If Amarok is running and some new .ra files appear in my media directory Amarok goes mad scanning them and then complains that it can't scan [list of new .ra files] and then crashes after the 2nd or 3rd time.

Revision history for this message
annelid (anne-liddicott) wrote :

Crash dump

Revision history for this message
annelid (anne-liddicott) wrote :

Amarok suggests a bad taglib

Revision history for this message
Andrew Ash (ash211) wrote :

Thanks for the bug report. What taglib version are you using? Run `apt-cache policy libtag1c2a` to see what version you're running.

Amarok is just a front end to the multimedia backend that actually plays the music files, so if it can't play a file it's a problem with the backend. To find out which you're using, Settings -> Configure Amarok -> Engine -> Sound System.

Changed in amarok:
status: Unconfirmed → Needs Info
Revision history for this message
annelid (anne-liddicott) wrote : Re: [Bug 77566] Re: crashes scanning files when dinds .ra files

Thanks for handling this.

$ apt-cache policy libtag1c2a
libtag1c2a:
  Installed: 1.4-4
  Candidate: 1.4-4
  Version table:
 *** 1.4-4 0
        500 http://gb.archive.ubuntu.com edgy/main Packages
        100 /var/lib/dpkg/status

It's not that amarok can't play .ra files, as such, but the fact that
after it fails to scan more than so many files in the collection, it
1) gives up scanning
2) shows a modal dialog that stops the next track playing until it is
acknowledged

While the underlying problem may be taglib, the way amarok handles it is
annoying.

Sam

Revision history for this message
Andrew Ash (ash211) wrote : Re: crashes scanning files when dinds .ra files

Let's work together and figure out what would be the best outcome when this happens.

I think it'd be nice if the collectionscanner ran the entire scan, skipping over the files it couldn't handle, and then deliver one of those yellowish notifications in the bottom left corner with some text along the lines of:

 "Multiple files could not be added to the collecion because the current backend (<insert backend here>) can not play those files. Please consider using a different backend instead, if possible, or uprade your current backend to a newer version that can play those files."

Hopefully much less verbose than that. What do you think would be the optimal situation once this occurs?

Revision history for this message
annelid (anne-liddicott) wrote : Re: [Bug 77566] Re: crashes scanning files when dinds .ra files

I think you describe an excellent behaviour.

It handles any taglib failure gracefully and continues to play what it
can without interruption.

and to clear my wife's good name, I'm Sam, not Anne, but she was logged
in while I was playing music.

Sam

Revision history for this message
Andrew Ash (ash211) wrote :

I'll search on the Amarok bug tracker if I can find a similar bug to link this one to. Until then, I'm marking it wishlist.

Changed in amarok:
importance: Undecided → Wishlist
Revision history for this message
Andrew Ash (ash211) wrote :

It looks like there is a bug in the kde bugtracker, #136430, that has the same issue as this. I've linked this bug to that one at the top of this page.

A developer there would like a copy of a file that causes the collectionscanner to crash. Please register an account at bugs.kde.org and provide a file for him at http://bugs.kde.org/show_bug.cgi?id=136430

Thanks

Changed in amarok:
importance: Wishlist → Medium
status: Needs Info → Confirmed
Changed in amarok:
status: Unknown → Unconfirmed
Revision history for this message
annelid (anne-liddicott) wrote : Re: [Bug 77566] Re: Better handling of nonplayable files

Thanks Andrew,

I submitted an audio file.

Sam

Revision history for this message
Andrew Ash (ash211) wrote :

Thanks. We'll see what the Amarok guys come up with then.

Revision history for this message
Sarah Kowalik (hobbsee-deactivatedaccount) wrote :

fixed upstream, and in 1.4.5

Changed in amarok:
status: Confirmed → Fix Released
Changed in amarok:
status: Unconfirmed → Fix Released
Changed in amarok:
importance: Unknown → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.