utorrent play sound when download finishes (Page 1) / General / µTorrent Community Forums
 

#1 2012-04-21 08:55:28

just4this
Member

utorrent play sound when download finishes

hi,
i've searched before to post , nothing useful ...
So you can achieve this in 2 settings :

1. General for all torrents : Preferences / Advanced / Run Program

utorrentplaysound.th.png

2. or for a single torrent : Torrent properties

utorrentplaysound1.th.png

where the command is :

cmd /c  start /min "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" "C:\Program Files (x86)\ImgBurn\Sounds\Success.wav"

explanation : the path to the player , mine is :

"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe"

and the path to the file to play , for me it's ok this one :

"C:\Program Files (x86)\ImgBurn\Sounds\Success.wav"

Happy torrenting !

ps: if here it is not the right forum , sorry , maybe a moderator can move it

Last edited by just4this (2012-04-21 08:59:34)

Offline

#2 2012-04-21 10:10:49

Beasly
Member

Re: utorrent play sound when download finishes

Very nice!...But on my 32 Vista machine the player is maximized and doesn't close...

I added this variation "C:\Program Files\K-Lite Codec Pack\Media Player Classic\mpc-hc.exe"  /minimized  /play /close "C:\Windows\Media\laser.wav" and it plays the sound minimized and then closes. Invisible!

I'm going to figure out if i can translate that into a .bat and run it from that.

Offline

#3 2012-04-21 22:28:31

just4this
Member

Re: utorrent play sound when download finishes

hi,

if you like a batch code (.bat file) for VLC here you can have it :

cd "C:\Program Files (x86)\VideoLAN\VLC\"
start vlc.exe --play-and-exit "C:\Program Files (x86)\ImgBurn\Sounds\Success.wav"

where "C:\Program Files (x86)\VideoLAN\VLC\" is the path to your player

vlc.exe is the main executable file

--play-and-exit the switch for VLC to play the file and then close the window automatically

"C:\Program Files (x86)\ImgBurn\Sounds\Success.wav" the file to be played

From the help file of the VLC :

-L, --loop, --no-loop          Repeat all (default disabled)
-R, --repeat, --no-repeat      Repeat current item (default disabled)
      --play-and-exit, --no-play-and-exit
                                 Play and exit (default disabled)
      --play-and-stop, --no-play-and-stop
                                 Play and stop (default disabled)
      --playlist-autostart, --no-playlist-autostart
                                 Auto start (default enabled)
      --media-library, --no-media-library
                                 Use media library (default disabled)
      --playlist-tree, --no-playlist-tree
                                 Display playlist tree (default disabled)
      --open=<string>            Default stream

the help file (vlc-help.txt) of the VLC can be dumped from the command line with one of these switches :

-h, --help, --no-help          print help for VLC (can be combined with
                                 --advanced and --help-verbose) (default
                                 disabled)
-H, --full-help, --no-full-help
                                 Exhaustive help for VLC and its modules
                                 (default disabled)

BUT in this case you have to point uTorrent to the bat file ,
let's say :

C:\Users\YOUR_USER_NAME_HERE\Desktop\playsound.bat

utorrentplaysound.th.png

That's it, have a nice time!

Offline

Board footer

Powered by FluxBB

©2013 BitTorrent, Inc. µTorrent is a trademark of BitTorrent, Inc.