"Couldn't play song. Skipped ahead." is displayed by Google Music when playing track

Reported by kelveden on 2013-07-08
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Nuvola Player
Undecided
Unassigned

Bug Description

Nuvola Player: 2.0.3
OS: Arch Linux 3.9.8-1 x86_64

Steps to reproduce:
1) Switch to Google Play Music service
2) Attempt to play a track or album from library

Expected:
Track plays

Actual:
Attempt to play a track fails with the message (from the Google Music UI itself by the look of things) "Couldn't play song. Skipped ahead".

Notes:
* My machine sits behind a corporate proxy server and firewall.

* Playing a track via Google Music in a browser (Firefox 22.0 or Chromium 28.0.1500.52) on the same machine works.

* I have taken a look at the HTTP traffic from Nuvola when playing a track via a web proxy (Charles) and can see the HTTP requests to Google music - they all look ok to the naked eye. However, Charles does state that "Client closed connection before receiving entire response" but apart from that they look like the request/response below:

REQUEST:

http://t.doc-0-0-sj.sj.googleusercontent.com/stream?id=9a68bed3e4c5eecc&itag=25&source=skyjam_user_upload&o=05934077751725685705&ip=0.0.0.0&ipbits=0&expire=1373276751&sparams=id,itag,source,o,ip,ipbits,expire&signature=A2183428327A8565902ED4754919A42F179C9882.23380185EFCF8AD291C5DE3F1B41848262881C1E&key=sj3

RESPONSE HEADERS:

HTTP/1.1 200 OK
Content-Type audio/mpeg
Accept-Ranges bytes
X-Estimated-Content-Length 11978710
Content-Length 11978710
Date Mon, 08 Jul 2013 09:44:22 GMT
Server 1.0
X-XSS-Protection 1; mode=block
X-Frame-Options SAMEORIGIN
Connection Keep-Alive

kelveden (kelveden) on 2013-07-08
tags: added: google-music

Thanks for taking the time to report this bug. However, I need more
information to investigate it further.

Assuming Arch Linux has libwebkitgtk3 with gstreamer 1.0 backend,
could you post output of following commands? You need a MP3 audio file
for the second command, I'll call it "/path/to/song.mp3".

gst-inspect-1.0 | grep mp3

GST_DEBUG="*:3,GST_ELEMENT_FACTORY:4,GST_PLUGIN_LOADING:4" \
gst-launch-1.0 playbin uri="file:///path/to/song.mp3"

  status incomplete

Changed in nuvola-player:
status: New → Incomplete
kelveden (kelveden) wrote :
Download full text (22.8 KiB)

Thanks for the reply Jiri. The short story is that with your suggestions from above I was able to solve the problem - I was missing the gstreamer "ugly" plugin.

So thanks for the help! (The long version is below if you're interested...)

I can't find a way to confirm 100% that I have libwebkitgtk3 installed but all libwebkit*.so files on my machine are libwebkit*-3.0.so files. So, I assume I do. Here's the output from the first command:

----------------------

typefindfunctions: application/x-id3v2: mp3, mp2, mp1, mpga, ogg, flac, tta
typefindfunctions: application/x-id3v1: mp3, mp2, mp1, mpga, ogg, flac, tta
typefindfunctions: application/x-apetag: mp3, ape, mpc, wv
typefindfunctions: audio/mpeg: mp3, mp2, mp1, mpga

----------------------

And here's the output from the other command:

----------------------
0:00:00.005392923 7991 0x1fc7430 INFO GST_PLUGIN_LOADING gstplugin.c:317:_priv_gst_plugin_initialize: registering 0 static plugins
0:00:00.005671288 7991 0x1fc7430 INFO GST_PLUGIN_LOADING gstplugin.c:225:gst_plugin_register_static: registered static plugin "staticelements"
0:00:00.005697133 7991 0x1fc7430 INFO GST_PLUGIN_LOADING gstplugin.c:227:gst_plugin_register_static: added static plugin "staticelements", result: 1
0:00:00.014712123 7991 0x1fc7430 INFO GST_PLUGIN_LOADING gstplugin.c:830:gst_plugin_load_file: plugin "/usr/lib/gstreamer-1.0/libgstplayback.so" loaded
0:00:00.014773359 7991 0x1fc7430 INFO GST_ELEMENT_FACTORY gstelementfactory.c:365:gst_element_factory_create: creating element "playbin"
Setting pipeline to PAUSED ...
0:00:00.015977969 7991 0x1fc7430 INFO GST_ELEMENT_FACTORY gstelementfactory.c:365:gst_element_factory_create: creating element "uridecodebin"
0:00:00.016969931 7991 0x1fc7430 INFO GST_PLUGIN_LOADING gstplugin.c:830:gst_plugin_load_file: plugin "/usr/lib/gstreamer-1.0/libgstcoreelements.so" loaded
0:00:00.017016176 7991 0x1fc7430 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "filesrc" named "source"
0:00:00.017332710 7991 0x1fc7430 INFO GST_ELEMENT_FACTORY gstelementfactory.c:365:gst_element_factory_create: creating element "decodebin"
0:00:00.017583077 7991 0x1fc7430 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "typefind" named "typefind"
Pipeline is PREROLLING ...
0:00:00.022362387 7991 0x205c540 INFO GST_PLUGIN_LOADING gstplugin.c:830:gst_plugin_load_file: plugin "/usr/lib/gstreamer-1.0/libgsttypefindfunctions.so" loaded
0:00:00.023240634 7991 0x205c540 WARN uridecodebin gsturidecodebin.c:880:unknown_type_cb:<uridecodebin0> warning: No decoder available for type 'application/x-id3'.
Missing element: ID3 tag demuxer
0:00:00.023373606 7991 0x205c540 WARN decodebin gstdecodebin2.c:3703:gst_decode_bin_expose:<decodebin0> No suitable plugins found
WARNING: from element /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: No decoder available for type 'application/x-id3'.
0:00:00.023443394 7991 0x205c540 WARN decodebin gstdecodebin2.c:3705:gst...

kelveden (kelveden) wrote :

So for those Arch users stumbling across this bug here is the short solution:

pacman -S gst-plugins-base gst-plugins-good gst-plugins-ugly

> So for those Arch users stumbling across this bug here is the short
> solution:
>
> pacman -S gst-plugins-base gst-plugins-good gst-plugins-ugly

I think Arch Linux users would have life easier if the package would
be better maintained and have these packages as dependencies...

I've added link to FAQ #2277 to the bug reporting tutorial.
https://answers.launchpad.net/nuvola-player/+faq/2277

  status invalid

Changed in nuvola-player:
status: Incomplete → Invalid
kelveden (kelveden) wrote :

Agreed. Have added comments as such against the Arch AUR package: https://aur.archlinux.org/packages.php?ID=58166.

FAQ is a good idea too!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers