no mp3 playpack when # in filename

Bug #1470129 reported by dayvee
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Music App
New
Undecided
Unassigned
qtubuntu-media (Ubuntu)
New
Undecided
Canonical Phone Foundations

Bug Description

When a '#' appears in the filename the mp3 is not played and the slider's time is 0:00 no matter where the position of the slider is.
After removal of the # the files are fully functional.

Revision history for this message
Victor Thompson (vthompson) wrote :

I can confirm this. I get the following in the media-hub.log. The Music scope seems to have the same issue, but perhaps worse because any unicode characters to not appear to be decoding some unicode characters. I have another example with {} in the filename that the scope will not play at all.

From media-hub.log:

Failed to retrieve metadata for track 'file:///home/phablet/Music/Courtney Barnett - Sometimes I Sit And Think, And Sometimes I Just Sit (2015)/01 - Elevator Operator#.mp3' (Problem extracting meta data for track)
void core::ubuntu::media::ServiceSkeleton::Private::handle_pause_other_sessions(const Ptr&)
State changed on playbin: 2
Emiting playback_status_changed signal: PlaybackStatus::ready
** Encountered a GST_RESOURCE_ERROR_NOT_FOUND
Resetting playbin pipeline after unrecoverable error
Client died, resetting pipeline
void gstreamer::Playbin::reset_pipeline()
virtual void core::ubuntu::media::TrackListImplementation::reset()
bool gstreamer::Playbin::set_state_and_wait(GstState): requested state change.

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

So trying this locally with gst-launch

This works correctly
$ gst-launch-1.0 -v playbin uri=file:///home/andy/Music/INXS/The%20Greatest%20Hits/01%20-%20Mystify%23.flac

But this fails
$ gst-launch-1.0 -v playbin uri="file:///home/andy/Music/INXS/The Greatest Hits/01 - Mystify#.flac"
Setting pipeline to PAUSED ...
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: ring-buffer-max-size = 0
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: buffer-size = -1
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: buffer-duration = -1
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: use-buffering = false
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: download = false
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: uri = file:///home/andy/Music/INXS/The Greatest Hits/01 - Mystify#.flac
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: connection-speed = 0
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: source = "\(GstGioSrc\)\ source"
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstURIDecodeBin:uridecodebin0/GstGioSrc:source: Resource not found.
Additional debug info:
gstgiosrc.c(321): gst_gio_src_get_stream (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstGioSrc:source:
Could not open location file:///home/andy/Music/INXS/The%20Greatest%20Hits/01%20-%20Mystify for reading: Error opening file: No such file or directory
Setting pipeline to NULL ...
Freeing pipeline ...

I suspect this latter case is occurring and either we or media-hub need to be encoding the URI correctly.

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

After speaking with the media-hub folks (Jim) it is suspected to be at that end, therefore I am adding qtubuntu-media (Ubuntu) as also affected.

Jim Hodapp (jhodapp)
Changed in qtubuntu-media (Ubuntu):
assignee: nobody → Canonical Phone Foundations (canonical-phonedations-team)
Revision history for this message
Andrew Hayzen (ahayzen) wrote :

This is actually a duplicate of bug 1449790, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

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.