Assertion errors while handling missing plugins
Rhythmbox Version: Git master
Sound doesn't work in running gnome session, due to gnome-shell issue ( gnome-shell#2152 (closed) ). In this case, gstreamer incorrectly reporting the error as missing plugins ( https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/724 ).
While trying to play a song in the above scenario in Rhythmbox, it reports missing plugins, with the following assertion errors.
[crvi@localhost rhythmbox]$ shell/rhythmbox
(lt-rhythmbox:143191): Rhythmbox-WARNING **: 16:03:59.543: Could not open device /dev/radio0
(lt-rhythmbox:143191): RhythmDB-CRITICAL **: 16:05:51.498: rhythmdb_entry_ref: assertion 'entry != NULL' failed
Rhythmbox-Message: 16:05:51.498: Missing plugin: gstreamer|1.0|lt-rhythmbox|MPEG-1 Layer 3 (MP3) decoder|decoder-audio/mpeg, mpegversion=(int)1, layer=(int)3
** Message: 16:05:51.655: PackageKit: xid = 0
** Message: 16:05:51.655: PackageKit: desktop_id = (null)
** Message: 16:05:51.657: PackageKit: Codec nice name: MPEG-1 Layer 3 (MP3) decoder
** Message: 16:05:51.659: PackageKit: field is: mpegversion, type: gint
** Message: 16:05:51.660: PackageKit: field is: layer, type: gint
** Message: 16:05:51.661: PackageKit: structure: gstreamer1(decoder-audio/mpeg)(mpegversion=1)(layer=3)()(64bit)
Rhythmbox-Message: 16:05:51.699: Missing plugins installed. Updating plugin registry ...
(lt-rhythmbox:143191): Rhythmbox-CRITICAL **: 16:05:51.702: rb_shell_player_set_playing_entry: assertion 'entry != NULL' failed
(lt-rhythmbox:143191): RhythmDB-CRITICAL **: 16:05:51.702: rhythmdb_entry_unref: assertion 'entry != NULL' failed
Edited by crvi