alarm-clock-applet / alarm-clock

Alarm Clock is a fully-featured alarm clock for use with an AppIndicator implementation.
https://alarm-clock-applet.github.io
GNU General Public License v2.0
118 stars 31 forks source link

Won't trigger/play audio #210

Closed nPHYN1T3 closed 1 year ago

nPHYN1T3 commented 2 years ago

G_MESSAGES_DEBUG=all alarm-clock-applet (same output with or without the debug) ** (alarm-clock-applet:22134): DEBUG: 01:36:53.852: Alarm(0x55d1d44cd180) #0: gconf_dir_changed(): notify_type

(alarm-clock-applet:22134): CRITICAL : 01:36:55.017: Could not create player.

(alarm-clock-applet:22134): CRITICAL : 01:36:55.017: Alarm(0x55d1d44cd180) #0: alarm_error: #1: Could not create player! Please check your sound settings. <-- super vague | audio works for everything else. System is basic alsa and pulse setup on Arch.

lnxfsf commented 1 year ago

issue is with your setup

you can see it in your error: Please check your sound settings. <-- super vague | audio works for everything else. System is basic alsa and pulse setup on Arch.

tatokis commented 1 year ago

There really doesn't seem to be a way for the application to get the reason it failed to open gstreamer, so that's probably why the error is generic like that.

That said, the problem is most likely with your gstreamer installation. If you are still interested, you can try running the application with GST_DEBUG=WARNING alarm-clock-applet to see why it fails to create the player.

nPHYN1T3 commented 1 year ago

Pretty sure I did the debug env which produced nothing. Nothing wrong with gstreamer and as said nothing else has an issue. I just wrote my own system.

tatokis commented 1 year ago

For anyone else stumbling upon this, since I rewrote the dependencies in the Arch package, GST_DEBUG=WARNING did in fact reveal what the issue was.

The playbin plugin is not installed along with the gstreamer package. gst-plugins-base has to be explicitly installed for it.