therenamer.com (FORUM CLOSED, CONTACT ME IF YOU HAVE QUESTIONS)

Awesome Simple Best TV Show Renamer .....with Episode Titles!
It is currently Fri May 24, 2013 8:41 pm

All times are UTC




Post new topic Reply to topic  [ 13 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: uTorrent Interaction
PostPosted: Thu Jul 16, 2009 11:02 pm 
Offline

Joined: Thu Jul 16, 2009 10:55 pm
Posts: 4
I started developing a tool to do pretty much what TheRenamer does before I found it. Main difference is mine is written in PHP and is therefore way more complicated to install and use for most people. Anyways, one of the biggest problems with all the various "fully automated" solutions people put together is simple: uTorrent (the most popular torrent client in the world) does not have an auto-remove option for torrents. The developer has basically said "this will never be a feature" many times, because he doesn't like the idea. So the end result is, you can auto-stop torrents in uTorrent but cannot remove them automagically, which is annoying.

I solved this in my PHP project by talking to the WebUI of uTorrent. Its possible to establish a connection to uTorrent's WebUI, fetch an array containing the current torrents and their statuses, and then send the "remove" command for those which return a status of "Finished", which is exactly what my PHP script does. I'm not a very good programmer, and have no experience with Flash aside from making animations in it, so I have no idea how difficult this would be to implement in TheRenamer, but if its possible to add it, it'll make it "The" killer Windows batch program because this + TED + uTorrent = a FULLY automated TV torrents solution. Are you ever planning on / thinking about making TheRenamer open source?


Top
 Profile  
 
 Post subject: Re: uTorrent Interaction
PostPosted: Thu Jul 16, 2009 11:44 pm 
Offline
Site Admin

Joined: Sun Feb 22, 2009 5:14 pm
Posts: 1526
Location: Matrix World
It never bothers me to remove each torrent manually.
In fact, I'm very hapy to see the status as 'Finished'. the more the better :)

As for Open Source, there's no plans of doing that yet.


Top
 Profile  
 
 Post subject: Re: uTorrent Interaction
PostPosted: Fri Jul 17, 2009 7:03 am 
Offline

Joined: Thu Jul 16, 2009 10:55 pm
Posts: 4
the issue of having "Finished" torrents sitting there is not a big a deal until you throw automation into the mix. Once you start moving files out from under uTorrent, things can sometimes go wrong. uTorrent gets really annoying in some weird error cases.
I solved the issue by writing a ghetto C# command-line utility that does exactly what my PHP script does, sans the web server baggage :) I've now got some sneaky chained batch script ideas in mind, with your program playing a very important and integral part of the process :) Its a shame you won't open source your code, but I totally understand that there are a whole pile of reasons why you wouldn't want to. I will post my work on your forum because I imagine lots of other people may find it interesting. Awesome work man :)


Top
 Profile  
 
 Post subject: Re: uTorrent Interaction
PostPosted: Fri Jul 17, 2009 7:18 am 
Offline
Site Admin

Joined: Sun Feb 22, 2009 5:14 pm
Posts: 1526
Location: Matrix World
"not a big a deal until you throw automation into the mix"

Are you talking about theRenamer's automation? moving files?

I have no problem with uT and theRenamer. Do u set uT to move all completed dl to another folder?
I do that. So all finished files are in 1 folder, which is assigned as the Fetch Folder in theRenamer.


Top
 Profile  
 
 Post subject: Re: uTorrent Interaction
PostPosted: Sun Jul 19, 2009 1:27 pm 
Offline

Joined: Thu Jul 16, 2009 10:55 pm
Posts: 4
I mean any sort of file renaming / moving where uTorrent is concerned. My goal is a totally automated torrenting solution. I finished up the first version of my "uTorrentAutomator" this morning. Two modes: the "remove all the torrents which have a status of Finished" mode, and another one for adding a .torrent file and immediately tagging an arbitrary label onto it. This + TED + a directory watch and some batch scripting = win :)


Top
 Profile  
 
 Post subject: Re: uTorrent Interaction
PostPosted: Fri Oct 16, 2009 3:59 pm 
Offline

Joined: Fri Oct 16, 2009 3:28 pm
Posts: 7
I had an idea that I think might be a good workaround and would be pretty easy to implement in theRenamer (at least I think it would). My idea was simply to add an option to "Copy instead of Move". This would make the show available for viewing while uTorrent is able to continue seeding for as long as we like. Then when we're ready to delete the torrent and data we can do so at our leisure. This way the viewing process is 100% automated and the fact that uTorrent will never be 100% automated doesn't have to interfere with that. In other words, I wouldn't have to worry about manually deleting torrents in uTorrent before theRenamer was able to move my files to their final destination.


Top
 Profile  
 
 Post subject: Re: uTorrent Interaction
PostPosted: Sat Oct 17, 2009 12:58 am 
Offline
Site Admin

Joined: Sun Feb 22, 2009 5:14 pm
Posts: 1526
Location: Matrix World
Copy instead of Move isn't that simple too :(
Because when a file is in use, it can't be renamed too.

The steps will have to be quite different.
If I make this option 'Copy Instead of Move', it would be something like this:
Copy the original files from Fetch Folder to Archive Folder, then rename it from there (Archive Folder).

And you will end up with original files still stored in your fetch folder.
And the next time you run theRenamer, there could be files that have already passed theRenamer process before. You may end up with old and new files.
I will have to check if the new showname exist in the Archive Folder first before going through the Renaming steps bla bla bla...

This 'Copy instead of Move' thing will solve an issue, but will create another issue.


Top
 Profile  
 
 Post subject: Re: uTorrent Interaction
PostPosted: Sat Oct 17, 2009 1:29 am 
Offline

Joined: Fri Oct 16, 2009 3:28 pm
Posts: 7
alfred wrote:
And you will end up with original files still stored in your fetch folder.
And the next time you run theRenamer, there could be files that have already passed theRenamer process before. You may end up with old and new files.
I will have to check if the new showname exist in the Archive Folder first before going through the Renaming steps bla bla bla...

This 'Copy instead of Move' thing will solve an issue, but will create another issue.


Ah, good point. I hadn't thought of that. Still, I think the goal for a lot of users is to have a fully automated process and this seems to be the final obstacle to that.


Top
 Profile  
 
 Post subject: Re: uTorrent Interaction
PostPosted: Sat Oct 17, 2009 1:44 am 
Offline
Site Admin

Joined: Sun Feb 22, 2009 5:14 pm
Posts: 1526
Location: Matrix World
-Fetch parameter is ok, but I never use it myself.
I prefer to see the Confirmation panel.
Also, if shows are moved automatically, I don't know what's been newly added.

As for next relase, with Movie support, -fetch will only work on TV mode. Movie files have to be manually dragged into theRenamer.


Top
 Profile  
 
 Post subject: Re: uTorrent Interaction
PostPosted: Sat Oct 17, 2009 1:47 am 
Offline

Joined: Fri Oct 16, 2009 3:28 pm
Posts: 7
I understand. I do appreciate all your work on this!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


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

Search for:
Jump to:  
POWERED_BY