[SCRIPT] pyLoad Download Manager (with lightweight webserver, Click'n'Load, ...)
|
21st Jan, 2014, 09:07 PM
Post: #1
|
|||
|
|||
[SCRIPT] pyLoad Download Manager (with lightweight webserver, Click'n'Load, ...)
Hey folks,
like here I want to give you another script for another download manager: pyLoad Why another download manager?: As it seems that "DownloadDaemon" doesn't sacrifice all users and a friend of mine asked me for help setting up pyLoad, I decided to do the work only once and spread it with the world. In the past I wasn't that happy with pyLoad because of the buggy client GUI and the damn slow webinterface when running on RPi. But I did give it a new try and setted it up with the super fast lightweight webserver called "bjoern" and deactivated the non-webinterface remote control. Now it's running really well and there is no problem downloading and using the webinterface even during the RPi is playing HD video files. Plus you get a lot of extras in comparison to DD, like Click'n'Load, a bunch of auto updating plugins an so on.... I won't say more about pyLoad, just check: http://pyload.org/ What the script does:
How to install: xbian_installPyLoad.zip (Size: 1.62 KB / Downloads: 345) Download xbian_installPyLoad.zip and unpack it on to your Raspberry with Xbian running. Make sure that your RPi is connected to the internet, as the script needs to download some packages/files. Then run following commands via shell in the same dir where the script file is: Terminal chmod +x xbian_installPyLoad.sh sudo ./xbian_installPyLoad.sh Thats it, the script will start to guide you through the install process. If you have questions, just ask. How to use: Start or autostart the 'pyload' service via xbian-config. Afterwards you can just visit http://<your RPi's IP>:8000 and use your pyLoad download manager. If you've changed the standard port (8000), you have to modify the address of course. After the first start you may have to restart pyLoad to complete a lot of plugin updates. But there will be a notice in the webinterface and you can do the restart via the webinterface too. If you want to make use of the Click'n'Load feature, you have to fordward the specific port (9666) to the webinterface. So, just forward: 127.0.0.1:9666 to <your RPi's IP>:8000 For windows users here are two small batch files. One will setup the port forward, the other one will revert this. At first you have to edit pyLoad_portforward.bat with your texteditor and place in your RPi's IP! Then run it as admin. The port forward will stay even after rebooting until you run the pyLoad_portforward-undo.bat. pyLoad_portforward (windows).zip (Size: 518 bytes / Downloads: 61) Have fun! love and peace josch My setup: Software: XBian version: 1.0RC3 | XBMC version: 13.2 (Gotham) | Overclock settings: High Hardware: RPi model: B | Power: DUB-H7 | SD: Tanscend Class 10 | Network: Wireless |
|||
6th Feb, 2014, 10:25 AM
Post: #2
|
|||
|
|||
R: [SCRIPT] pyLoad Download Manager (with lightweight webserver, Click'n'Load, ...)
Hi, i have one question.
I already use pyload on my Raspberry but sometimes the .rar files downloaded aren't automatically extracted even though i compile the password record in the dialog Window, and i have to extract they manually. The extract package included in your script is the same plugin called ExtractArchives included into 0.49 pyload? However have you some recommendations in order to correctly extract these files? |
|||
6th Feb, 2014, 09:50 PM
Post: #3
|
|||
|
|||
RE: [SCRIPT] pyLoad Download Manager (with lightweight webserver, Click'n'Load, ...)
(6th Feb, 2014 10:25 AM)tribal124 Wrote: The extract package included in your script is the same plugin called ExtractArchives included into 0.49 pyload? Yes! It isn't a different plugin. My script will just install the package 'unrar' via apt-get so that the ExtractArchives plugin can make use of it. (It's a needed dependency.) (6th Feb, 2014 10:25 AM)tribal124 Wrote: However have you some recommendations in order to correctly extract these files? Do you see anything in the pyLoad logs when the archives don't get extracted? Or do you recognize any pattern when it does happen? Of course you could always call unrar also manually: Terminal unrar x -p<YOURPW> archive.part01.rar My setup: Software: XBian version: 1.0RC3 | XBMC version: 13.2 (Gotham) | Overclock settings: High Hardware: RPi model: B | Power: DUB-H7 | SD: Tanscend Class 10 | Network: Wireless |
|||
7th Feb, 2014, 12:30 AM
Post: #4
|
|||
|
|||
RE: [SCRIPT] pyLoad Download Manager (with lightweight webserver, Click'n'Load, ...)
(6th Feb, 2014 09:50 PM)josch Wrote: No, DownloadDaemon has it's own code to handle rar archives. i don't understand, what do you mean with DownloadDaemon? It isn't this script intended for PyLoad? However can you tell me where i can locate the log.txt file into my Raspberry to check what goes wrong during extraction? |
|||
7th Feb, 2014, 01:20 AM
Post: #5
|
|||
|
|||
RE: [SCRIPT] pyLoad Download Manager (with lightweight webserver, Click'n'Load, ...)
(7th Feb, 2014 12:30 AM)tribal124 Wrote:(6th Feb, 2014 09:50 PM)josch Wrote: No, DownloadDaemon has it's own code to handle rar archives. Sorry dude! My DownloadDaemon thread was shown below when I was answering thats why I got distracted and thought you were posting in the other thread. But it was just listed under "Related Threads". My fault, seems that I was just a bit sleepy..... So please forget this answer, it's nonsense! I've updated my post - check it again. (7th Feb, 2014 12:30 AM)tribal124 Wrote: However can you tell me where i can locate the log.txt file into my Raspberry to check what goes wrong during extraction? The log files are stored at /home/xbian/.pyload/Logs You can also view the latest logs directly via pyLoad Webinterface. Right corner, next to "Settings". My setup: Software: XBian version: 1.0RC3 | XBMC version: 13.2 (Gotham) | Overclock settings: High Hardware: RPi model: B | Power: DUB-H7 | SD: Tanscend Class 10 | Network: Wireless |
|||
6th May, 2014, 06:37 PM
Post: #6
|
|||
|
|||
RE: [SCRIPT] pyLoad Download Manager (with lightweight webserver, Click'n'Load, ...)
Awesome script Josch. Thanks for that!
Just a hint for all people running into problems when updating python2.7 while executing the script: Login to your raspberry via SSH and use the Xbian updater to run all updates except those related to python. Then restart your rapsberry, login via SSH again and execute the following commands: Terminal sed -i '/_hashlib.so/d' /var/lib/dpkg/info/python2.7.list sed -i '/_ssl.so/d' /var/lib/dpkg/info/python2.7.list See wiki for further infos regarding python update. I highly reccomend using the Xbian updater, since I tried doing the updates manually first and ended up with XMBC not laoding correctly. Afterwards the script works like charm! |
|||
9th May, 2014, 08:01 PM
Post: #7
|
|||
|
|||
RE: [SCRIPT] pyLoad Download Manager (with lightweight webserver, Click'n'Load, ...)
Hey,
I'm using pyLoad and I'm very satisfied with it. Now I'm wondering if there is a better way to sort the files after the download? What I want to do: I'm using a 1TB external Harddrive to store my movies and tv-shows. But after the download I have to connect via ssh to my Xbian and move the files to the correct folder myself. I also have to delete the rar files by myself. Does anybody have an idea how to get this done a bit more easier? e.g. via Webinterface or a script or by selecting a extract folder for every download separately and deleting the rar-files after download? Thanks |
|||
14th May, 2014, 08:45 AM
Post: #8
|
|||
|
|||
RE: [SCRIPT] pyLoad Download Manager (with lightweight webserver, Click'n'Load, ...)
(9th May, 2014 08:01 PM)pix3l Wrote: Hey,You can configure the extraction path and automatically delete the archives in the webinterface. I'm not using the webinterface in English so I can't tell you the exact location of the settings: Settings -> Addons/Plugins (?) -> ExtractArchive Hope this helps. |
|||
8th Jun, 2014, 01:14 AM
Post: #9
|
|||
|
|||
RE: [SCRIPT] pyLoad Download Manager (with lightweight webserver, Click'n'Load, ...)
I noticed that there is a missing dependency for spidermonkey-bin (js engine) in the current repository.
Without manual installing libnspr4 too, the js engine will not run and therefore no click'n'load will be available. If you had already run the install script with the current repository and click'n'load isn't working for you, run: Terminal sudo apt-get install libnspr4 to deliver the needed dependency for spidermonkey. Everything should work fine then. I've updated the install script too. My setup: Software: XBian version: 1.0RC3 | XBMC version: 13.2 (Gotham) | Overclock settings: High Hardware: RPi model: B | Power: DUB-H7 | SD: Tanscend Class 10 | Network: Wireless |
|||
26th Sep, 2014, 04:47 PM
Post: #10
|
|||
|
|||
RE: [SCRIPT] pyLoad Download Manager (with lightweight webserver, Click'n'Load, ...)
Just tested the script on the brand-new RC3 and it's still working without need of changes.
I've only updated the file to add RC3 to the tested versions comment. My setup: Software: XBian version: 1.0RC3 | XBMC version: 13.2 (Gotham) | Overclock settings: High Hardware: RPi model: B | Power: DUB-H7 | SD: Tanscend Class 10 | Network: Wireless |
|||
19th Oct, 2014, 09:19 PM
Post: #11
|
|||
|
|||
RE: [SCRIPT] pyLoad Download Manager (with lightweight webserver, Click'n'Load, ...)
hi here, thanks for the sricpt but i have some problems/question:
- When I download the file (directly from this forum or from a hoster*) and try to unzip it, I always got the error: "unzip: invalid zip magic 4F44213C" (I installed unrar and unzip with sudo apt-get install) I managed to get the file to my Xbian-System already unzip (uploaded a unzip version to a hoster* and the downloaded it with my xbian) but when i start the sricpt this error comes up: Terminal xbian@xbian ~/Downloads $ ./xbian_installPyLoad.sh ./xbian_installPyLoad.sh: line 1: !DOCTYPE: No such file or directory ./xbian_installPyLoad.sh: line 2: syntax error near unexpected token `newline' ./xbian_installPyLoad.sh: line 2: ` "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">' What I'm doing wrong? Thanks for the help! Cheers * I downloaded the file to my pc and uploaded it to a hoster so i go a shorter link |
|||
20th Oct, 2014, 12:46 AM
Post: #12
|
|||
|
|||
RE: [SCRIPT] pyLoad Download Manager (with lightweight webserver, Click'n'Load, ...)
(19th Oct, 2014 09:19 PM)med Wrote: This isn't my script, it doesn't contain such things. Seems that you didn't download the script correctly. Please check the content of your xbian_installPyLoad.sh file. It should contain the following code: Code: #!/bin/bash You can either put this code into your file manually or download the zip file from my first post again and put it on your RPi. Then do: Terminal unzip xbian_installPyLoad.zip chmod +x xbian_installPyLoad.sh sudo ./xbian_installPyLoad.sh IMPORTANT: DON'T USE JUST WGET TO DOWNLOAD THE FILE AS YOU WILL GET AN HTML FILE. DOWNLOAD IT ON PC AND COPY TO YOUR RPi. Good luck! My setup: Software: XBian version: 1.0RC3 | XBMC version: 13.2 (Gotham) | Overclock settings: High Hardware: RPi model: B | Power: DUB-H7 | SD: Tanscend Class 10 | Network: Wireless |
|||
21st Oct, 2014, 01:14 AM
Post: #13
|
|||
|
|||
RE: [SCRIPT] pyLoad Download Manager (with lightweight webserver, Click'n'Load, ...)
hi,
thanks for the fast answer! My mistake was to use wget! . My next problem seems to be a bigger one, because there is something wrong with one package the sricpt needs: Terminal Err http://xbian.brantje.com/ stable/main linux-libc-dev armhf 3.15.8 Could not resolve 'xbian.brantje.com' Err http://xbian.brantje.com/ stable/main unrar armhf 1:4.1.4-1 Could not resolve 'xbian.brantje.com' Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main spidermonkey-bin ar mhf 24.7.0esr-1~deb7u1+rpi1 404 Not Found Failed to fetch http://xbian.brantje.com/pool/stable/main/l/linux-libc-dev/linux -libc-dev_3.15.8_armhf.deb Could not resolve 'xbian.brantje.com' Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/i/icewease l/spidermonkey-bin_24.7.0esr-1~deb7u1+rpi1_armhf.deb 404 Not Found Failed to fetch http://xbian.brantje.com/pool/stable/main/u/unrar/unrar_4.1.4-1_ armhf.deb Could not resolve 'xbian.brantje.com' E: Unable to fetch some archives, maybe run apt-get update or try with --fix-mis sing? I found a Post on this forum where they fixed the probelm in generall: http://forum.xbian.org/thread-2516-post-24885.html#pid24885 But after following the advises there and retry the script this error occurs: Terminal Do you want to continue? [y/n] y Installing dependencies ... Reading package lists... Done Building dependency tree Reading state information... Done Package spidermonkey-bin is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'spidermonkey-bin' has no installation candidate I think here have to be done some changes to the script Thanks for the help! |
|||
22nd Oct, 2014, 03:50 AM
Post: #14
|
|||
|
|||
RE: [SCRIPT] pyLoad Download Manager (with lightweight webserver, Click'n'Load, ...)
Seems that the spidermonkey package isn't available right now via the repository. Normally it is consistently available.
Perhaps this could be related to the other repository troubles but I do not know. I will wait with editing the script as this may be just a temporary issue. (Tell me if not. ) The spindermonkey-bin package is necessary for the Click'n'Load feature. So please install it manually if you need this one. You can use the install script also without installing spidermonkey, all you have to do is removing spidermonkey-bin from line 42 or simply use the attached script. My setup: Software: XBian version: 1.0RC3 | XBMC version: 13.2 (Gotham) | Overclock settings: High Hardware: RPi model: B | Power: DUB-H7 | SD: Tanscend Class 10 | Network: Wireless |
|||
4th Dec, 2014, 09:48 PM
Post: #15
|
|||
|
|||
RE: [SCRIPT] pyLoad Download Manager (with lightweight webserver, Click'n'Load, ...)
I noticed some strange behavoir related to pyload auto-start and the pyload entry within xbian services overview:
1) PyLoad does not start automatically although added to autostart 2) Whenever I try to start it manually via xbian-config the interface returns to manin menu instead of loading the updated service overview. Only after leaving main menu of xbian-config the service overview is reloaded (withouth being prompted at that point) and finally starts pyload. I posted the problem here, but I relaized that it is only occuring when starting pyload. Starting VNC from service list is working fine. |
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
[SCRIPT] DownloadDaemon (lightweight download server) | josch | 10 | 33,713 |
13th Jul, 2015 03:15 AM Last Post: omerp |