News:

Tekforums.net - The improved home of Tekforums! :D

Main Menu

Nimrod's "It might get you a Linkstation with extras if you're lucky" Guide

Started by Mardoni, July 21, 2010, 18:58:19 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

soopahfly

Quote from: NimrodOk if I tell you what theyre for, you can figure out what they should be :p

prefix="/opt" <- Root of the directory where ipkg installs apps
PATH=${prefix}/bin:${prefix}/sbin:/sbin:/bin:/us/sbin:/us/bin <- the possible paths to the app/script in question
NAME=nzbget <- the name of the app/script we want to run
DAEMON=${prefix}/bin/${NAME} <- this should end up being the fullpath to the app/script (/opt/bin/nzbget)
DAEMON_OPTS="-c ${prefix}/etc/nzbget.conf" <- fullpath to the nzbget.conf file


I think Im going to look into how the post processing scripts can suspend downloading and try to write a download speed manager. Being on VM, I get capped hard if I download in "peak" hours. So having a way to control NZBGet would be great :)

Ive made an adjustment, and now I get this,

root@DOCUTORRENT:/opt/etc/init.d# sh S81nzbget
Starting Service: nzbget
*** NZBGet post-process script ***
This script is supposed to be called from nzbget (0.7.0 or later).
root@DOCUTORRENT:/opt/etc/init.d#

Mardoni

Honestly youre getting some weird sh*t to happen.
The script I wrote doesnt do anything with the post processing scripts :s

Try calling: S81nzbget stop

I just cant believe that your setup is that different from mine :s

(On that note, my Linkstation is being RMAd for an intermittent failure :/)

soopahfly

Is it going back to BroadbandBuyer?  Hopefully youll get a nice shiny new revision!

I really dont know whats going on with my scripts. Ive edited the paths to point to the right places.
I have to type "sh" before the script, and it complains about postprocessing.

Mardoni

It was a bit of a mission sorting out the RMA. BBB werent interested and dumped me straight off onto Buffalo. After a short phone call with the Buffalo support line Buffalo have approved the RMA but want me to return the Linkstation to Broadband buyer.

I can see this turning into a nightmare and I think I might have been able to resolve my issue by using ffannyd to keep the HDD temp down too :/

As for your scripts I actually have no idea whats going on :s
Im wondering if the NZBGet version in the ipkg repository has been upgraded since you installed it (maybe). But why youre having to type "sh S81nzbget" is way outside of my *nix knowledge base :/

soopahfly

How you getting on with the RMA?

Me and Methanoid (from Nas Communities) are putting pressure on Stevie to include NZBGet in his next SHMOD.

PF62

Quote from: NimrodFirst up, a lot of this work is NOT mine. A lot of it has been pulled together from either The NAS Central Site or from Soopahflys experiences ;)
The rest of it is mine (there is a fair chunk) :p

Just registered here to say thanks for a really comprehensive guide, that managed to get me up and running nzbget on my Linkstation within an hour.

soopahfly

Great stuff.

Stick around, there will probably be more Linkstation related joy/pain soon!

Mardoni

Quote from: PF62
Quote from: NimrodFirst up, a lot of this work is NOT mine. A lot of it has been pulled together from either The NAS Central Site or from Soopahflys experiences ;)
The rest of it is mine (there is a fair chunk) :p

Just registered here to say thanks for a really comprehensive guide, that managed to get me up and running nzbget on my Linkstation within an hour.

Excellent, glad I could help like Soopha helped me :)

Im just about to follow this whole guide again on the replacement Linkstation that Ive just received.

Mardoni

Ive just completely rebuilt mine in a little under an hour.

Ive also come across the problem you were having soopha with the scripts I wrote. The problem is with the command I use to remove remove windows carriage returns.
Im trying to figure a work around :)


edit: Meant to say that my previous Linkstation did have a problem. The fan circuitry mustve been faulty as the fan on this one is spinning up without me having to do anything to get it working.

soopahfly

Shouldnt be a problem with carriage returns, if you use notepad++
Or you were copying them with additional carriage returns.,

soopahfly

Ive just added these little dittys to my NZBGET.Conf file

Task2.Time=09:00
Task2.WeekDays=1-7
Task2.Command=DownloadRate
Task2.DownloadRate=150

Task3.Time=22:00
Task3.WeekDays=1-7
Task3.Command=DownloadRate
Task3.DownloadRate=0

Basically, it throttles my bandwidth to 150k during the day, and then unlimited after 10.

Mardoni

I was using metapad on Windows, Ill take a look at notepad++ as Ive not worked out a solution yet :/

Ive setup a couple of schedules to pause and resume downloading outside of peak hours :)

Im going to look into installing sickbeard next I think :)

soopahfly

Ive already got a downloader in place. Works with MyEpisodes.com

Quite easy :D

Look at Leechr.

Mardoni

Nice one, will do :)

I found out the hard way that the Linkstation can only read FAT32. I found this out after formatted a 1TB USB disk to FAT32 and copying 500gb of data onto it :/

So Ive spent the entire weekend porting my existing media onto a 1TB XFS disk. Very, very painful exercise.

soopahfly

Let me know if you find a way of automatically renaming TV shows when they are downloaded!