[Part 2] Download torrent & newsserver package(s)
|
4th Jun, 2013, 11:50 AM
Post: #171
|
|||
|
|||
RE: [Part 2] Download torrent & newsserver package(s)
(4th Jun, 2013 08:44 AM)zilexa Wrote: I was actually just looking for a solution to get this working without installing anything extra... and I think the wget solution is the way to do it since it works via SSH after I login in the RPi! It only does not work when the script is executed via Transmission yes, sorry, I was so lazy open ssh terminal that I did it from macosx terminal. and there telnet still is. why I chosen telnet is the fact, that all three (telnet | curl | wget ) are providing you the same. connecting to port 8080 (xbmc) and running while running html get command (what on xbmc side will run the update process). from the tree is telnet the simplest desto minimum possibilities to get the command wrong specially when passed through more shells and command line preprocessors. if the curl (wget) command works for one path (from shell directly) but doesn't when calling from scripts from transmission that means exactly why I chosen (as demonstration) the telnet way. i mean, the only problem must be nessed all the {}[]"'\%#$ in the command, what will cause different interpretation at xbmc. btw: I know you don't ant to install anything else, but XBMC supports receiving remote events directly on port 9777. There is nice and small (in perl written) toolchain - it's by default supplied in binary for MacOsx, for linux you can get it at http://wiki.xbmc.org/?title=EventServer (point 9.1) at the bottom. it's few kb, doesn't need nothing else as standard perl / python (no extra modules or other shits) and as a result, you will have one .py script which works like: Code: xbmc-send [OPTION] --action=ACTION you can't go wrong with that. and going back to your http://forum.xbian.org/thread-479-post-9990.html#pid9990 post, the easy to remember solution how to get all the parameters, but we don't know syntax/names is to temporarily call such script as a hook to transmission: echo $(env) >> /tmp/list.environment.txt then you would just look into the file and you will see all the variables which transmission is passing to your scripts ... Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
[Part 3] Download torrent & newsserver packages | Fred | 221 | 885,685 |
18th Mar, 2016 03:00 PM Last Post: akitolong |
|
Download Package not installing | naverave | 3 | 13,872 |
16th Mar, 2014 07:56 PM Last Post: mk01 |
|
download package setup | pathia | 5 | 18,846 |
28th Sep, 2013 12:00 AM Last Post: Gemma01 |
|
Download package | enzu1 | 1 | 9,124 |
4th Feb, 2013 10:35 PM Last Post: CurlyMo |