Opened 9 years ago

Closed 9 years ago

Last modified 5 years ago

#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.

http://stackoverflow.com/a/311634/175584

Change History (3)

comment:1 by Calum, 9 years ago

Component: GTK-UIPlugin
Milestone: 2.02.0.x
Resolution: WontFix
Status: newclosed

Upon further investigation it seems pygame is the easiest solution so will just stick with it.

comment:2 by Calum, 7 years ago

Milestone: 2.0.x2.x

Milestone renamed

comment:3 by Calum, 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.