Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Play different sound based on GLib.NotificationPriority #75

Closed
1 task done
marbetschar opened this issue Apr 29, 2020 · 3 comments
Closed
1 task done

Play different sound based on GLib.NotificationPriority #75

marbetschar opened this issue Apr 29, 2020 · 3 comments

Comments

@marbetschar
Copy link
Member

Prerequisites

  • I have searched open and closed issues for duplicates.

Feature

Play an "alert-type" of sound for "URGENT" notifications, keep the "bing-type" of sound for all others

A user of my Time Limit app would love to customize the sound of the notification once the timer ended (see marbetschar/time-limit#32).

IMHO it makes a lot of sense to be able to differentiate types of notifications by sound. Although there is already an existing feature request in GLib, the discussion is stalled - somewhere between full sound customization and providing some predefined categories to choose from.

I feel like we can simply use the GLib.NotificationPriority to play a different sound per priority. I guess the reasoning is kind of the same as GLib.NotificationPriority.URGENT notifications are ignoring Do-Not-Disturb. So at first thought it seems to be appropriate to give it another "sound".

Not quite sure if we should have a unique sound per priority though.

@cassidyjames
Copy link
Contributor

Hmm, interesting. I would be open to trying this out.

@meisenzahl
Copy link
Member

Hmm, interesting. I would be open to trying this out.

You may want to take a look at my implementation: #85

@Marukesu
Copy link
Contributor

Closed by #85.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants