Forum
[Part 1] Download torrent & newsserver package - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Testing & Experimental (/forum-21.html)
+--- Thread: [Part 1] Download torrent & newsserver package (/thread-196.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29


RE: Download torrent & newsserver package - enzu1 - 19th Feb, 2013 08:32 PM

(19th Feb, 2013 08:27 PM)kraleksandr Wrote:  @enzu1
stop transmission
edit /usr/local/etc/transmission/settings.json
set "rpc-whitelist-enabled": false
start transmission

Thanks man! this works! Smile

Can anyone help me with changing the download location?


RE: Download torrent & newsserver package - kraleksandr - 19th Feb, 2013 08:36 PM

Maybe u doing something wrong? Try again and be careful with /
Code:
mv /home/xbian/downloads /media/usb/
mv /home/xbian/incomplete /media/usb/
mv /home/xbian/torrents /media/usb/
ln -s /media/usb/downloads /home/xbian/downloads
ln -s /media/usb/incomplete /home/xbian/incomplete
ln -s /media/usb/torrents /home/xbian/torrents



RE: Download torrent & newsserver package - CurlyMo - 19th Feb, 2013 08:45 PM

@enzu1, what is the IP address of your RPi?


RE: Download torrent & newsserver package - enzu1 - 19th Feb, 2013 09:02 PM

(19th Feb, 2013 08:36 PM)kraleksandr Wrote:  Maybe u doing something wrong? Try again and be careful with /
Code:
mv /home/xbian/downloads /media/usb/
mv /home/xbian/incomplete /media/usb/
mv /home/xbian/torrents /media/usb/
ln -s /media/usb/downloads /home/xbian/downloads
ln -s /media/usb/incomplete /home/xbian/incomplete
ln -s /media/usb/torrents /home/xbian/torrents

Many many many thanks dude! it's completely working! Smile
What a great community!

(19th Feb, 2013 08:45 PM)CurlyMo Wrote:  @enzu1, what is the IP address of your RPi?

I have the RPi in the 192.168.x.x range but I access it from outside the LAN with port forwarding, anyway @kraleksandr solved me the problem with disabling whitelist in settings.json

Thanks for the quick replies! Smile


RE: Download torrent & newsserver package - CurlyMo - 19th Feb, 2013 09:07 PM

@enzu1, i just wanted to know if i needed to change something in the packages. But enabling the whitelist was just for security reasons as you described here. So users don't accidentally open transmission for the outside world.


RE: Download torrent & newsserver package - picheto - 19th Feb, 2013 09:32 PM

(19th Feb, 2013 07:35 PM)CurlyMo Wrote:  I never saw that before so don't now what it means, can you try:
Code:
sudo apt-get clean
sudo apt-get update
sudo apt-get install xbian-package-download

Various sites say it could be due to the corruption of a local version of the package. So maybe try another SD card?

I do wiht it

Terminal
root@xbian:/home/xbian# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
xbian-package-couchpotato
The following NEW packages will be installed:
xbian-package-couchpotato
0 upgraded, 1 newly installed, 0 to remove and 52 not upgraded.
13 not fully installed or removed.
Need to get 11.1 MB of archives.
After this operation, 21.2 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://jb.xenserver.sk/xbian/aptexp2/ wheezy/main xbian-package-couchpotato armhf 1.0 [11.1 MB]
Fetched 11.1 MB in 9s (1176 kB/s)
(Reading database ... 31602 files and directories currently installed.)
Unpacking xbian-package-couchpotato (from .../xbian-package-couchpotato_1.0_armhf.deb) ...
Setting up libcurl3:armhf (7.26.0-1+wheezy1) ...
Setting up libevent-core-2.0-5:armhf (2.0.19-stable-3) ...
Setting up libevent-extra-2.0-5:armhf (2.0.19-stable-3) ...
Setting up libevent-openssl-2.0-5:armhf (2.0.19-stable-3) ...
Setting up libevent-pthreads-2.0-5:armhf (2.0.19-stable-3) ...
Setting up libevent-dev (2.0.19-stable-3) ...
Setting up libpar2-0 (0.2.1-1) ...
Setting up python-cheetah (2.4.4-3) ...
Setting up xbian-package-nzbget (1.0) ...
Setting up xbian-package-transmission (1.0) ...
Setting up xbian-package-headphones (1.0) ...
Setting up xbian-package-sickbeard (1.0) ...
Setting up xbian-package-couchpotato (1.0) ...
Setting up xbian-package-download (2.0) ...




RE: Download torrent & newsserver package - CurlyMo - 19th Feb, 2013 09:35 PM

If the first install failed, you indeed need to do that.


RE: Download torrent & newsserver package - picheto - 20th Feb, 2013 03:27 AM

Thank you very much to all. It works great community. For now the downloads are pretty slow. Someone could show me your settings file settings.json.

Mine is this, but I think it is wrong:

Code:
"idle-seeding-limit": 30,
    "idle-seeding-limit-enabled": false,
    "incomplete-dir": "/home/xbian/incomplete",
    "incomplete-dir-enabled": true,
    "lpd-enabled": false,
    "max-peers-global": 200,
    "message-level": 2,
    "peer-congestion-algorithm": "",
    "peer-limit-global": 300,
    "peer-limit-per-torrent": 800,
    "peer-port": 20693,
    "peer-port-random-high": 20500,
    "peer-port-random-low": 20599,
    "peer-port-random-on-start": true,
    "peer-socket-tos": "default",
    "pex-enabled": true,
    "port-forwarding-enabled": false,
    "preallocation": 1,
    "prefetch-enabled": 1,
    "queue-stalled-enabled": true,
    "queue-stalled-minutes": 30,
    "ratio-limit": 0.2500,
    "ratio-limit-enabled": true,
    "rename-partial-files": true,
    "rpc-authentication-required": true,
    "rpc-bind-address": "0.0.0.0",
    "rpc-enabled": true,
    "rpc-password": "{3e1b154b1a03a80513862119d1186a02e419758cvq8X/r7R",
    "rpc-port": 9091,
    "rpc-url": "/transmission/",
    "rpc-username": "xbian",
    "rpc-whitelist": "127.0.0.1,192.168.*.*,10.0.*.*",
    "rpc-whitelist-enabled": false,
    "scrape-paused-torrents-enabled": true,
    "script-torrent-done-enabled": false,
    "script-torrent-done-filename": "",
    "seed-queue-enabled": false,
    "seed-queue-size": 10,
    "speed-limit-down": 1500,
    "speed-limit-down-enabled": false,
    "speed-limit-up": 50,
    "speed-limit-up-enabled": false,
    "start-added-torrents": true,
    "trash-original-torrent-files": false,
    "umask": 2,
    "upload-limit": 100,
    "upload-limit-enabled": 0,
    "upload-slots-per-torrent": 4,
    "utp-enabled": true,
    "watch-dir": "/home/xbian/torrents",
    "watch-dir-enabled": true
}



RE: Download torrent & newsserver package - kraleksandr - 20th Feb, 2013 03:28 AM

@picheto
I use default settings and max dl is around 4 MB/s


RE: Download torrent & newsserver package - picheto - 20th Feb, 2013 03:30 AM

(20th Feb, 2013 03:28 AM)kraleksandr Wrote:  @picheto
I use default settings and max dl is around 4 MB/s

I can see your settings? I changed the mine for other.


RE: Download torrent & newsserver package - kraleksandr - 20th Feb, 2013 04:40 AM

Terminal
xbian@xbian:~# cat /usr/local/etc/transmission/settings.json
{
"alt-speed-down": 50,
"alt-speed-enabled": false,
"alt-speed-time-begin": 540,
"alt-speed-time-day": 127,
"alt-speed-time-enabled": false,
"alt-speed-time-end": 1020,
"alt-speed-up": 50,
"bind-address-ipv4": "0.0.0.0",
"bind-address-ipv6": "::",
"blocklist-enabled": false,
"blocklist-url": "",
"cache-size-mb": 4,
"dht-enabled": true,
"download-dir": "/home/xbian/downloads",
"download-limit": 100,
"download-limit-enabled": 0,
"download-queue-enabled": true,
"download-queue-size": 5,
"encryption": 0,
"idle-seeding-limit": 30,
"idle-seeding-limit-enabled": false,
"incomplete-dir": "/home/xbian/incomplete",
"incomplete-dir-enabled": true,
"lpd-enabled": false,
"max-peers-global": 200,
"message-level": 2,
"peer-congestion-algorithm": "",
"peer-limit-global": 240,
"peer-limit-per-torrent": 60,
"peer-port": 51413,
"peer-port-random-high": 65535,
"peer-port-random-low": 49152,
"peer-port-random-on-start": false,
"peer-socket-tos": "default",
"pex-enabled": true,
"port-forwarding-enabled": false,
"preallocation": 1,
"prefetch-enabled": 1,
"queue-stalled-enabled": true,
"queue-stalled-minutes": 30,
"ratio-limit": 3,
"ratio-limit-enabled": true,
"rename-partial-files": true,
"rpc-authentication-required": true,
"rpc-bind-address": "0.0.0.0",
"rpc-enabled": true,
"rpc-password": "{5ddf37dffe866a983495f2c5c682c065d203be88fDZ9C6wy",
"rpc-port": 9091,
"rpc-url": "/transmission/",
"rpc-username": "xbian",
"rpc-whitelist": "127.0.0.1,192.168.*.*,10.0.*.*",
"rpc-whitelist-enabled": true,
"scrape-paused-torrents-enabled": true,
"script-torrent-done-enabled": false,
"script-torrent-done-filename": "",
"seed-queue-enabled": false,
"seed-queue-size": 10,
"speed-limit-down": 100,
"speed-limit-down-enabled": false,
"speed-limit-up": 100,
"speed-limit-up-enabled": false,
"start-added-torrents": true,
"trash-original-torrent-files": false,
"umask": 2,
"upload-limit": 100,
"upload-limit-enabled": 0,
"upload-slots-per-torrent": 14,
"utp-enabled": true,
"watch-dir": "/home/xbian/torrents",
"watch-dir-enabled": true
}



RE: Download torrent & newsserver package - zilexa - 20th Feb, 2013 09:28 AM

great to see you have Transmission support. But anyone could already install Transmission, right? So why do it via xbian? I am new to Raspberry PI so please forgive me if this is a stupid question... I have some more Smile

Does your solution also support Flexget? I am used to not downloading anything manually; every tv show episode downloads automatically when available via my uttorrent+rss feed. Using Transmission, this is possible via flexget. Then all it takes is 1 textfile containing the configuration for flexget, listing the tv shows to download, the rss feed, download location etc. Would be great if this textfile was just available to edit anywhere in my home network. I will receive my Raspberry Pi soon and test all of this out.

Anyone here already have a succesfull torrents-via-rss setup?


RE: Download torrent & newsserver package - CurlyMo - 20th Feb, 2013 09:35 AM

(20th Feb, 2013 09:28 AM)zilexa Wrote:  great to see you have Transmission support. But anyone could already install Transmission, right? So why do it via xbian? I am new to Raspberry PI so please forgive me if this is a stupid question... I have some more Smile
You are right, but the advantages of the packages we provide is that they're pre-configured and therefore work out-of-the-box. Also:
- I've compiled transmission as lightweight so is uses less resources
- I've patched nzbget so you can set a custom username
- I've patched sickbeard and couchpotato so it supports a custom username for nzbget
- I've patched headphones so it has nzbget support. Which the official port of the program doesn't have.

So, the advantage of the above is that all packages have the same username and password. Also, all packages can use the same download programs as in transmission and nzbget.

Quote:Does your solution also support Flexget? I am used to not downloading anything manually; every tv show episode downloads automatically when available via my uttorrent+rss feed. Using Transmission, this is possible via flexget. Then all it takes is 1 textfile containing the configuration for flexget, listing the tv shows to download, the rss feed, download location etc. Would be great if this textfile was just available to edit anywhere in my home network. I will receive my Raspberry Pi soon and test all of this out.

Anyone here already have a succesfull torrents-via-rss setup?
There have been for about 1,5 months of discussing and testing and this is what I came up with following these advices/wishes. Instead of utorrent and rss, we use sickbeard + transmisison and nzbget.


Re: Download torrent & newsserver package - SolGarlic - 20th Feb, 2013 10:10 AM

I managed to use transmission and Automatic. Checkout around page 4 of this thread.
But now I switched to sickbeard and nzbget with a free account from xsusenet.


RE: Download torrent & newsserver package - zilexa - 20th Feb, 2013 11:37 PM

Quote:
Quote:Does your solution also support Flexget? I am used to not downloading anything manually; every tv show episode downloads automatically when available via my uttorrent+rss feed. Using Transmission, this is possible via flexget. Then all it takes is 1 textfile containing the configuration for flexget, listing the tv shows to download, the rss feed, download location etc. Would be great if this textfile was just available to edit anywhere in my home network. I will receive my Raspberry Pi soon and test all of this out.

Anyone here already have a succesfull torrents-via-rss setup?
There have been for about 1,5 months of discussing and testing and this is what I came up with following these advices/wishes. Instead of utorrent and rss, we use sickbeard + transmisison and nzbget.

Ok great thanks for that. About sickbeard + transmission + nzbget: I havent used newsgroups for a few years so I am outdated on that, but sickbeard and nzbget are focused on performing all kinds of tasks necessary when downloading via newsgroups while all flexget does is scan a RSS feed and outputs the correct magnetlink to transmission. I will test this out and if it works as expected on the Raspberry, post the details here so you can use it if you like. If you only download via torrents, all the other stuff isn't necessary.