Jump to content


Photo

Transmission (bit torrent client) workflow


  • Please log in to reply
42 replies to this topic

#1 Florian

Florian

    Advanced Member

  • Member
  • PipPipPip
  • 264 posts

Posted 17 January 2013 - 08:23 AM

Hey guys,

 

Here's a cool workflow  B) Shows you all your Transmission.app torrents. When you press return on a finished torrent, it'll open the destination folder, on an active torrent it'll pause it, and on a paused torrent it'll activate it. It doesn't get more simple than that!

 

 
Take a look at the workflow to see keywords and modifier keys.
 
 
Love  :D
 
Try and read my other posts on this thread if you encounter any issue.

Edited by Florian, 15 March 2013 - 04:28 PM.


#2 Florian

Florian

    Advanced Member

  • Member
  • PipPipPip
  • 264 posts

Posted 18 January 2013 - 12:48 AM

Hey guys,

I've updated this workflow. I don't even know if anyone is using it but you can now delete a torrent (with or without its files) using key modifiers, as well as pause all and resume all. I don't see what could be missing here ;) 


  • morphorod likes this

#3 Enhorn

Enhorn

    Member

  • Member
  • PipPip
  • 26 posts
  • LocationStockholm, Sweden

Posted 18 January 2013 - 07:40 AM

Does it have to be an IP address in the URL? I have a domain name for my computer at home running Transmission that I'm trying this workflow with, and I'm not getting any results.

I have set $url, $username, $password and $session_id



#4 Florian

Florian

    Advanced Member

  • Member
  • PipPipPip
  • 264 posts

Posted 18 January 2013 - 07:46 AM

Weird. I don't know what to tell you. Have you tried locally? This TransmissionRPC.class is a third party thing. And way out of date I think. I'm trying to rewrite it but it might take a while.



#5 Jono

Jono

    Member

  • Member
  • PipPip
  • 156 posts
  • LocationUK

Posted 18 January 2013 - 07:56 AM

Sorry for going off topic here, but I don't think you have a topic for the currency converter  ^_^

 

I modded your currency converter workflow to convert to and from £GBP, and also added 2 more script filter entries. So If I type in 1500 the results below look like this

 

alfred_currency_converter_workflow.png

 

 

In the workflow I ordered it to be (ordering from top to bottom in the workflow):

 

$USD to £GBP

€EUR to £GBP

£GBP to $USD

£GBP to €EUR

 

But as you can see it doesn't keep that order when showing the results. Do you know if it should show the results in the order I arrange it in the workflow? Or is there something else I should do to make sure the results are in the correct order?

 
 
 


#6 Florian

Florian

    Advanced Member

  • Member
  • PipPipPip
  • 264 posts

Posted 18 January 2013 - 08:20 AM

This ordering aspect comes from the uid. These IDs help alfred learn what you like. Though it is unclear to most of us how it actually works. Sorry I can't really help you here.



#7 Jono

Jono

    Member

  • Member
  • PipPip
  • 156 posts
  • LocationUK

Posted 18 January 2013 - 09:48 AM

OK, thanks for the info.

 


#8 Florian

Florian

    Advanced Member

  • Member
  • PipPipPip
  • 264 posts

Posted 18 January 2013 - 05:17 PM

Hey guys, I've updated my workflow. No config is needed anymore. So I now declare this extension "pretty darn cool"



#9 GamerChase

GamerChase

    Member

  • Member
  • PipPip
  • 102 posts

Posted 19 January 2013 - 05:15 PM

Is there any way of making it so that I can paste a magnet link into Alfred on my MacBook and have the torrent start downloading on my Mac mini?


twitter-follow.png


#10 Florian

Florian

    Advanced Member

  • Member
  • PipPipPip
  • 264 posts

Posted 19 January 2013 - 07:15 PM

There is indeed. To open a magnet link you just have to use this bash command :

 

open -g "magnet:?xt=urn:btih:blah-blah-blah"

 

This of course is a dummy magnet link but you get the idea. The argument -g is just so that transmission doesn't pop up.

 

If you want to do that remotely, use ssh to log into your Mac mini first.



#11 GamerChase

GamerChase

    Member

  • Member
  • PipPip
  • 102 posts

Posted 19 January 2013 - 09:34 PM

Sorry, but I have no idea what any of that means...   :huh:


twitter-follow.png


#12 CarlosNZ

CarlosNZ

    Community Hero

  • Member
  • PipPipPip
  • 372 posts
  • LocationAuckland, New Zealand

Posted 23 January 2013 - 08:47 AM

Okay, call me blind or stupid, but where am I supposed to enter my Transmission remote details to get this workflow working?  :(


Twitter: @CarlosNZ | My Alfred Workflows: Carl's Geekzone

#13 Florian

Florian

    Advanced Member

  • Member
  • PipPipPip
  • 264 posts

Posted 23 January 2013 - 05:05 PM

Well if you have the latest version (link in first post) then there is no credentials needed. It should work out of the box. Doesn't it ?



#14 CarlosNZ

CarlosNZ

    Community Hero

  • Member
  • PipPipPip
  • 372 posts
  • LocationAuckland, New Zealand

Posted 24 January 2013 - 12:15 AM

Well if you have the latest version (link in first post) then there is no credentials needed. It should work out of the box. Doesn't it ?

I assume that's for a Transmission on the same machine. I was hoping to remotely access my home computer's Transmission from my work computer. I'd be very impressed (and a little concerned) if it was able to do that straight out of the box! ;)


Twitter: @CarlosNZ | My Alfred Workflows: Carl's Geekzone

#15 Florian

Florian

    Advanced Member

  • Member
  • PipPipPip
  • 264 posts

Posted 24 January 2013 - 12:48 AM

Oh alright then you should find the lines to replace in class/TransmissionRPC.class.php within the workflow folder, among a bunch of variables at the top of the script.

I don't know if it'll work though as I haven't especially work on that particular aspect and I don't have a second computer to try it out.



#16 CarlosNZ

CarlosNZ

    Community Hero

  • Member
  • PipPipPip
  • 372 posts
  • LocationAuckland, New Zealand

Posted 24 January 2013 - 12:49 AM

Oh alright then you should find the lines to replace in class/TransmissionRPC.class.php within the workflow folder, among a bunch of variables at the top of the script.

I don't know if it'll work though as I haven't especially work on that particular aspect and I don't have a second computer to try it out.

Cool, thanks, I'll let you know how it goes.


Twitter: @CarlosNZ | My Alfred Workflows: Carl's Geekzone

#17 jibbe

jibbe

    Newbie

  • Member
  • Pip
  • 9 posts

Posted 24 January 2013 - 09:33 AM

Hi Florian,

Thanks for this wonderfull workflow ! Works great with a local transmission server (same machine).

Free (french ISP) use a transmission server on his last box named "Freebox".

To manage my torrents directly on the Freebox, I'm using "Transmission Remote GUI" ( http://code.google.c...son-remote-gui/ )

I'm a very rookie (un bleu bite complet in french) in scripting / coding / ... But is it possible to adapt your workflow to the transmission server on the Freebox ?

Thanks / merci :)



#18 Florian

Florian

    Advanced Member

  • Member
  • PipPipPip
  • 264 posts

Posted 24 January 2013 - 03:15 PM

Hey Jibbe, My code should work for a remote transmission as well. Though I don't have the material to test it. That's what CarlosNZ here is trying to do.

 

What you can try is to connect to your transmission via your internet browser :

 

http://freebox-ip:tr...ransmission/rpc  (it should look like that http://192.168.1.111...ransmission/rpc

 

and get the X-Transmission-Session-Id it will return you with the Conflict 409.

 

Then use both the ID and the address to fill in variables in class/TransmissionRPC.class.php in the workflow folder. And tell me how it goes.



#19 jibbe

jibbe

    Newbie

  • Member
  • Pip
  • 9 posts

Posted 25 January 2013 - 03:47 PM

Hi Florian

Thanks for your answer.

I did not succeed to join the server ...

 

 I'll try again tomorrow and let you know how it goes.



#20 spacecadet9

spacecadet9

    Member

  • Member
  • PipPip
  • 59 posts

Posted 28 January 2013 - 09:27 AM

Hi

 

This just doesn't seem to be working for me!

 

Is there anything I can do to work out why not?

 

Thanks




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users