Hi all,
I wonder if anyone here is interested in plugin capabilities for OSX Transmission GUI. I've made a quick patch, that allows Transmission to be scriptable, and it solves all the issues that I was missing in Transmission (mainly intellectual removal of updated torrents and re-downloading of torrent files with updated data). If I see a demand for the feature, I'll try to clean up the patch to be nice-looking for upstream proposal (if upstream would accept such addition anyway).
[patch] Python plugins for Transmission/OSX
-
- Posts: 133
- Joined: Tue Mar 13, 2007 6:34 pm
Re: [patch] Python plugins for Transmission/OSX
sounds interesting, what functions are scriptable? cheers.
Re: [patch] Python plugins for Transmission/OSX
Technically speaking, absolutely everything is scriptable, as all the Objective-C layer is exposed to Python and you have access to all Transmission's classes. I'm now working on a set of hooks, that would simplify callbacks though. So, e.g, on torrent addition you can get a list of all torrents, regex-match any with similar name and trash them as obsoletes.
-
- Posts: 133
- Joined: Tue Mar 13, 2007 6:34 pm
Re: [patch] Python plugins for Transmission/OSX
sounds good to me!
Re: [patch] Python plugins for Transmission/OSX
I would be more interested in this for the transmission-daemon, as it stands there are a bunch of scripts out there that call the transmission-cli in a loop to monitor, perform tasks via loop or cron. It would be far more efficient if transmission it self could fire script events.
Last edited by lazybones on Thu Jan 28, 2010 10:17 pm, edited 1 time in total.
Re: [patch] Python plugins for Transmission/OSX
I agree with lazybones. Supported for event-triggered hooks should be added to libtransmission and everything else can be done via the rpc methods.
Re: [patch] Python plugins for Transmission/OSX
So... did you ever finish this? I was wanting Applescript awareness but Python awareness would be good enough.