just4this Posted April 21, 2012 Report Posted April 21, 2012 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 Program2. or for a single torrent : Torrent propertieswhere 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
Beasly Posted April 21, 2012 Report Posted April 21, 2012 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.
just4this Posted April 22, 2012 Author Report Posted April 22, 2012 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 playervlc.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 playedFrom 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 streamthe 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.batThat's it, have a nice time!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.