clementine-player / Clementine

:tangerine: Clementine Music Player
https://www.clementine-player.org/
GNU General Public License v3.0
3.72k stars 671 forks source link

GStreamer could not create the element: gsettingsaudiosink #5378

Open MiguelTremblay opened 8 years ago

MiguelTremblay commented 8 years ago

System information

After the update to Ubuntu Xenial Xerus, Clementine does not want to play music any more. A dialog with this error pops up :

GStreamer could not create the element: gsettingsaudiosink. Please make sure that you have installed all necessary GStreamer plugins (e.g. OGG and MP3)

This has already been reported by others. See: http://askubuntu.com/questions/761778/clementine-does-not-play-after-update-to-xenial/770857

Workaround

After investigation, the problem comes from the Clementine config file "$HOME/.config/Clementine/Clementine.conf"

To fix the problem, it is possible to either erase the file, or if one wants to keep its seetings, simply remove the GstEngine section within the file. Here's what mine was looking like:

[GstEngine] sink=gsettingsaudiosink device= rgenabled=false rgmode=0 rgpreamp=@Variant(\0\0\0\x87\0\0\0\0) rgcompression=true bufferduration=1000 monoplayback=false

sithembiso commented 8 years ago

Anyone else having this issue? I tried the above, but I don't have sound still.

Solution commented 8 years ago

Yep, the same issue here, erasing the gstengine section didnt work, erasing complete file also didnt work.

MiguelTremblay commented 8 years ago

If you remove Clementine.conf file completly amd restart Clementine, does it resolve this issue?

tommyjcarpenter commented 7 years ago

I am also having this issue on Arch Linux (fresh isntall). I had gstreamer installed. I fixed this issue with two things: 1) installing moar plugins: yo -S gst-plugins-good gst-plugins-base gst-libav gst-plugins-bad gst-plugins-ugly 2) deleting the Clementine.conf file and rebooting and restarting clementine

It did not work when I did either of these alone.

gleporeNARA commented 7 years ago

Had the problem after re-installed to KDE Neon 64 bit and copying the old 32 bit .conf file over. Deleting the conf file and restart fixed the issue.

sighonara commented 6 years ago

Thank you @MiguelTremblay! I was getting "Gstreamer Internal Error", but this still resolved my issue. Do you know why this is an issue? Something on the Xenial side? Pretty sure I had the same version number of Clementine pre-Xenial.