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 - harmenzon - 16th Jan, 2013 07:03 PM

First of all, excellent work! This is what I was waiting for.
Until today I was using 2 Raspberry Pi's. One to run xbian, and the other to run sabnzbd, sickbeard, couchpotato and headphones.
Than I would stream between the two pi's.
I am very happy that this might all work on one pi now.

Some comments and questions.
- I also would like to see unrar-free installed by default
- Why is the version of sabnzbd only 0.6.15. I beleive version 0.7.9 is the most current?
- I am also looking forward to the 'pause downloading' option, while playing media in XBMC.

Thanks for the great work!!


RE: Download torrent & newsserver package - txutxifel - 16th Jan, 2013 07:34 PM

First, thanks your job-> I have my Rpi with with xbian working perfectly.
Tongue
I had to modify some parameters to get sickebeard working. If I can help someone:
- First, I have problems with loopback interface. I followed this instructions to get network-manager -https://github.com/xbianonpi/xbian/issues/173 so I deleted it in /etc/networkmanager/interface. This file fas to be:

Code:
auto lo
iface lo inet loopback auto eth0


Secondly, sickbeard didn't work to me. I have a problem in sickbeard.pid. I had to deleted in the execute line in /etc/init.d/sickbeard. This way, sickbeard generate a new pid when daemon starts.

third i dont' use nzb so i replace sickbeard for this version:
https://github.com/mr-orange/Sick-Beard

It is a sickbeard with pirate-bay support. I prefer this version. I don't now if your cat use it by default.

I dont' use sabnzbplus, and headphones so i disable from /etc/init.d/ renaming this files:
sandnzbplus to sandnzbplus_disable
headphones to headphones_disable

I dont' know if a best metod exists.


Thanksssss!!!!!!!!!!!!!!


RE: Download torrent & newsserver package - CurlyMo - 16th Jan, 2013 08:03 PM

Disabling the autostart of a daemon:
Code:
update-rc.d [name] remove

To enable the autostart of a daemon:
Code:
update-rc.d [name] defaults



RE: Download torrent & newsserver package - eth0 - 16th Jan, 2013 08:15 PM

@SolGarlic what are your configure options. Are you setting any variables beforehand?


RE: Download torrent & newsserver package - CurlyMo - 16th Jan, 2013 08:32 PM

Can all of you answer the poll i created...


RE: Download torrent & newsserver package - SolGarlic - 16th Jan, 2013 09:34 PM

(16th Jan, 2013 08:15 PM)eth0 Wrote:  @SolGarlic what are your configure options. Are you setting any variables beforehand?

No, I was just following the instructions in https://trac.transmissionbt.com/wiki/Building for Debian Squeeze... Although it got stuck when "making" libevent.

(16th Jan, 2013 08:32 PM)CurlyMo Wrote:  Can all of you answer the poll i created...

Excellent idea!
But isn't it possible to have the possibility to install all of them, but only running the ones that we want?
More or less 30Mb of used space in the SDCard are not relevant...


RE: Download torrent & newsserver package - CurlyMo - 16th Jan, 2013 09:48 PM

For now, no, because then less experienced users still have to tweak system settings. When we have them included in xbian-config, then yes.


RE: Download torrent & newsserver package - eth0 - 16th Jan, 2013 11:46 PM

@SoGarlic ignore them. Just run ./configure --enable-lightweight && make && make install - install the dependencies via apt first though.


RE: Download torrent & newsserver package - SolGarlic - 17th Jan, 2013 12:02 AM

(16th Jan, 2013 11:46 PM)eth0 Wrote:  @SoGarlic ignore them. Just run ./configure --enable-lightweight && make && make install - install the dependencies via apt first though.

OK, I will, but just to confirm:
I get the error after the last command when installing libevent:
$ cd /var/tmp
$ wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gztar xzf libevent-2.0.21-stable.tar.gz
$ cd libevent-2.0.21-stable
$ CFLAGS="-Os -march=native" ./configure && make

And you are saying to just do the second part:
$ cd /var/tmp
$ wget http://download-origin.transmissionbt.com/files/transmission-2.76.tar.bz2
$ tar xjf transmission-2.76.tar.bz2
$ cd transmission-2.76
and instead of the last "make" command, I should run the one you mention:
./configure --enable-lightweight && make && make install

Right?

I will try and install libevent through apt-get first, just in case...


RE: Download torrent & newsserver package - eth0 - 17th Jan, 2013 05:16 AM

I never installed or built libevent. It probably installed as a dependency via apt when I installed transmission originally and I never removed it.

Try apt-get install libevent-2.0.5 libevent-openssl-2.0.5 libevent-dev - although you should have them already in /usr/lib/arm-linux-gnueabhf/


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

I'm currently working on rebuilding the download package. I've got a working transmission (lightweight) and nzbget running. SB, CP and HP where already running in the current version of the package. I will await the poll results to see what package i'm going to include.

The next step is finding the right directory structure:

NZBget
DestDir=
NzbDir=
QueueDir=
TempDir=

Transmission
"download-dir": ""
"incomplete-dir": ""
"watch-dir": ""

SABnzbd
nzb_backup_dir = ""
download_dir = ""
cache_dir = ""
complete_dir = ""
script_dir = ""

Headphones
music_dir = ""
destination_dir = ""
download_dir = ""
blackhole_dir = ""
torrentblackhole_dir = ""
download_torrent_dir = ""

Sickbeard
root_dirs = ""
tv_download_dir = ""
nzb_dir = ""
torrent_dir = ""

Couchpotato
[blackhole]
directory =
[transmission]
directory =

What folders would you guys like to see?


RE: Download torrent & newsserver package - txutxifel - 17th Jan, 2013 06:58 PM

I think that last folders are perfect.


suggestion for the package - SolGarlic - 17th Jan, 2013 08:04 PM

disclaimer: I am not related in any way to the developer of AUTOMATIC. I am doing this just because I am convinced this is a lightweight and easy to configure torrent scraper.
end disclaimer

I urge everyone to get to know AUTOMATIC! A simple and apparently lightweight torrent scraper for movies and TV shows.
I use it to process the feeds from http://showrss.karmorra.info and start downloading my favourite TV shows into the proper folders.
Please visit the page http://kylek.is-a-geek.org:31337/Automatic/ and vote for AUTOMATIC!

:-)


RE: Download torrent & newsserver package - CurlyMo - 17th Jan, 2013 08:11 PM

@txutxifel, can you clarify yourself a bit.


RE: Download torrent & newsserver package - CurlyMo - 17th Jan, 2013 10:01 PM

The point to Automatic and rTorrent is that they don't easily integrate a webgui. With rtorrent, it is possible but not without additional packages/settings. Our goals is to provide easy-to-use packages. rTorrent and Automatic are just not easy to use because of the lack of gui. That's why they will be removed from the options list.

I have already compile and uploaded nzbget, transmission and sickbeard. They can be downloaded from here:
1) http://jb.xenserver.sk/xbian/nzbget.tar.gz
2) http://jb.xenserver.sk/xbian/transmission.tar.gz
3) http://jb.xenserver.sk/xbian/sickbeard.tar.gz

Remember to first remove the old packages before installing the new one.
I have also changed the location of the program files from /home/xbian to /usr/local/*
The settings file all reside under /usr/local/etc/

I also left the folder settings empty for all packages so you guys can help think what folders are most logical to use. So please share the custom settings you're applying.

It could be that you should install additional dependencies, can you guys then let me know what dependencies that are?

NZBget
Code:
sudo su
cd /home/xbian/
wget http://jb.xenserver.sk/xbian/nzbget.tar.gz
tar -zxvf nzbget.tar.gz -C /
update-rc.d nzbgetd defaults
/etc/init.d/nzbgetd start
http://x.x.x.x:9092/

Transmission
Code:
sudo su
cd /home/xbian/
wget http://jb.xenserver.sk/xbian/transmission.tar.gz
tar -zxvf transmission.tar.gz -C /
update-rc.d transmission defaults
/etc/init.d/transmission start
http://x.x.x.x:9091/

Sickbeard
Code:
sudo su
cd /home/xbian/
wget http://jb.xenserver.sk/xbian/sickbeard.tar.gz
tar -zxvf sickbeard.tar.gz -C /
update-rc.d sickbeard defaults
/etc/init.d/sickbeard start
http://x.x.x.x:9094/

I will add the rest later.