Welcome to Media Center Master!
A powerful solution for mastering your digital media library.
Supporting Emby, Kodi/XBMC/OSMC, Plex, Windows Media Center, and more!

Home Download Gallery Wiki Issue Tracker Licensing Forums

   FAQ  •  Search •  Login •  Register     
It is currently April 14th, 2021, 3:09 am

All times are UTC - 7 hours [ DST ]

Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: How to: continue seeding in uTorrent and parse the new downl
PostPosted: November 13th, 2013, 1:40 am 
Flash Video

Joined: November 7th, 2013, 6:54 pm
Posts: 10
Sure thing! These 2 links contain most of what I did:

http://forum.utorrent.com/topic/75348-e ... s-scripts/

Obviously they're fairly customized to the respective author's requirements, and I had to do some customizing of my own.

Basically I just simplified them to check the status of the torrent, and if the status matches seeding, then to copy it to my MCM download parser watch directory (these scripts are fairly complex in identifying types of torrents etc but MCM does all that for me already!). I really only kept the "copy single file" and "copy multiple files" parts of the example scripts.

If you go into your uTorrent options - advanced - run program there is a summary of possible arguments to pass a batch script:

You can use the following parameters:

%F - Name of downloaded file (for single file torrents)
%D - Directory where files are saved
%N - Title of torrent
%P - Previous state of torrent
%L - Label
%T - Tracker
%M - Status message string (same as status column)
%I - hex encoded info-hash
%S - State of torrent
%K - kind of torrent (single|multi)

Where State is one of:

Error - 1
Checked - 2
Paused - 3
Super seeding - 4
Seeding - 5
Downloading - 6
Super seed [F] - 7
Seeding [F] - 8
Downloading [F] - 9
Queued seed - 10
Finished - 11
Queued - 12
Stopped - 13

So I just passed it %S as well as a few others already in the example script and did a simple check to make sure it was equal to 5 (seeding) before going and copying. Then in the uTorrent options I set it to run the script when the torrent changes state rather than when it finishes, as I don't believe seeding counts as finished, and I wanted MCM to have access to the files as soon as the download was complete.

This does mean that every time a torrent changes status to anything other than seeding (eg downloading metadata -> downloading) you get a quick command prompt flash as the script executes and quickly checks to realize it's not seeding, but if you can live with that this method works quite well. I haven't played with it too much as far as restarting uTorrent goes, whether it will trigger all seeding torrents to copy again, but I leave my HTPC on all the time anyway.

Pete - maybe you could advise on what MCM's behavior would be if it found an identical movie file in the download parser as is already in the movie directory? Would it clear it out or leave it there? Would it make a duplicate in the movie directory?

Anyway hope this helps someone out there who's aiming for a similar setup!

 Post subject: Re: How to: continue seeding in uTorrent and parse the new d
PostPosted: April 23rd, 2014, 8:02 pm 
Community Support
User avatar

Joined: June 6th, 2012, 2:49 am
Posts: 587
I have never thought about "wanting" to seed and still move/process a download. Maybe an option to Move VS Copy would also allow this, maybe something for a feature request? Personally I would rather get a file and move it 'off' to save bandwidth and other issues, so for me, seeding is the last thing I want but I do appreciate all the seeders who seed past getting their files, bless them all ;)

When Asking For Support, Please Provide Your MCM Support Information:

DELL XPS SE 8930 / I7-8700 CPU - 3.20 Ghz / 16G RAM / Win10 Pro x64 /
250GB SSD, 2x2TB R1, 1TB HDD / DS1019+ NAS 5x6TB SHR-(2)DFT / 1TB USB 3 HDD / nVidia GTX 1070 8GB DDR5 / WDTVLive SMP Gen3

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 7 hours [ DST ]

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Copyright © 2009-2021, Media Center Master, Inc. All rights reserved.