Opened 9 years ago

Closed 8 years ago

Last modified 4 years ago

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

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

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

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

comment:2 Changed 7 years ago by Cas

  • Milestone changed from 2.0.x to 2.x

Milestone renamed

comment:3 Changed 4 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.