#2760 closed bug (WontFix)
[win32] Use winsound instead of pygame for notification sound
Reported by: | Calum | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 2.x |
Component: | Plugin | Version: | develop |
Keywords: | Cc: |
Description
Having pygame
dependency for just playing sounds seems rather over the top and searching around found that on windows
we can use a standard winsound
module. Will still need an elegant solution for linux
and osx
.
Change History (3)
comment:1 by , 9 years ago
Component: | GTK-UI → Plugin |
---|---|
Milestone: | 2.0 → 2.0.x |
Resolution: | → WontFix |
Status: | new → closed |
comment:3 by , 5 years ago
Looking again at this issue and the code in playsound
module, a cross-platform solution might be possible using playsound or just GStreamer since Deluge is a Gnome application.
https://github.com/TaylorSMarks/playsound/blob/master/playsound.py#L73
Note:
See TracTickets
for help on using tickets.
Upon further investigation it seems pygame is the easiest solution so will just stick with it.