get save_path from console
Posted: Wed Jan 08, 2014 3:26 am
Hi there!
I'm currently switching away from uTorrent to deluge. I've written a script to transfer my state data, however I'm using this opportunity to re-organize and rename my shows and movies. The plan is to use filebot. However, I'd like to keep seeding all these files after the re-organization. I'm writing a script to sort each torrent with filebot, and then remove and then re-add the torrent using the new values.
The problem is that I can't seem to be able to find a way to get the save_path from the console. Is there any way to get this info?
Going forward, I'm planning to have the script execute on each file as it completes, where I can get the file name and save path from the execute variables. But I can't seem to find a way to get the variables from the console info.
On a related note, I'm wondering if there's a "move" command that I can execute. It would make everything a lot easier. Barring all this I'm going to have to do it from the torrent.state file, but I'd rather do it through some sort of API if I can, seeing as how editing the torrents.state file while deluge is running sounds pretty dangerous. In the end I may have to write my own plugin altogether, but I'd rather not have to.
Any help, ideas or insight you guys could give me would be appreciated!
-Laharah
I'm currently switching away from uTorrent to deluge. I've written a script to transfer my state data, however I'm using this opportunity to re-organize and rename my shows and movies. The plan is to use filebot. However, I'd like to keep seeding all these files after the re-organization. I'm writing a script to sort each torrent with filebot, and then remove and then re-add the torrent using the new values.
The problem is that I can't seem to be able to find a way to get the save_path from the console. Is there any way to get this info?
Going forward, I'm planning to have the script execute on each file as it completes, where I can get the file name and save path from the execute variables. But I can't seem to find a way to get the variables from the console info.
On a related note, I'm wondering if there's a "move" command that I can execute. It would make everything a lot easier. Barring all this I'm going to have to do it from the torrent.state file, but I'd rather do it through some sort of API if I can, seeing as how editing the torrents.state file while deluge is running sounds pretty dangerous. In the end I may have to write my own plugin altogether, but I'd rather not have to.
Any help, ideas or insight you guys could give me would be appreciated!
-Laharah