Hi!I am running Debian 9.5 Stretch 64 bit.I have latest version of transmission 2.92-2+deb9u1 installed and from Preferences I have ticked 'Play a sound when torrents finish'.
Unfortunately,when torrents finish no sound is played.
Kindly assist.
#!/bin/sh
notify-send "Torrent finished:" "$TR_TORRENT_NAME"
espeak "Torrent finished: $TR_TORRENT_NAME"
exit 0
debiman wrote:probably only works on a full-blown gnome desktop.
either provide more info, or try this workaround:
do you also have an option to "run script when torrent finishes"?
i do, and i have pointed it to this script:it works.
- Code: Select all
#!/bin/sh
notify-send "Torrent finished:" "$TR_TORRENT_NAME"
espeak "Torrent finished: $TR_TORRENT_NAME"
exit 0
of course that espeak is very ugly, only for testing. you might want to replace it with "aplay nice_ding.wav" or something.
do you know how to use this or should we walk you through it?
#!/bin/sh
notify-send "Torrent finished:" "$TR_TORRENT_NAME"
play torrent_finished.mp3
espeak "Torrent finished: $TR_TORRENT_NAME"
exit 0
Users browsing this forum: Dale and 9 guests