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


[Part 1] Download torrent & newsserver package - CurlyMo - 5th Jan, 2013 11:51 AM

The long awaited for torrent and newsserver download package has been released. Install it, try it, and let me know how it works. Also check if you would like to see something changed in the config files.

Code:
sudo su
apt-get update
apt-get install xbian-package-download

After the installation is done, wait a minute or two for the programs to start. Then you can go to the following locations:
Terminal
The default login: xbian, pass: raspberry

Finished downloads: /home/xbian/downloads
Incomplete downloads: /home/xbian/incomplete
Torrents and nzb: /home/xbian/torrents

PS1. It is adviceable to stop XBMC because these programs require a lot of system resources.
Code:
/etc/init.d/xbmc stop
PS2. Install xbian-package-samba, if you would like to reach your RPi through the network.



The information above is quite outdated. Please don't use this old package anymore. I (CurlyMo) am working hard, with the great support of users in this forum, on a new bugfree and highly adaptable version. Use these new builds from below instead.

For those who want to test the download package version 2.0. Please completely remove the old packages or install on a fresh xbian. Let me know if it worked as expected.

Code:
sudo su
echo "deb http://jb.xenserver.sk/xbian/aptexp2/ wheezy main" >> /etc/apt/sources.list
apt-get update
apt-get install xbian-package-download

Of course, give all packages enough time to load as it can be slow.

Separate packages can be installed through one of the following lines:
Code:
sudo apt-get update
sudo apt-get install xbian-package-transmission
sudo apt-get install xbian-package-nzbget
sudo apt-get install xbian-package-headphones
sudo apt-get install xbian-package-couchpotato
sudo apt-get install xbian-package-sickbeard

To download to an external hard drive:
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 - eth0 - 5th Jan, 2013 12:40 PM

I'd just like to add I'm successfully running XBMC, Transmission, Sick Beard and Couch Potato all at the same time clocked @ 900Mhz. If I play a 1080p film whilst Transmission is downloading then it does indeed lag. I have hacked together (read: badly made, I'm new to Python!) a script that will pause all downloads once you start watching a film and then resume them again once its finished

default.py: http://pastebin.com/fer29Zgn (edit your details on line 21)
addon.xml: http://pastebin.com/mFSB6qvN

Pop both of these files in ~/.xbmc/addons/script.torrentpause and restart XBMC. You will need the python transmissionrpc package, you can install it with `easy_install transmissionrpc`. It's quite limited but it does what I need, feel free to expand on it and I hope its of use to someone Smile

I also built Transmission from the latest nightly build (2.75+) and compiled with:
Code:
--enable-lightweight    optimize libtransmission for low-resource systems:
                          smaller cache size, prefer unencrypted peer
                          connections, etc.

and noticed a slight improvement from the one in the raspbian repo (2.5?)


RE: [Please test] Download torrent & newsserver package - CurlyMo - 5th Jan, 2013 08:27 PM

Do you have the possibility to test the actual package?


RE: [Please test] Download torrent & newsserver package - Koenkk - 8th Jan, 2013 06:01 AM

Works perfectly Smile


RE: Download torrent & newsserver package - subbia - 9th Jan, 2013 08:56 AM

Solved by changing the nice level to transmission process to 10, and leveraging timeout values. Not the best solution for my router, but it does the work ;-)


RE: Download torrent & newsserver package - CurlyMo - 9th Jan, 2013 09:05 AM

What was solved?


RE: Download torrent & newsserver package - Pihkal - 9th Jan, 2013 09:10 AM

I think he means the lagging video playback whilst downloading a torrent.


RE: Download torrent & newsserver package - Wijsneus - 9th Jan, 2013 11:44 PM

After initial setup, which all looked good, I can't reach Sickbeard anymore on port 9094.

All the others I can reach on their own ports, just not Sickbeard. Any idea how to fix this?


RE: Download torrent & newsserver package - CurlyMo - 10th Jan, 2013 12:19 AM

Sickbeard take the longest time to start, are you sure you've waited long enough.

Also try restarting sickbeard:
Code:
sudo /etc/init.d/sickbeard restart



RE: Download torrent & newsserver package - Wijsneus - 10th Jan, 2013 12:33 AM

I waited for more than 30 minutes, should be long enough right?

Where can I input that line of code?

Sorry, real new to linux an RasPi. I'm using Putty.

And one more question: I'd like to change my download destination to an external hdd. How do I know what the pad of my hdd is? I can see and browse it through my network, but can't seem to change the dl-folder to something like "/devices/usb0/Downloads"


RE: Download torrent & newsserver package - CurlyMo - 10th Jan, 2013 12:58 AM

1) Just type in the putty window.
2) Do the following:
Code:
mkdir /media/usb/Downloads
chown xbian:xbian /media/usb/Downloads
chmod 777 /media/usb/Downloads
rm -r /home/xbian/Downloads
ln -s /media/usb/Downloads /home/xbian/Downloads



RE: Download torrent & newsserver package - colonelsanders - 10th Jan, 2013 01:52 AM

I had a similar problem with sickbeard. On start up it didn't appear to run properly, it wasn't found on the port listed in the configuration.ini. However running the SickBeard.py script made it run but only on the default 8081 port. I was able to login from there and change the settings so that it ran properly though.

Edit: sabnzbd doesn't seem to unpack files properly either during post-processing, leading to errors in post-processing on the sickbeard end.

Edit: sabnzbd won't unpack the files as unrar-free won't unpack multiple rar files


RE: Download torrent & newsserver package - Wijsneus - 10th Jan, 2013 11:11 AM

Hi CurlyMo,

I followed the steps you gave me, but got the following error:

"chown: changing ownership of `/media/usb/Downloads': Operation not permitted"

Is this of vital importance?

After I delete (?) the downloads folder in home/xbian, I get the following:

"xbian@xbian:~# ln -s media/usb/Downloads home/xbian/downloads
ln: failed to create symbolic link `home/xbian/downloads': No such file or directory"

Not sure if these are really problems...


RE: Download torrent & newsserver package - CurlyMo - 10th Jan, 2013 11:17 AM

You forgot the leading '/'

When you get permission error, start add a 'sudo' in the beginning of your command.

Also try changing '/media/usb' to '/media/usb0'


RE: Download torrent & newsserver package - txutxifel - 10th Jan, 2013 07:44 PM

I have problems with sickbeard too.

First-> I can't access to sickbeard website. I could fix it with:

rm /home/xbian/.config/sickbeard/sickbeard.pid

Secondly -> Now sickbeard cant add any series. It is able to load a new series.
(loading) Loading... (/home/xbian/downloads/Series/Homeland/Homeland)

Any idea?

Third-> I have a problem with the date. Rpi start always en 1970

Thanks for your effort!!!