#2760 closed bug (WontFix)
[win32] Use winsound instead of pygame for notification sound
Reported by: | Cas | 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 Changed 8 years ago by Cas
- Component changed from GTK-UI to Plugin
- Milestone changed from 2.0 to 2.0.x
- Resolution set to WontFix
- Status changed from new to closed
comment:3 Changed 3 years ago by Cas
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.