#900073 clementine: provide better error message if output device is not available

Package:
clementine
Source:
clementine
Description:
modern music player and library organizer
Submitter:
Sebastian Ramacher
Date:
2018-12-01 19:03:03 UTC
Severity:
minor
#900073#5
Date:
2018-05-25 17:07:22 UTC
From:
To:
Since the last update clementine [1] refuses to play any files. clementine was able
to play these files in previously. I see the following error messages:

18:50:13.677 ERROR GstEnginePipeline:652            12 "gstbaseparse.c(3611): gst_base_parse_loop (): /GstPipeline:pipeline/GstURIDecodeBin:uridecodebin-198/GstDecodeBin:decodebin13/GstFlacParse:flacparse13:\nstreaming stopped, reason not-linked (-1)"

(for flac files)

18:58:48.333 ERROR GstEnginePipeline:652            1 "gstbaseparse.c(3611): gst_base_parse_loop (): /GstPipeline:pipeline/GstURIDecodeBin:uridecodebin-0/GstDecodeBin:decodebin1/GstMpegAudioParse:mpegaudioparse1:\nstreaming stopped, reason not-linked (-1)"

(for mp3 files)

Please let me know if you need any more information.

Cheers

[1] … not necessarily since the last clementine update. This could also be
releated to gstreamer 1.14.1.

#900073#10
Date:
2018-05-29 19:50:06 UTC
From:
To:
severity 900073 important
tags 900073 + moreinfo unreproducible
thanks

Hi Sebastian,

I can't reproduce your issue. I also try to reproduce it by installing
clementine on a fresh sid system and I can play mp3 and flac files.

Can you try to make a backup and remove all possible config directories
located here `~/.config/Clementine{-new/-qt5}`, do an upgrade of your
system and then retry after that?

Also could you give me more info about your system and your desktop
environment as I can try to reproduce your issue.

Thanks,

Thomas

#900073#19
Date:
2018-05-29 20:26:49 UTC
From:
To:
Hi Thomas
* In clementine's preferences under "Playback - Audio output" select some
  removable device.
* Quit clementine.
* Unplug/disconnect/remove the output device.
* Start clementine and try to play a file.

Then clementine is unable to play anything and only reports an internal error
and prints the GstEnginePipeline errors. After setting the output device to an
existing device everything works again. It would be really helpful if clementine
would report a sensible error message like "output device does not exist"
instead of an "internal stream error". Then one would be able to act on it.

Retitled the bug accordingly.

Diffing the new and old config files revealed the above issue.

It's a plain XFCE. But I suppose the issue is unrleated to the DE.

Cheers