[Music App] stops playing music after trying to play a "mod" file

Bug #1512310 reported by Stunts
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Music App
New
Undecided
Unassigned

Bug Description

Playing a "tracked" song (mod, xm, s3m, etc...) will not start the playback in [Music App].
The interface does not freeze, but the song does not start playing and I am unable to play any other song afterwards. I have to kill [Music App] and restart it to be able to play any other music in it.
Unlike in bug https://bugs.launchpad.net/music-app/+bug/1505212, I do not have to reboot the system in order to be able to play other songs.

This bug in rythmbox **might** be related: https://bugzilla.gnome.org/show_bug.cgi?id=756992 as it looks exactly the same issue.

There is a fix/workaround in the link too.

Attached is a test file you can use to reproduce the bug.

Revision history for this message
Stunts (f-pinamartins) wrote :
Revision history for this message
Stunts (f-pinamartins) wrote :
Revision history for this message
Victor Thompson (vthompson) wrote :

I can confirm this bug/issue. From the media-hub.log file it looks like a missing codec. Adding the media-hub project so it can be properly triaged. In the very least, it seems like we should avoid having the client session be killed when things like this arise.

From the media-hub.log file:

bool gstreamer::Playbin::set_state_and_wait(GstState): requested state change.^M
Missing plugin: Module Music Format (MOD) decoder^M
Missing decoder for audio/x-mod^M
** Encountered a GST_STREAM_ERROR_CODEC_NOT_FOUND^M
** Encountered a GST_CORE_ERROR_MISSING_PLUGIN
Resetting playbin pipeline after unrecoverable error^M
Client died, resetting pipeline

Revision history for this message
Jim Hodapp (jhodapp) wrote :

@Victor: media-hub isn't killing the session - instead, the client is going away (exiting). Does music-app handle any of the error cases that media-hub can throw and pass up to QML via qtubuntu-media? You have an opportunity to catch this error from the MediaPlayer QML object and do what you wish with it.

no longer affects: media-hub
Revision history for this message
Victor Thompson (vthompson) wrote :

@Jim: If there is some way we can catch and properly handle errors, perhaps we could work around this bug, as well as other bugs that are causing the app to stop working (lp:1505212 and others). We'll try to investigate this.

Revision history for this message
Andrew Hayzen (ahayzen) wrote :

@Victor, there is a way to capture errors (MediaPlayer.onError), I just haven't linked it yet (was going todo it after the bg-playlists rewrite).

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.