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 December 15th, 2017, 4:05 am

All times are UTC - 7 hours [ DST ]



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: How to: continue seeding in uTorrent and parse the new downl
PostPosted: November 13th, 2013, 1:40 am 
Offline
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/
http://sickbeard.com/forums/viewtopic.php?t=4358

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!


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

Joined: June 6th, 2012, 2:49 am
Posts: 527
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 ;)

_________________
To Enable Debug Logging: HELP > DEBUG > SHOW DEVELOPER LEVEL DEBUGGING
When Asking For Support, Please Provide Your MCM Support Information:
HELP > SUPPORT INFORMATION, Click "COPY ALL", "YES", "OK", "CLOSE" and PASTE in forum.

DELL XPS 9000 / 8G RAM / 8TB HDD, 1TB USB / I7-920 CPU / 2.66 Ghz / GTX 260 1.8G
Win 10 Home x64 / DX 11.0 / Hauppauge WinTV-HVR-2250 / WDTVL SMP Gen3


 Profile  
 Post subject: Re: How to: continue seeding in uTorrent and parse the new d
PostPosted: December 24th, 2014, 7:13 am 
Offline
Downloaded Clip

Joined: December 24th, 2014, 7:04 am
Posts: 1
Save all files - AddToiTunes.vbs, AddToiTunes.cmd, HandbrakeCLI.exe & AtomicParsley.exe to the MCM folder (C:\Program Files (x86)\Media Center Master - for x64 or C:\Program Files\Media Center Master for x86)

_________________
Download high quality ccna exam questions dumps to prepare and pass Testking java certification with oracle certification dumps Also get free demos of www.principiacollege.edu for review of United States Army Command & General Staff College


 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 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-2017, Media Center Master, Inc. All rights reserved.