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

Support for notification daemon #53

Closed
UddipakBhuyan opened this issue Nov 4, 2019 · 7 comments
Closed

Support for notification daemon #53

UddipakBhuyan opened this issue Nov 4, 2019 · 7 comments
Labels
awesome 🤘 enhancement New feature or request help wanted Extra attention is needed

Comments

@UddipakBhuyan
Copy link

Is it possible to implement a system to send a notification after the timer counts to zero using notification daemon like dunst.
Also is the program suppose to play a sound when the timer finishes?

@JaDogg
Copy link
Owner

JaDogg commented Nov 4, 2019

Program is supposed to play a sound. Although there is a change to make it optional happening already. 🤗

I'm not sure about the dunst. Can you explain what kind of advantages we have for using it?

@UddipakBhuyan
Copy link
Author

UddipakBhuyan commented Nov 4, 2019

The sound is not working in my case. Is there any further need for configuration to get the sound working after installing with
pip install pydoro[audio]

A use case of a dunst like notification is when someone would like a visual notification instead of a aural notification in case of silent environment like a library. If one wants to switch off the sound, he would require some visual information of when the timer finishes in case the TUI is in a different workspace.

@JaDogg
Copy link
Owner

JaDogg commented Nov 4, 2019

What is the OS / Python version you are using?
dunst sound like an interesting idea.

@JaDogg JaDogg added enhancement New feature or request help wanted Extra attention is needed labels Nov 4, 2019
@UddipakBhuyan
Copy link
Author

OS: Arch Linux (5.3.8-arch1-1 kernel) with i3 window manager
Python Version: 3.7.4

@JaDogg
Copy link
Owner

JaDogg commented Nov 4, 2019

Probably some issue is happening that's silenced 😢 will need to figure out a way to troubleshoot audio. One way to do it by default supress errors and have a custom parameter to test audio and exit.


Can you try manually installing PyGObject. https://pygobject.readthedocs.io/en/latest/getting_started.html#arch-logo-arch-linux
Better way to do is add a pacman package that install these for you. That require too much work that I don't have time for 😭

@UddipakBhuyan
Copy link
Author

Manual installation didn't help.

@UddipakBhuyan
Copy link
Author

UddipakBhuyan commented Nov 5, 2019

The sound issue is solved. It was probably a dependency issue of GStreamers. Installing the gst-plugins-bad package from arch repository installed the following packages

sdl libdv mjpegtools chromaprint celt libdca libofa libsrtp rtmpdump libmpeg2 ladspa libfdk-aac soundtouch spandsp neon libdc1394 zvbi libbs2b gssdp gupnp gupnp-igd libnice srt raptor liblrdf zbar aalib gst-plugins-good gst-plugins-bad

which seems to fixed it. I am listing the packages in case it might help you to troubleshoot sound issue with linux. Thanks for the help

@JaDogg JaDogg closed this as not planned Won't fix, can't repro, duplicate, stale Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awesome 🤘 enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants