Posts: 2
Joined: Oct 2010
Reputation:
0
2 questions
How could i add an url to be downloaded by jdownloader? from an different plugin, or from within your plugin?
(I've seen the jdownloader.action_addlink(url) in your default.py but i could not get it to work. this is my first time with phyton so excuse me please)
is there a way to play a currently downloaded *.avi file with xbmc? I can play the *.avi.part files with vlc player, but once the download is finnished the *.avi.part file will be named to *.avi so the player will stop.
Posts: 16
Joined: Oct 2010
Reputation:
0
yowill
Junior Member
Posts: 16
Ok...
I made a .sh script. I use it, Calling it with the help of Executor Plugin. (not nice way)
Working (Now):
With the File system Manager of XBMC I make a Directoty called ~/Links
then in that Directoty I put a file that I make, a links.txt where I put the links to download line by line, I move it to ~/Links, I execute .sh and it does the job.
Working (Future):
When execute Jdownloader plugin in the "option" "Load Links" it open the file manager and let to choose the .txt with the links, rename it to links.txt and move it to ~/Links.
Obvios the file with the links have to be created by the user, put there the links line by line... and take to the HTPC XBMC within a USB or whetever.
Now Jdownloader plugin will call it with:
import os
OSRun("XXXX.sh ").
There must be Directory Called "sh-Linux" "bat-windows" "XX-mac" because some body should help us whith the code for every OS.. (mine is just for Linux)
Posts: 16
Joined: Oct 2010
Reputation:
0
yowill
Junior Member
Posts: 16
Yes you are right....about the creating of links.txt...
But in some cases like me... i searched the links in my Job... then i could take them to the Jdownloader with the USB... I am lazy I dont want to take the other PC....
And you have to be and advance user for having a small network in your home... and acces to jdownloader web (not so smart but...)
The idea of download directly with out manual search of the links is beautiful but I can no figure HOW... is too complicated... search the links is "dificult" because you search the NNN title with NN Resolution in NN languaje... etc...and do this automatic... I dont know...
I think the Jdownloader plugin should have a setup.sh and this install jdownloader and I dont know how active de Jdonwloader Remote Control... this way will be more and more automatic ... for people having standalone Live XBMC...
Sorry for my english... Spanish is my speaking.... by the way tell me how I translate the Plugin... that will be very nice for a lot people...
Posts: 103
Joined: Jun 2010
Reputation:
1
pgoeri
Senior Member
Posts: 103
Your script for adding the links will be appreciated. I'll have look at it, but in the end I will implement it directly with python. The endcoding of the url is no problem with python.
Posts: 2,710
Joined: Feb 2009
Reputation:
12
ppic
Skilled Python Coder
Posts: 2,710
you can make the same in python to not be platform dependant