Google music stoppped playing any songs (GStreamer 1.0; Ubuntu 13.04, Fedora 19)

Bug #1200818 reported by KruyKaze
214
This bug affects 38 people
Affects Status Importance Assigned to Milestone
Nuvola Apps Runtime (Nuvola Player)
Fix Released
High
Unassigned
2.0.x
Won't Fix
Undecided
Unassigned

Bug Description

Issue
=====

Google Play Music suddenly stopped playing music and shows spinning arrow regardless if HTML5 audio is on or off. Other services do work.

The issue seems to occur only on newer systems (Ubuntu 13.04, Arch Linux, Fedora 19) and is not reproducible on older systems (Ubuntu 12.04 & 12.10, Debian 7).

Status
======

The cause of the issue is a bug in GStreamer library. An ugly workaround has been found. Fix committed to lp:nuvola-player as r731. Will be available in next unstable builds and will be released in Nuvola Player 2.1.0.

<http://bazaar.launchpad.net/~fenryxo/nuvola-player/trunk/revision/731>

To activate the workaround, go to menu Application → Preferences → tab Service and check "Disable HTML5 Audio support when service is loaded."

Background
==========

Google Play Music recently introduced a mechanism to check support of HTML5 Audio technology. It tries to play a particular MP3 file encoded in data uri. Unfortunately, the playback request never finishes because of the bug #1204672 in GStreamer 1.0.x (both GStreamer 0.10.x and current development branch do work) and Google Play shows spinning arrow forever. This check is always performed regardless if HTML5 audio is on or off in Music labs settings.

https://bugs.launchpad.net/ubuntu/+source/gstreamer1.0/+bug/1204672

As a workaround, it is possible to make GStreamer backend non-functional by specifying fake plugin path, so Google Play Music falls back to Flash plugin based playback:

GST_PLUGIN_SYSTEM_PATH=/dev/null GST_PLUGIN_PATH=/dev/null nuvolaplayer

Unfortunately, the NSPlugin Viewer crashes during loading of Google Play Music web interface:

*** NSPlugin Viewer *** ERROR: rpc_end_sync called when not in sync!
Segmentation fault (core dumped)

However, when essential GStreamer plugins are disabled in runtime, the npviewer doesn't crash. The final workaround is based on this mechanism.

Original report
===============

It was working yesterday. I have been using HTML5 before. Tried both HTML5 ON and OFF , installed the unstable from PPA, tried stable with nuvolaplayer-flashplugin , reset and purged everything and tried different things for hours . Still fails to play any song.

Currently on Ubuntu 13.04 64bit Nuvolaplayer 2.0.4 and GoogleMusic 3.21 . Let me know if you need more info.
Thanks.

Revision history for this message
Jiří Janoušek (fenryxo) wrote : Re: [Bug 1200818] [NEW] Google music stoppped playing any songs

Thanks for taking the time to report this bug. However, I need more
information to investigate it further. Could post debugging output
from Nuvola Player unstable? See
http://nuvolaplayer.fenryxo.cz/support/bug_reporting.html for help.

  status incomplete

Changed in nuvola-player:
status: New → Incomplete
Revision history for this message
KruyKaze (kruykaze) wrote : Re: Google music stoppped playing any songs

Here's a screenshot: http://i.imgur.com/I6S7Ssw.png that arrow just keeps spinning and nothing happens.
And here's the log : http://pastebin.com/i4vMsWNT
Thanks.

Revision history for this message
Jiří Janoušek (fenryxo) wrote : Re: [Bug 1200818] Re: Google music stoppped playing any songs

I was not able to reproduce your issue on Ubuntu 13.04 64bit at first,
but it is reproducible after installation of all system updates with
the same error message in the debugging output:

0:00:00.122146143 7646 0x7f96b0053320 WARN alsa
conf.c:4687:snd_config_expand: alsalib error: Unknown parameters {AES0
0x02 AES1 0x82 AES2 0x00 AES3 0x02}
0:00:00.122316143 7646 0x7f96b0053320 WARN alsa
pcm.c:2217:snd_pcm_open_noupdate: alsalib error: Unknown PCM
default:{AES0 0x02 AES1 0x82 AES2 0x00 AES3 0x02}

  status triaged
  importance critical
  tag ubuntuslov

Changed in nuvola-player:
importance: Undecided → Critical
status: Incomplete → Triaged
Revision history for this message
dominus_sapiens (dominussapiens) wrote : Re: Google music stoppped playing any songs
Download full text (14.0 KiB)

Here's my complete debug output for this bug on my machine, as requested:

Nuvola Info main.vala:118: Welcome to Nuvola Player, version: 2.0.4
    Nuvola Info main.vala:122: Revision: 627, <email address hidden>
    Nuvola Info main.vala:123: Report any issues/bugs you might find to http://nuvolaplayer.fenryxo.cz/support/bug_reporting.html
    Nuvola Debug main.vala:124: command: /usr/lib/nuvolaplayer/nuvolaplayer --debug
    Nuvola Debug main.vala:126: Enabled features: Dynamic Proxy Resolver, Disk cache for remote data, Unity Quicklist, Dock Manager support, MPRIS support, console client, support for media keys, optimization of SVG images, Last.fm scrobbling, Notifications, Lyrics fetching, debug symbols
    Nuvola Debug main.vala:127: Disabled features: experimental features
       Gtk Debug Connecting to session manager
    Nuvola Debug main.vala:189: Application activated
 <unknown> Debug NP_Initialize
 <unknown> Debug NP_Initialize succeeded
No bp log location saved, using default.
[000:000] Browser XEmbed support present: 1
[000:000] Browser toolkit is Gtk2.
[000:000] Using Gtk2 toolkit
No bp log location saved, using default.
Gtk-Message: Failed to load module "overlay-scrollbar"

(npviewer.bin:3512): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3512): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3512): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3512): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3512): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3512): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3512): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3512): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3512): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3512): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3512): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3512): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3512): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3512): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3512): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3512): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3512): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3512): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3512): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3512): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3512): Gtk-W...

Revision history for this message
Martin Pöhlmann (mpdeimos) wrote :
Download full text (4.9 KiB)

Same here (Arch Linux 64 Bit, latest Google+ Extension, latest Flash, Nuvola 2.0.3 #606)

    Nuvola Info main.vala:118: Welcome to Nuvola Player, version: 2.0.3
    Nuvola Info main.vala:122: Revision: 606, <email address hidden>
    Nuvola Info main.vala:123: Report any issues/bugs you might find to http://nuvolaplayer.fenryxo.cz/support/bug_reporting.html
    Nuvola Debug main.vala:124: command: /usr/lib/nuvolaplayer/nuvolaplayer --debug
    Nuvola Debug main.vala:126: Enabled features: Dynamic Proxy Resolver, Disk cache for remote data, Dock Manager support, MPRIS support, console client, support for media keys, optimization of SVG images, Last.fm scrobbling, Notifications, Lyrics fetching
    Nuvola Debug main.vala:127: Disabled features: Unity Quicklist, experimental features, debug symbols
       Gtk Debug Connecting to session manager
    Nuvola Debug main.vala:189: Application activated
GnomeShell Debug plugin loaded
GnomeShell Debug plugin loaded
    Nuvola Debug main.vala:285: WebPlugin: Gnome Shell Integration, /usr/lib/mozilla/plugins/libgnome-shell-browser-plugin.so
    Nuvola Debug main.vala:285: WebPlugin: Citrix Receiver for Linux, /usr/lib64/mozilla/plugins/npwrapper.npica.so
    Nuvola Debug main.vala:285: WebPlugin: Citrix Receiver for Linux, /usr/lib/mozilla/plugins/npwrapper.npica.so
    Nuvola Debug main.vala:281: Compatible Flash: Shockwave Flash, /opt/nuvolaplayer/flash/wrapped/npwrapper.libflashplayer.so
   Diorite Debug Max data cache size: 100
   libsoup Warning No feature manager for feature of type 'SoupProxyURIResolver'
   Diorite Debug Setting proxy (auto): dynamic resolver
   Diorite Debug Action activated: ui-both
    Nuvola Debug debugging.vala:66: [debugging] load
    Nuvola Info extensionsmanager.vala:91: Extension with id 'debugging' loaded.
    Nuvola Debug debugging.vala:80: [debugging] add_ui
    Nuvola Info extensionsmanager.vala:91: Extension with id 'lastfm' loaded.
    Nuvola Info extensionsmanager.vala:91: Extension with id 'mediakeys' loaded.
    Nuvola Info extensionsmanager.vala:91: Extension with id 'mpris' loaded.
    Nuvola Info extensionsmanager.vala:91: Extension with id 'notifications' loaded.
    Nuvola Debug servicesmanager.vala:94: Found service Google Play Music at /home/mpdeimos/.local/share/nuvolaplayer/services/googleplay, version 3.21
    Nuvola Debug servicesmanager.vala:105: Found service Google Play Music at /usr/share/nuvolaplayer/services/googleplay, version 3.16
    Nuvola Info servicesmanager.vala:118: Using service Google Play Music from /home/mpdeimos/.local/share/nuvolaplayer/services/googleplay, version 3.21
    Nuvola Debug main.vala:481: Starting web interface for googleplay: https://play.google.com/music/listen#/now
    Nuvola Debug jsapi.vala:438: Reset main object
    Nuvola Debug mpris.vala:115: Bus acquired: org.mpris.MediaPlayer2.nuvolaplayer, registering objects
    Nuvola Debug mpris.vala:301: MPTIS Player: can-play changed
    Nuvola Debug mpris.vala:301: MPTIS Player: can-pause changed
    Nuvola Debug mpris.vala:301: ...

Read more...

Revision history for this message
Martin Pöhlmann (mpdeimos) wrote :
Download full text (4.3 KiB)

EDIT: Happened after my weekly system update. These ones have been updated:

[2013-07-14 19:21] [PACMAN] upgraded accountsservice (0.6.32-1 -> 0.6.34-1)
[2013-07-14 19:21] [PACMAN] upgraded alsa-lib (1.0.27.1-1 -> 1.0.27.2-1)
[2013-07-14 19:21] [PACMAN] upgraded apache-ant (1.9.1-1 -> 1.9.2-1)
[2013-07-14 19:21] [PACMAN] upgraded boost-libs (1.53.0-2 -> 1.54.0-2)
[2013-07-14 19:21] [PACMAN] upgraded clucene (2.3.3.4-6 -> 2.3.3.4-7)
[2013-07-14 19:21] [PACMAN] upgraded clutter-gtk (1.4.4-2 -> 1.4.4-3)
[2013-07-14 19:21] [PACMAN] upgraded libcups (1.6.2-3 -> 1.6.3-1)
[2013-07-14 19:21] [PACMAN] upgraded qpdf (4.1.0-1 -> 5.0.0-1)
[2013-07-14 19:21] [PACMAN] upgraded cups-filters (1.0.35-1 -> 1.0.35-2)
[2013-07-14 19:21] [PACMAN] upgraded cups (1.6.2-3 -> 1.6.3-1)
[2013-07-14 19:21] [PACMAN] upgraded ekiga (4.0.1-4 -> 4.0.1-5)
[2013-07-14 19:21] [PACMAN] upgraded evince (3.8.2-1 -> 3.8.3-1)
[2013-07-14 19:21] [PACMAN] upgraded gd (2.0.36RC1-6 -> 2.1.0-1)
[2013-07-14 19:21] [PACMAN] upgraded gettext (0.18.2.1-1 -> 0.18.3-1)
[2013-07-14 19:21] [PACMAN] upgraded libgee (0.10.1-1 -> 0.10.2-1)
[2013-07-14 19:21] [PACMAN] upgraded gnome-contacts (3.8.1-1 -> 3.8.2-1)
[2013-07-14 19:21] [PACMAN] upgraded gnome-settings-daemon (3.8.3-1 -> 3.8.3-2)
[2013-07-14 19:21] [PACMAN] upgraded vte-common (0.34.6-1 -> 0.34.7-1)
[2013-07-14 19:21] [PACMAN] upgraded vte3 (0.34.6-1 -> 0.34.7-1)
[2013-07-14 19:21] [PACMAN] upgraded gnome-terminal (3.8.3-1 -> 3.8.4-1)
[2013-07-14 19:21] [PACMAN] upgraded gpgme (1.4.1-1 -> 1.4.2-1)
[2013-07-14 19:21] [PACMAN] upgraded gstreamer (1.0.7-1 -> 1.0.8-1)
[2013-07-14 19:21] [PACMAN] upgraded gst-plugins-base-libs (1.0.7-1 -> 1.0.8-1)
[2013-07-14 19:21] [PACMAN] upgraded opus (1.0.2-2 -> 1.0.3-1)
[2013-07-14 19:21] [PACMAN] upgraded gst-plugins-bad (1.0.7-1 -> 1.0.8-1)
[2013-07-14 19:21] [PACMAN] upgraded gst-plugins-base (1.0.7-1 -> 1.0.8-1)
[2013-07-14 19:21] [PACMAN] upgraded gst-plugins-good (1.0.7-2 -> 1.0.8-1)
[2013-07-14 19:21] [PACMAN] upgraded gtksourceview3 (3.8.1-1 -> 3.8.2-1)
[2013-07-14 19:21] [PACMAN] installed libcl (1.1-3)
[2013-07-14 19:21] [PACMAN] upgraded imagemagick (6.8.6.2-1 -> 6.8.6.4-1)
[2013-07-14 19:21] [PACMAN] upgraded libdrm (2.4.46-1 -> 2.4.46-2)
[2013-07-14 19:21] [PACMAN] upgraded mesa (9.1.4-3 -> 9.1.4-5)
[2013-07-14 19:21] [PACMAN] upgraded mesa-libgl (9.1.4-3 -> 9.1.4-5)
[2013-07-14 19:21] [PACMAN] upgraded intel-dri (9.1.4-3 -> 9.1.4-5)
[2013-07-14 19:21] [PACMAN] upgraded kmod (13-2 -> 14-1)
[2013-07-14 19:21] [PACMAN] upgraded lib32-alsa-lib (1.0.27.1-1 -> 1.0.27.2-1)
[2013-07-14 19:21] [PACMAN] upgraded lib32-libcups (1.6.2-1 -> 1.6.3-1)
[2013-07-14 19:21] [PACMAN] upgraded lib32-gtk2 (2.24.19-1 -> 2.24.20-2)
[2013-07-14 19:21] [PACMAN] upgraded lib32-libgpg-error (1.11-1 -> 1.12-1)
[2013-07-14 19:21] [PACMAN] upgraded lib32-qt4 (4.8.4-5 -> 4.8.5-1)
[2013-07-14 19:21] [PACMAN] upgraded libassuan (2.1.0-1 -> 2.1.1-1)
[2013-07-14 19:21] [PACMAN] upgraded libgphoto2 (2.5.2-1 -> 2.5.2-2)
[2013-07-14 19:21] [PACMAN] upgraded libnl (3.2.21-1 -> 3.2.22-1)
[2013-07-14 19:21] [PACMAN] upgraded libwebp (0.3.1-1 -> 0.3.1-2)
[2013-07-14 19:21] [PACMAN] upgraded nodejs (0.10.12-1 -> 0.10.13-1)
[2013-07...

Read more...

Revision history for this message
Martin Pöhlmann (mpdeimos) wrote :

EDIT2: Downgrading these packages did not fix anything:
              alsa-lib-1.0.27.2-1 gst-plugins-bad-1.0.8-1 gst-plugins-base-1.0.8-1
              gst-plugins-base-libs-1.0.8-1 gst-plugins-good-1.0.8-1 gstreamer-1.0.8-1
              lib32-alsa-lib-1.0.27.2-1

Revision history for this message
Jiří Janoušek (fenryxo) wrote :

The issue is always reproducible if Nuvola Player tries to play music via HTML5 Audio with GStreamer 1.0 backend (Gstreamer 0.10 works great though). Then ‎installed Flash plugin 11.2.202.297 via package nuvolaplayer-flashplugin from Nuvola Player Unstable Builds PPA and the issue disappeared on two U13.04 instances, but still persist on the third one.

I'm descreasing importance, because the issue seems to affect only one service.

Changed in nuvola-player:
importance: Critical → High
Revision history for this message
Jiří Janoušek (fenryxo) wrote :

Note to self: The third U13.04 instance doesn't probably work because npviewer.bin fails to load required libraries. Diff attached.

Revision history for this message
Jiří Janoušek (fenryxo) wrote :

Dear users, could you attach file "npviewer.bin-libs.txt" produced by following command when trying to play? (Please use Add attachment or patch link on bug page instead of services like pastebin.com.)

sudo pmap `pidof npviewer.bin` | awk '{ print $4}' | grep lib | sort | uniq > npviewer.bin-libs.txt

Revision history for this message
Alex Thompson (alexofdoom) wrote :

Attached as requested.

Revision history for this message
KruyKaze (kruykaze) wrote :

I get this error and an empty txt file.

$ sudo pmap `pidof npviewer.bin` | awk '{ print $4}' | grep lib | sort | uniq > npviewer.bin-libs.txt
pmap: argument missing

Revision history for this message
ghislaingeffroy (ghislaingeffroy) wrote :

$ pidof npviewer.bin
$

Don't return any result too (with the arrow turning for at lease 30 sec trying to play song)

Revision history for this message
Jiří Janoušek (fenryxo) wrote :

KruyKaze and ghislaingeffroy: Do you have HTML5 audio turned off in Music labs settings and installed package nuvolaplayer-flashplugin?

Alex Thompson: Same case as in my testing, ALSA libraries are not loaded, so no playback is possible.

Revision history for this message
KruyKaze (kruykaze) wrote :

My bad I didn't have the unstable ppa on this system . I attached the file here.

Revision history for this message
ghislaingeffroy (ghislaingeffroy) wrote :

No, I tryed to make it work without flashplugin as before this bug.
My bad.

Revision history for this message
dominus_sapiens (dominussapiens) wrote :

Same problem as above:

pmap: argument missing

Revision history for this message
Mike L (mikerl) wrote :

Hello there guys!
I'm a bit confused on what's causing this myself. I'm going to try and see if an extension of tweak for Nuvola Player is causing this. Anyhow, won't play on Google Music here either. See the attachment for details. Also doesn't work regardless if HTML5 audio is on or off.

Revision history for this message
Mike L (mikerl) wrote :

Also if this helps, you can try disabling any extension for the player and disabling any tweaks to the service and it will still do the same thing. It seems to just spin and spin the arrow next to the song title at an attempt to stream, but fails. So hopefully that will assist in further isolating the problem.

Revision history for this message
Jiří Janoušek (fenryxo) wrote :

The problem seems to be somewhere in WebKitGtk-libsoup-Flash-ALSA stack, not in Nuvola Player. Google Music doesn't work in WebKit's GtkLauncher neither.

MOZ_PLUGIN_PATH=/opt/nuvolaplayer/flash/wrapped \
/usr/lib/webkitgtk-3.0-0/libexec/GtkLauncher \
https://play.google.com/music

Revision history for this message
LaSombra (lasombra-br) wrote :

Same thing on Fedora 19 64-bits compiled by hand.

Was working very well before. Now Flash and HTML5 don't work.

From Flash Support:
Navigator: Mozilla/5.0 (X11; Linux x86_64)
AppleWebKit/537.32 (KHTML, like Gecko)
Chromium/25.0.1349.2 Chrome/25.0.1349.2
Safari/537.32

Flash.installed: true
Flash.major: 11
Flash.minor: 2
Flash.revision: 202
Flash.revisionStr: r202
Flash.raw: Shockwave Flash 11.2 r202

description: updated
tags: added: google-music webkit
removed: ubuntuslov
description: updated
Revision history for this message
Mike L (mikerl) wrote :

Since the underlying cause appears to affect multiple distros and recently popped up with newer packages, I left a message for the GNOME developers. We need to track down this bug. I suspect since it affects such a broad amount of Linux distros, the problem needs the help of a GNOME developer or someone at Google or Adobe (possibly, just an educated guess) to be fixed. So, seeing as donations were almost complete for the GNOME Fundraiser, I left some cash along with a message for anyone responsible for the package to see if the bug occurs upstream, or is just something certain distros have "patched" resulting in this bug. Anyhow, I figured kill THREE birds with one stone - fix a bug in Nuvola that stems from another application by fixing a (possible) GNOME bug that will also fix other applications, while at the same time fueling donations to make work like this possible. I believe this is out of Jiří's direct control, so getting the attention of the GNOME people shouldn't be in vain. I mean, as the developer for Nuvola, you could possibly fix this, but since it's not your application that's causing the issue, I figured you don't need even more extra unpaid work. So, after having worked with GNOME's developers before (despite all the negative stigma) they will either fix the bug or get us pointed in the right direction. I sounded the alarms and help should be on the way when time permits.

Revision history for this message
dominus_sapiens (dominussapiens) wrote :

Many thanks for that - I am sure the contribution will be greatly appreciated!

Revision history for this message
KruyKaze (kruykaze) wrote : Re: [Bug 1200818] Re: Google music stoppped playing any songs
Download full text (3.3 KiB)

Do you have a link to that bug report Mike? Thanks.
On Jul 20, 2013 1:00 PM, "Mike L" <email address hidden> wrote:

> Since the underlying cause appears to affect multiple distros and
> recently popped up with newer packages, I left a message for the GNOME
> developers. We need to track down this bug. I suspect since it affects
> such a broad amount of Linux distros, the problem needs the help of a
> GNOME developer or someone at Google or Adobe (possibly, just an
> educated guess) to be fixed. So, seeing as donations were almost
> complete for the GNOME Fundraiser, I left some cash along with a message
> for anyone responsible for the package to see if the bug occurs
> upstream, or is just something certain distros have "patched" resulting
> in this bug. Anyhow, I figured kill THREE birds with one stone - fix a
> bug in Nuvola that stems from another application by fixing a (possible)
> GNOME bug that will also fix other applications, while at the same time
> fueling donations to make work like this possible. I believe this is out
> of Jiří's direct control, so getting the attention of the GNOME people
> shouldn't be in vain. I mean, as the developer for Nuvola, you could
> possibly fix this, but since it's not your application that's causing
> the issue, I figured you don't need even more extra unpaid work. So,
> after having worked with GNOME's developers before (despite all the
> negative stigma) they will either fix the bug or get us pointed in the
> right direction. I sounded the alarms and help should be on the way when
> time permits.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1200818
>
> Title:
> Google music stoppped playing any songs
>
> Status in Nuvola Player:
> Triaged
>
> Bug description:
> Issue
> =====
>
> Google Play Music suddenly stopped playing music and shows spinning
> arrow regardless if HTML5 audio is on or off. Other services do work.
>
> The issue seems to occur only on newer systems (Ubuntu 13.04, Arch
> Linux, Fedora 19) and is not reproducible on older systems (Ubuntu
> 12.04 & 12.10, Debian 7).
>
> Status
> ======
>
> A cause of the issue is still unknown.
>
> Notes
> =====
>
> 1) The issue is reproducible only on two of my four U13.04 instances.
>
> 2) The problem is also reproducible in WebKit's GtkLauncher, so there
> is probably no bug in Nuvola Player itself.
>
> MOZ_PLUGIN_PATH=/opt/nuvolaplayer/flash/wrapped \
> /usr/lib/webkitgtk-3.0-0/libexec/GtkLauncher \
> https://play.google.com/music
>
> 3) Nspluginwrapper's npviewer.bin doesn't have loaded ALSA libraries.
>
> sudo pmap `pidof npviewer.bin` | awk '{ print $4}' | grep lib | sort |
> uniq
>
> 4) Nuvola Player doesn't appear in pavucontrol.
>
> Original report
> ===============
>
> It was working yesterday. I have been using HTML5 before. Tried both
> HTML5 ON and OFF , installed the unstable from PPA, tried stable with
> nuvolaplayer-flashplugin , reset and purged everything and tried
> different things for hours . Still fails to play any song.
>
> Currently on Ubuntu 13.04 64bit Nuvolaplayer 2.0.4 and...

Read more...

Revision history for this message
Mike L (mikerl) wrote : Re: Google music stoppped playing any songs

There's no upstream bug report in GNOME... Yet anyhow. There will be as soon as I am told what package this affects and I can get ahold of enough log files to file a report with GNOME. Since I have yet to file the bug report (sorry if I came across as having filed it yet) I will get on filing a bug report ASAP. First, I'll need to know the package(s) affected. Then, I'll need to get some more detailed logs, from either myself or a Nuvola user/developer, and then I'll finally have to get someone (likely from GNOME) to track this bug down and confirm it's a bug in a pure GNOME package, not just Ubuntu's package of whatever. Finally I can link back here and we can get some noticable progress towards fixing this. So I need some help.

Revision history for this message
Mike L (mikerl) wrote :

So first answer me this - what package is affected by this bug?

Revision history for this message
KruyKaze (kruykaze) wrote : Re: [Bug 1200818] Re: Google music stoppped playing any songs

I do not know. I thought you did . My guess would be webkitgtk-3.0-0 ?

On Sat, Jul 20, 2013 at 3:39 PM, Mike L <email address hidden> wrote:

> So first answer me this - what package is affected by this bug?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1200818
>
> Title:
> Google music stoppped playing any songs
>
> Status in Nuvola Player:
> Triaged
>
> Bug description:
> Issue
> =====
>
> Google Play Music suddenly stopped playing music and shows spinning
> arrow regardless if HTML5 audio is on or off. Other services do work.
>
> The issue seems to occur only on newer systems (Ubuntu 13.04, Arch
> Linux, Fedora 19) and is not reproducible on older systems (Ubuntu
> 12.04 & 12.10, Debian 7).
>
> Status
> ======
>
> A cause of the issue is still unknown.
>
> Notes
> =====
>
> 1) The issue is reproducible only on two of my four U13.04 instances.
>
> 2) The problem is also reproducible in WebKit's GtkLauncher, so there
> is probably no bug in Nuvola Player itself.
>
> MOZ_PLUGIN_PATH=/opt/nuvolaplayer/flash/wrapped \
> /usr/lib/webkitgtk-3.0-0/libexec/GtkLauncher \
> https://play.google.com/music
>
> 3) Nspluginwrapper's npviewer.bin doesn't have loaded ALSA libraries.
>
> sudo pmap `pidof npviewer.bin` | awk '{ print $4}' | grep lib | sort |
> uniq
>
> 4) Nuvola Player doesn't appear in pavucontrol.
>
> Original report
> ===============
>
> It was working yesterday. I have been using HTML5 before. Tried both
> HTML5 ON and OFF , installed the unstable from PPA, tried stable with
> nuvolaplayer-flashplugin , reset and purged everything and tried
> different things for hours . Still fails to play any song.
>
> Currently on Ubuntu 13.04 64bit Nuvolaplayer 2.0.4 and GoogleMusic 3.21
> . Let me know if you need more info.
> Thanks.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/nuvola-player/+bug/1200818/+subscriptions
>

Revision history for this message
Mike L (mikerl) wrote : Re: Google music stoppped playing any songs

Nope, but your guess did help me get on the right track. See:

https://bugs.webkit.org/show_bug.cgi?id=118945

It would be nice if you all (including Jiří, when he has time if needed) could help me push this bug along. Seeing as it effects multiple distros my bet is first I'll have to get the attention of a GNOME or Webkit developer so I can debug the problem further (I am not used to debugging Webkit issues, yet) and then after those guys fix it, I will report it to Ubuntu asking them to include the patch that the GNOME developers more than likely will cook up. It will be up to you guys to see if it effects your Linux distro and asking them to patch it. I can try to get the Ubuntu people to patch our version of libwebkitgtk-3.0.0. But I need help if you guys want Google Music to work again on every single distro affected by the bug.

affects: nuvola-player → webkit (Ubuntu)
Revision history for this message
Mike L (mikerl) wrote :

Sorry about that. Trying to mark it as affecting both Nuvola Player and libwebkitgtk-3.0-0.

affects: webkit (Ubuntu) → nuvola-player
Revision history for this message
Mike L (mikerl) wrote :

Also for anyone wishing to help me advance this bug, see also http://webkitgtk.org/
And yes there is an entire IRC channel dedicated to the library #webkitgtk+ at irc.freenode.org
You call can use these resouces as well to investigate this bug.

Revision history for this message
KruyKaze (kruykaze) wrote : Re: [Bug 1200818] Re: Google music stoppped playing any songs

I just did a +1 on that bug report.

On Sat, Jul 20, 2013 at 5:22 PM, Mike L <email address hidden> wrote:

> Also for anyone wishing to help me advance this bug, see also
> http://webkitgtk.org/
> And yes there is an entire IRC channel dedicated to the library
> #webkitgtk+ at irc.freenode.org
> You call can use these resouces as well to investigate this bug.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1200818
>
> Title:
> Google music stoppped playing any songs
>
> Status in Nuvola Player:
> Triaged
>
> Bug description:
> Issue
> =====
>
> Google Play Music suddenly stopped playing music and shows spinning
> arrow regardless if HTML5 audio is on or off. Other services do work.
>
> The issue seems to occur only on newer systems (Ubuntu 13.04, Arch
> Linux, Fedora 19) and is not reproducible on older systems (Ubuntu
> 12.04 & 12.10, Debian 7).
>
> Status
> ======
>
> A cause of the issue is still unknown.
>
> Notes
> =====
>
> 1) The issue is reproducible only on two of my four U13.04 instances.
>
> 2) The problem is also reproducible in WebKit's GtkLauncher, so there
> is probably no bug in Nuvola Player itself.
>
> MOZ_PLUGIN_PATH=/opt/nuvolaplayer/flash/wrapped \
> /usr/lib/webkitgtk-3.0-0/libexec/GtkLauncher \
> https://play.google.com/music
>
> 3) Nspluginwrapper's npviewer.bin doesn't have loaded ALSA libraries.
>
> sudo pmap `pidof npviewer.bin` | awk '{ print $4}' | grep lib | sort |
> uniq
>
> 4) Nuvola Player doesn't appear in pavucontrol.
>
> Original report
> ===============
>
> It was working yesterday. I have been using HTML5 before. Tried both
> HTML5 ON and OFF , installed the unstable from PPA, tried stable with
> nuvolaplayer-flashplugin , reset and purged everything and tried
> different things for hours . Still fails to play any song.
>
> Currently on Ubuntu 13.04 64bit Nuvolaplayer 2.0.4 and GoogleMusic 3.21
> . Let me know if you need more info.
> Thanks.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/nuvola-player/+bug/1200818/+subscriptions
>

Revision history for this message
Jiří Janoušek (fenryxo) wrote : Re: Google music stoppped playing any songs

It seems I've figured out why MP3 playback via HTML5 Audio fails. Google Play Music uses a MP3 file embedded in a data URI to check support for HTML5 Audio, but the test never finishes (spinning arrow) because an issue in GStreamer 1.0. I will contact someone at GStreamer's IRC room to get help with this issue.

Revision history for this message
Mike L (mikerl) wrote :

Well, that explains the HTML5 audio issue, good luck with that. Two questions - should I keep that bug report open relating to libwebkitgtk-3.0.0? Because Flash still has playback issues. And also, since this is an issue with GStreamer, and I use the Fluendo Codec Pack, (which user GStreamer) should I contact the Fluendo people as well? Fluendo Codec Pack isn't open source, but I do pay for suppport, so they should be able to fix it if they need to. I'm just wondering with regards to Fluendo Codec Pack since it utilizes GStreamer.

Revision history for this message
Jiří Janoušek (fenryxo) wrote : Re: [Bug 1200818] Re: Google music stoppped playing any songs

From GStreamer IRC: Tim-Philipp Muller (__tim) was able to reproduce
the issue in Gstreamer 1.0.x, but it seems to be already fixed in git
master (development branch). I've created a bug report against
Ubuntu's GStreamer package[1]. Please, read the bug report, try to
reproduce the issue with and click "This bug affects me too".

[1] https://bugs.launchpad.net/ubuntu/+source/gstreamer1.0/+bug/1204672

On Mon, Jul 22, 2013 at 4:31 PM, Mike L <email address hidden> wrote:
> Well, that explains the HTML5 audio issue, good luck with that.

> Two
> questions - should I keep that bug report open relating to
> libwebkitgtk-3.0.0? Because Flash still has playback issues.

I would keep it open for now.

> And also,
> since this is an issue with GStreamer, and I use the Fluendo Codec Pack,
> (which user GStreamer) should I contact the Fluendo people as well?
> Fluendo Codec Pack isn't open source, but I do pay for suppport, so they
> should be able to fix it if they need to. I'm just wondering with
> regards to Fluendo Codec Pack since it utilizes GStreamer.

If you have Fluendo Codec Pack for GStreamer 1.0 (not 0.10) and are
able to reproduce issue with `gst-launch-1.0 playbin
uri="data:audio/mpeg;base64,//DATA HERE"` from the bug report above,
you could contact then. However, I would suggest you to post a log
here before doing so.

Revision history for this message
Jiří Janoušek (fenryxo) wrote :

Could anybody try to run Nuvola Player with following environment variables?

GST_PLUGIN_SYSTEM_PATH=/dev/null GST_PLUGIN_PATH=/dev/null nuvolaplayer -D

This hack should make GStreamer backend completely non-functional, so
Google Play Music should fall back to Flash plugin based playback.

  status incomplete

Changed in nuvola-player:
status: Triaged → Incomplete
Revision history for this message
dominus_sapiens (dominussapiens) wrote : Re: Google music stoppped playing any songs
Download full text (4.0 KiB)

I get this as a result:

GST_PLUGIN_SYSTEM_PATH=/dev/null GST_PLUGIN_PATH=/dev/null nuvolaplayer
No bp log location saved, using default.
[000:000] Browser XEmbed support present: 1
[000:000] Browser toolkit is Gtk2.
[000:001] Using Gtk2 toolkit
No bp log location saved, using default.
Gtk-Message: Failed to load module "overlay-scrollbar"

(npviewer.bin:4387): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:4387): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:4387): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:4387): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:4387): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:4387): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:4387): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:4387): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:4387): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:4387): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:4387): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:4387): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:4387): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:4387): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:4387): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:4387): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:4387): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:4387): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:4387): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:4387): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:4387): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:4387): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:4387): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:4387): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:4387): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:4387): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:4387): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:4387): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:4387): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:4387): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npview...

Read more...

Revision history for this message
Fishbowler (dan-caseley) wrote :
Download full text (14.3 KiB)

I get the same crash after trying this.

I went from stable release suffering the problem. I changed my repo to unstable to install nuvola-flashplugin, upgraded nuvolaplayer to the current unstable, applied the env's using export and ran nuvolaplayer -D. The client launches, and gets to perhaps 20% of loading the Google Play library before the crash.

I also ran the same build of nuvolaplayer with the same command from another shell (so no env's) - this still launches and still suffers the same "wheeling" issue on playback as before.

nuvolaplayer -D
    Nuvola Info nuvolaplayer.vala:147: Welcome to Nuvola Player Unstable, development version: 2.1~r729.unstable
    Nuvola Info nuvolaplayer.vala:149: Revision: 729, <email address hidden>
    Nuvola Info nuvolaplayer.vala:150: Report any issues/bugs you might find to http://nuvolaplayer.fenryxo.cz/support/bug_reporting.html
    Nuvola Debug nuvolaplayer.vala:151: command: /usr/lib/nuvolaplayer/nuvolaplayer -D
    Nuvola Debug nuvolaplayer.vala:153: Enabled features: Unity Quicklist, optimization of SVG images, Last.fm scrobbling, Notifications, experimental features, debug symbols, debug memory usage
    Nuvola Debug nuvolaplayer.vala:154: Disabled features:
       Gtk Debug Connecting to session manager
    Nuvola Debug nuvolaplayer.vala:219: Application activated
   Diorite Debug Libsoup version: 2.40.3
 <unknown> Debug NP_Initialize
 <unknown> Debug NP_Initialize succeeded
java version "1.7.0_25"
OpenJDK Runtime Environment (IcedTea 2.3.10) (7u25-2.3.10-1ubuntu0.13.04.2)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)

(npviewer.bin:4360): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:4360): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:4360): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(npviewer.bin:4360): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(npviewer.bin:4360): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:4360): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(npviewer.bin:4360): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(npviewer.bin:4360): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:4360): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:4360): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(npviewer.bin:4360): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:4360): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:4360): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:4360): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:4360): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(npviewer.bin:4360): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(npviewer.bi...

Revision history for this message
Martin Pöhlmann (mpdeimos) wrote :

exactly the same on arch linux / 64 bit

description: updated
tags: added: flashplayer gstreamer
removed: webkit
Changed in nuvola-player:
status: Incomplete → Triaged
Revision history for this message
Jiří Janoušek (fenryxo) wrote :

Could you install package nuvolaplayer 2.1~r738.unstable.gstbug-1~raring from Bugfix Builds PPA[1] (Ubuntu 13.04) or build from branch lp:~fenryxo/nuvola-player/disable-gstreamer [2] (Arch Linux) and report results of following steps?

[1] https://launchpad.net/~nuvola-player-builders/+archive/bugfix
[2] https://code.launchpad.net/~fenryxo/nuvola-player/disable-gstreamer

0. Make sure you have installed a compatible Flash plugin.
1. Run Nuvola Player and load Google Play Music. Is the spinning arrow issue reproducible?
2. Go to menu Application → Preferences → tab Service and turn off HTML5 Audio. Is the spinning arrow issue reproducible?
3. Quit Nuvola Player (Application → Quit) and start it again. Does it crash? Is the spinning arrow issue reproducible?

Changed in nuvola-player:
status: Triaged → Incomplete
Revision history for this message
LaSombra (lasombra-br) wrote :
Download full text (8.3 KiB)

Didn't start on Fedora 19 x86_64. A window appears, says "Loading Music Library..."
Shows a warning "Some streaming services might not be able to play music because of missing plugins". If I click on "More details" it shows I have Flash support but not HTML Audio support due to the lack o GStreamer, which I guess it's fine for this test.

$ ./build/nuvolaplayer -v -D
    Nuvola Info nuvolaplayer.vala:143: Welcome to Nuvola Player Unstable, development version: 2.1~r738.unstable
    Nuvola Info nuvolaplayer.vala:145: Revision: 738, <email address hidden>
    Nuvola Info nuvolaplayer.vala:146: Report any issues/bugs you might find to http://nuvolaplayer.fenryxo.cz/support/bug_reporting.html
    Nuvola Debug nuvolaplayer.vala:147: command: ./build/nuvolaplayer -v -D
    Nuvola Debug nuvolaplayer.vala:149: Enabled features: Last.fm scrobbling, Notifications, experimental features, debug symbols, debug memory usage
    Nuvola Debug nuvolaplayer.vala:150: Disabled features: Unity Quicklist, optimization of SVG images
       Gtk Debug Connecting to session manager
    Nuvola Debug nuvolaplayer.vala:216: Application activated
   Diorite Debug Libsoup version: 2.42.2
  GLib-GIO Critical g_file_get_uri: assertion `G_IS_FILE (file)' failed
    Nuvola Debug nuvola-formatsupport.vala:98: Unable to init GStreamer 0.10.36, maybe already initialized
   Diorite Debug Max data cache size: 100
   libsoup Warning No feature manager for feature of type 'SoupProxyURIResolver'
   Diorite Debug No proxy settings applied.
No bp log location saved, using default.
[000:000] Browser XEmbed support present: 1
[000:000] Browser toolkit is Gtk2.
[000:002] Using Gtk2 toolkit
No bp log location saved, using default.
    Nuvola Debug nuvola-formatsupport.vala:214: WebPlugin: Google Talk Plugin (false): /usr/lib64/mozilla/plugins/libnpgoogletalk.so
    Nuvola Debug nuvola-formatsupport.vala:214: WebPlugin: Google Talk Plugin Video Renderer (false): /usr/lib64/mozilla/plugins/libnpo1d.so
    Nuvola Debug nuvola-formatsupport.vala:214: WebPlugin: Shockwave Flash (true): /opt/nuvolaplayer/flash/wrapped/npwrapper.libflashplayer.so
    Nuvola Debug nuvola-formatsupport.vala:214: WebPlugin: Java Plug-in 1.7.0_25 (false): /usr/lib64/mozilla/plugins/libnpjp2.so
    Nuvola Debug nuvola-formatsupport.vala:214: WebPlugin: Java(TM) Plug-in 1.7.0_13 (false): /usr/lib/mozilla/plugins/libnpjp2.so
    Nuvola Debug nuvola-formatsupport.vala:140: Built with Gstreamer 0.10.36
 <unknown> Warning Can't load fallback CSS resource: Failed to import: The resource at '/org/gnome/adwaita/gtk-fallback.css' does not exist
 <unknown> Warning Can't load fallback CSS resource: Failed to import: The resource at '/org/gnome/adwaita/gtk-fallback.css' does not exist
    Nuvola Critical mainwindow.vala:188: Unable to find UI description file
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated.
    Nuvola Debug extension.vala:34: new Extension: trayicon
    Nuvola Info extensionsmanager.vala:91: Extension with id 'trayicon' loaded.
    Nuvola De...

Read more...

Revision history for this message
Vitali Kulikou (sabotatore) wrote :

0. sure
1. reproducible
2. not sure
3. Works fine w/ note: I had to reset state of user interface to load google music services after this step.

Revision history for this message
LaSombra (lasombra-br) wrote :

Fedora 19 x86_64 core dump

Revision history for this message
Jiří Janoušek (fenryxo) wrote :

I forgot to mention it is necessary to reload Google Play (menu Go → Refresh) in step 2. Updated instructions are:

0. Make sure you have installed a compatible Flash plugin.
1. Run Nuvola Player and load Google Play Music. Is the spinning arrow issue reproducible?
2. Go to menu Application → Preferences → tab Service and turn off HTML5 Audio. Reload page (menu Go → Refresh). Is the spinning arrow issue reproducible?
3. Quit Nuvola Player (Application → Quit) and start it again. Does it crash? Is the spinning arrow issue reproducible?

Vitali Kulikou, thanks for your feedback.

Ingo Hoffman, you have built Nuvola Player with Gstreamer 0.10, try to rebuild it with Gstreamer 1.0, see file INSTALL for help.
> Nuvola Debug nuvola-formatsupport.vala:140: Built with Gstreamer 0.10.36

Revision history for this message
Marvin Damschen (marvin-damschen) wrote :

With Bugfix Builds PPA (Ubuntu 13.04):
0. sure
1. reproducible
2. works fine
3. works fine

Revision history for this message
Martin Pöhlmann (mpdeimos) wrote :

Compiled from lp:~fenryxo/nuvola-player/disable-gstreamer on arch linux 64.

1. no playback (although also no spinning wheel)
2. playback (also all access)
2. playback (also all access)

Thanks for providing a fix, having no media key controls is very annoying.

Revision history for this message
KruyKaze (kruykaze) wrote :

Still broken on my Ubuntu 13.04 64bit system.

-Installed from bug fix ppa ( kept the unstable ppa as well )
-followed all the steps to install compatible flash plugin
-reset cache/interface/settings etc...
-tried with html5 and without .
-refreshed and restarted many times.
Still spinning arrow of death!

Log: http://pastebin.com/P54Lzcvy

Revision history for this message
Jiří Janoušek (fenryxo) wrote : Re: [Bug 1200818] Re: Google music stoppped playing any songs

On Tue, Jul 30, 2013 at 1:07 AM, KruyKaze <email address hidden> wrote:
> Still broken on my Ubuntu 13.04 64bit system.
> Log: http://pastebin.com/P54Lzcvy

Are you sure you have turned HTML5 backend off in Nuvola Player
preferences (menu Application → Preferences → tab Service → turn off
HTML5 Audio and menu Go → Refresh)? I cannot see it in the log.

Revision history for this message
KruyKaze (kruykaze) wrote :

My bad I thought I needed to disable it in "music labs".
It is working now awesome!
On Jul 30, 2013 1:40 AM, "Jiří Janoušek" <email address hidden> wrote:

> On Tue, Jul 30, 2013 at 1:07 AM, KruyKaze <email address hidden> wrote:
> > Still broken on my Ubuntu 13.04 64bit system.
> > Log: http://pastebin.com/P54Lzcvy
>
> Are you sure you have turned HTML5 backend off in Nuvola Player
> preferences (menu Application → Preferences → tab Service → turn off
> HTML5 Audio and menu Go → Refresh)? I cannot see it in the log.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1200818
>
> Title:
> Google music stoppped playing any songs
>
> Status in Nuvola Player:
> Incomplete
>
> Bug description:
> Issue
> =====
>
> Google Play Music suddenly stopped playing music and shows spinning
> arrow regardless if HTML5 audio is on or off. Other services do work.
>
> The issue seems to occur only on newer systems (Ubuntu 13.04, Arch
> Linux, Fedora 19) and is not reproducible on older systems (Ubuntu
> 12.04 & 12.10, Debian 7).
>
> Status
> ======
>
> The cause of the issue is known, but no working workaround has been
> found yet.
>
> Background
> ==========
>
> Google Play Music recently introduced a mechanism to check support of
> HTML5 Audio technology. It tries to play a particular MP3 file encoded
> in data uri. Unfortunately, the playback request never finishes
> because of the bug #1204672 in GStreamer 1.0.x (both GStreamer 0.10.x
> and current development branch do work) and Google Play shows spinning
> arrow forever. This check is always performed regardless if HTML5
> audio is on or off in Music labs settings.
>
> https://bugs.launchpad.net/ubuntu/+source/gstreamer1.0/+bug/1204672
>
> As a workaround, it is possible to make GStreamer backend non-
> functional by specifying fake plugin path, so Google Play Music falls
> back to Flash plugin based playback:
>
> GST_PLUGIN_SYSTEM_PATH=/dev/null GST_PLUGIN_PATH=/dev/null
> nuvolaplayer
>
> Unfortunately, the NSPlugin Viewer crashes during loading of Google
> Play Music web interface:
>
> *** NSPlugin Viewer *** ERROR: rpc_end_sync called when not in sync!
> Segmentation fault (core dumped)
>
> Original report
> ===============
>
> It was working yesterday. I have been using HTML5 before. Tried both
> HTML5 ON and OFF , installed the unstable from PPA, tried stable with
> nuvolaplayer-flashplugin , reset and purged everything and tried
> different things for hours . Still fails to play any song.
>
> Currently on Ubuntu 13.04 64bit Nuvolaplayer 2.0.4 and GoogleMusic 3.21
> . Let me know if you need more info.
> Thanks.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/nuvola-player/+bug/1200818/+subscriptions
>

Revision history for this message
Jiří Janoušek (fenryxo) wrote : Re: Google music stoppped playing any songs

So it seems we have found a workaround for the GStreamer bug. Ugly, but working. I will commit it to trunk branch and backport it to stable series soon.

Changed in nuvola-player:
status: Incomplete → In Progress
description: updated
Revision history for this message
Jiří Janoušek (fenryxo) wrote :

Thanks for taking time to help with searching for a cause of the issue and testing workarounds.

Fix committed to lp:nuvola-player as r731. Will be available in next unstable builds and will released in Nuvola Player 2.1.0.
<http://bazaar.launchpad.net/~fenryxo/nuvola-player/trunk/revision/731>

The fix won't be backported to the current stable series 2.0.x, because it introduces new dependency (libgstreamer).

Changed in nuvola-player:
milestone: none → 2.1.0
status: In Progress → Fix Committed
description: updated
description: updated
Revision history for this message
KruyKaze (kruykaze) wrote :

I noticed that this workaround also fixes the bug where a song will replay from the beginning when you pause it for a certain period of time.

Revision history for this message
Mike L (mikerl) wrote :

Well, sorry for taking so long. I upgraded my laptop and had to start fresh. Anyhow, after typing in what Jiří said earlier, here is the output. I have the latest version of Fluendo Codec Pack installed. Can anyone tell if this is the same/similar error from the output on the terminal?:
mike@mike-Aspire-X1430:~$ gst-launch-1.0 playbin uri="data:audio/mpeg;base64,//DATA HERE"
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind: Could not determine type of stream.
Additional debug info:
gsttypefindelement.c(1044): gst_type_find_element_loop (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
mike@mike-Aspire-X1430:~$

And if that is the same error, where would I look for the log file?

Revision history for this message
Mike L (mikerl) wrote :

I just reported this bug report, along with the details and links to not only this bug report, but the GNOME and Ubuntu bug report to the Fluendo support team. I'll update on how stuff goes on their end. Hopefully with all these people aware of the bug, it will be fixed without a dirty hack sometime in the future.

Revision history for this message
Jiří Janoušek (fenryxo) wrote : Re: [Bug 1200818] Re: Google music stoppped playing any songs

> Hopefully with
> all these people aware of the bug, it will be fixed without a dirty hack
> sometime in the future.

The bug has already fixed in a development branch. See
https://bugs.launchpad.net/ubuntu/+source/gstreamer1.0/+bug/1204672

Also, you can close the bug you have filled in WebKit bugzilla, the
issue is in GStreamer, not in WebKit.

Revision history for this message
Jiří Janoušek (fenryxo) wrote : Re: Google music stoppped playing any songs

The fix has been released in a freshly baken Nuvola Player 2.1.0,
download it while it is still hot. Happy listening!

http://nuvolaplayer.fenryxo.cz/download.html
http://nuvolaplayer.fenryxo.cz/releases/2.1.html

I'm trying to crowd-fund my work on Nuvola Player via Gittip.
If the fix has made you happy, please consider setting up
a small recurrent donation to support further maintenance
and development. Thank you.

https://www.gittip.com/NuvolaPlayer/

Changed in nuvola-player:
status: Fix Committed → Fix Released
Revision history for this message
Jiří Janoušek (fenryxo) wrote :

Colin Guthrie posted on Google+ page:

FWIW, I did a little digging into the Google Music + GST problem.

I dug a bit in the GST code and the basic problem is that URLs decoded via dataurisrc seem to operate in "pull" mode and even although the "caps" are supplied, the "type find" system does not do a query for caps when operating in pull mode, so tries to guess the type from the URIs "extension" and (obviously) fails miserably.

Even if I hack the dataurisrc to fake the URL to the rest of the pipeline (i.e. give it a .mp3 extension) it still fails, but I suspect this is simply due to one frame not being enough data for detection, which is all the base64 encoded data contains (piping the data through base64 -d and playing with playbin fails with the same detection error, but setting up a manual pipeline decodes it fine, suggesting that the fix in GST is indeed to honour any caps set even in pull mode).

I found a reference to a similar problem on the GStreamer-devel mailing list: http://gstreamer-devel.966125.n4.nabble.com/Handling-force-caps-from-playbin-td4665303.html

As I know Sebastian, I've sent him a quick mail to see if there is anything in the works to address this. Will let you know when he gets back to me.

summary: - Google music stoppped playing any songs
+ Google music stoppped playing any songs (GStreamer 1.0; Ubuntu 13.04,
+ Fedora 19)
Revision history for this message
Jiří Janoušek (fenryxo) wrote :

> I've sent him a quick mail to see if there is anything in the works to address this.

The issue doesn't occur in GStreamer 1.1.x, so soemthing has been changed between 1.0.x and 1.1.x.

Revision history for this message
Colin Guthrie (launchpad-colin) wrote :

FWIW, the above comment from me) is more related to https://bugs.launchpad.net/ubuntu/+source/gstreamer1.0/+bug/1204672 I believe as this is a GST issue, not related to code here.

FWIW, I can still reproduce the issue with upstream gstreamer 1.2.2 (both base + plugins-bad for the dataurisrc)

I've got some more info on the usptream bug I reported. https://bugzilla.gnome.org/show_bug.cgi?id=729625

If you can no longer reproduce the issue on your GST install, then it's probably worth a comment on the upstream bug. As mentioned, I can very much still reproduce the problem both with the gst-launch example with the data: uri, or a gst-launch with the data converted to a real file, and inside nuvola player itself as a practical example, and this is with gstreamer 1.2.2.

All the best and I look forward to enjoying what looks like a great player!! :)

Revision history for this message
Colin Guthrie (launchpad-colin) wrote :

OK, so done a little more hacking... and by hackng I mean *hacking* :D

I made a really evil patch for GST that detected this specific test URL and hard-coded the caps. This patch is sufficient to make the test pass with a simple gst-launch-1.0 pipeline on the command line, but sadly this doesn't seem to be enough for Google Music and it still requires the Flash plugin.

From appropriate GST_DEBUG= values, it seems to be querying the duration. I guess it needs to validate that the duration of the decoded audio is correct to ensure the decoder is correct. Sadly I am now at a loss. GST doesn't seem able to supply the duration of the test URL and while I can hack in various values, I'm somewhat stabbing in the dark to work out what duration to try and supply to fool it.

If someone can work what duration it needs, I can maybe try it out.

Anyway, here's the horrible patch to GST to make it play the test URL OK.

Revision history for this message
Jiří Janoušek (fenryxo) wrote :

> FWIW, the above comment from me) is more related to https://bugs.launchpad.net/ubuntu/+source/gstreamer1.0/+bug/1204672 I believe as this is a GST issue, not related to code here.

You are right. This bug report (#1200818) is about which trouble the Gstreamer bug causes to Nuvola Player: the old GST 1.0.x bug made Nuvola Player hang during loading Google Play Music website. However, the new GST 1.2.x bug seems not to have this side effect.

> FWIW, I can still reproduce the issue with upstream gstreamer 1.2.2 (both base + plugins-bad for the dataurisrc)

> If you can no longer reproduce the issue on your GST install, then it's probably worth a comment on the upstream bug. As mentioned, I can very much still reproduce the problem both with the gst-launch example with the data: uri, or a gst-launch with the data converted to a real file, and inside nuvola player itself as a practical example, and this is with gstreamer 1.2.2.

I was not able to reproduce the issue with GST 1.1.x, only with GST 1.0.x. However, I have just tried GST 1.2.4 and it seems to contain a new bug. The both bugs cause GST not to be able to play datauri streams, but there is one significant difference: GST 1.0.x gst-launch-1.0 test command hangs and must be interrupted by Ctrl+C, GST 1.2.4 doesn't hang.

Also, the GST 1.2.4 bug seems not to affect Nuvola Player, I can play music through HTML5/Gstreamer with GST 1.2.4 (with HTML5 Audio enabled in Labs settings and inactive All Access subscription).

> I've got some more info on the usptream bug I reported. https://bugzilla.gnome.org/show_bug.cgi?id=729625

Great, I will post there my observations :-)

Revision history for this message
Ben Davis (bendavis78) wrote :

I'm having the same issue. I'm using nuvolaplayer 2.4.0-1 (package from AUR). When I try to play a song, the loading icon just keeps spinning.

* I have Google Play All Access,
* I have the "Load GStreamer to provide HTML5 Audio support" preference enabled.
* I have the HTML5 mode checked in my google play settings.

These are my currently installed gstreamer packages:

extra/gst-plugins-bad 1.2.4-1 [installed]
extra/gst-plugins-base 1.2.4-1 [installed]
extra/gst-plugins-base-libs 1.2.4-1 [installed]
extra/gst-plugins-good 1.2.4-1 [installed]
extra/gst-plugins-ugly 1.2.4-1 [installed]
extra/gstreamer0.10-base-plugins 0.10.36-3 (gstreamer0.10-plugins) [installed]

Revision history for this message
Jiří Janoušek (fenryxo) wrote :

> I have Google Play All Access,

You have to use Flash plugin then. Google Play All Access doesn't support HTML5 Audio.

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.