[SOLVED]Transmission-Sound doesnt play once torrent finishes

If none of the more specific forums is the right place to ask

[SOLVED]Transmission-Sound doesnt play once torrent finishes

Postby 4joeyirosh1 » 2018-08-24 16:19

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.
Last edited by 4joeyirosh1 on 2018-08-27 11:09, edited 1 time in total.
4joeyirosh1
 
Posts: 37
Joined: 2016-09-11 18:04

Re: Transmission-Sound doesnt play once torrent finishes

Postby debiman » 2018-08-26 08:34

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:
Code: Select all
#!/bin/sh

notify-send "Torrent finished:" "$TR_TORRENT_NAME"
espeak "Torrent finished: $TR_TORRENT_NAME"
exit 0
it works.
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?
User avatar
debiman
 
Posts: 2818
Joined: 2013-03-12 07:18

[SOLVED] Transmission-Sound doesnt play once torrent finishe

Postby 4joeyirosh1 » 2018-08-27 11:09

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:
Code: Select all
#!/bin/sh

notify-send "Torrent finished:" "$TR_TORRENT_NAME"
espeak "Torrent finished: $TR_TORRENT_NAME"
exit 0
it works.
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?


Nice workaround.I installed sox package,appended to your script a line to play customized mp3 file command below and I checked the box on transmission to run the script when torrent finishes and it works beautifully

Code: Select all
#!/bin/sh

notify-send "Torrent finished:" "$TR_TORRENT_NAME"
play torrent_finished.mp3
espeak "Torrent finished: $TR_TORRENT_NAME"
exit 0


Thanks a lot.
4joeyirosh1
 
Posts: 37
Joined: 2016-09-11 18:04

Re: [SOLVED]Transmission-Sound doesnt play once torrent fini

Postby debiman » 2018-08-28 05:33

^ so you like the espeak robot voice :D

it would creep me out to have my computer talking back to me like that (mine's completely silent until i start playing something on it), but to each their own!
User avatar
debiman
 
Posts: 2818
Joined: 2013-03-12 07:18


Return to General Questions

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable