Comment 8 for bug 1449790

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

This comment I made in one of the duplicates and should probably be shown on the main bug :-)

https://bugs.launchpad.net/music-app/+bug/1470129/comments/2

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.