Firmware: A-410 [01 Apr. 2014] | A-400 [12 Mar. 2014] | C-300 [13 Feb. 2014] | A-300 [24 Feb. 2014] | C-200 [11 July 2013] | A-200/A-210 [11 July 2013] | Popbox V8 [3 Dec 2013]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Post Reply 
Oversight GUI on NMT + Nzbget,feedtime running on DNS323
10-15-2011, 01:41 PM (This post was last modified: 12-23-2011 12:35 PM by lordy.)
Post: #1
Oversight GUI on NMT + Nzbget,feedtime running on DNS323
Hi all,

For a while I have been running Oversight on NMT, but nzbget and feedtime have been running on my DNS323.

I had put together some setup notes here also externally here

These were really reminder notes for myself rather than a readable article.
Also there is no GUI for feedtime. (better to lift and shift a working feedtime), then edit the tv.list files manually for new shows. I would have liked to get that ready first, but no time right now.

So hope this is of use to someone in the mean time!

---

Note that Oversight can watch for timestamp changes on a single file before rescanning, so whatever backend you use, configure it to update the timestamp on a single file whenever new content is added, and have OVersight monitor that single file for changes. This is the 'catalog_trigger_files' setting.

---

My C200 just has an old 60G laptop IDE HD for apps now. (connected via interface from a broken USB IDE caddy - seem to have a few of those! )

The DNS322 runs from under the stairs.

Oversight: Jukebox | FeedTime: Automatic nzbs
Find all posts by this user
Add Thank You Quote this message in a reply
10-15-2011, 04:26 PM
Post: #2
RE: Oversight GUI on NMT + Nzbget,feedtime running on DNS323
Your doc not available to other users?

PCH-A110, Netgear Stora, HDMI>Sony TV via Onkyo Amp
Find all posts by this user
Add Thank You Quote this message in a reply
10-15-2011, 05:00 PM (This post was last modified: 08-17-2012 01:15 PM by lordy.)
Post: #3
RE: Oversight GUI on NMT + Nzbget,feedtime running on DNS323
Cant you see it via the link? I've pasted below ...


UPDATE: If you have a dns323 Hardware Rev B1/C1 then I recommend looking at the Alt-F firmware. This has built in package management, nzbget, nzbgetweb packages, and will likely speed up your NAS too

Otherwise the nzbget binaries for dns323 are now hosted under optware/ipkg. So if using the stock firmware install funplug then ipkg, then optware, and then use that to get all of nzbget, nzbgetweb,unrar,par2cmdline,wget packages, ( see http://www.nslu2-linux.org/wiki/Optware/Dns323 )

Then follow guide below for nzbget configuration and Oversight.


DNS-323 Nzbget Oversight Popcorn

Decided to start using my Dlink DND323 nas with anger. I expect the end result to be:

Oversight Gui - Running on Popcorn
nzbget - dlink
unpack scripts - dlink
catalog scripts (movie renaming etc) - dlink
feedtime - dlink

On the dlink do the following steps:

- Flash to latest firmware of choice, and package system - Recommend Alt-F if you have a Rev B1/C1 board (see Alt-F wiki)

- Install all nzbget packages - nzbget, unrar , par2cmdline

- Install all nzbgetwebpackages - nbgetweb, php, php-cgi, lightttpd.
For optware - lighttpd installation see http://nas-tweaks.net/88/installation-an...-fun_plug/
For Alt-f nzbgetweb see https://groups.google.com/forum/#!msg/al...AJgfiNRVYJ[1-25]
Quote:install nzbgetweb (nzbget, php and lighttpd should automatically be installed)
then configure lighttpd:
-use the Browse button to *create* a folder for lighttpd usage, such as /mnt/sda2/WebData
-specify that folder as the lighttpd server root
-enable php and its 'json' and 'session' extensions
-Submit

- If using dlink firmware and NFS, then install unfsd., Dlinks own nfs is unstable in my experience.

- Create four media/data folders for TV, Movies , Complete and Download. Make sure they are writeable by the same user that will run the nzbget process.

- edit nzbget.conf (or copy from nmt oversight and change paths)

PHP Code:
DaemonUserName=name of user that can write to folders.
    
DestDir=/path/to/Download
    $MAINDIR
=/mnt/HD_a2/Apps/nzbget
    $DESTDIR
=/path/to/Download
    DestDir
=${DESTDIR}
    
NzbDir=${MAINDIR}/nzb
    QueueDir
=${MAINDIR}/queue
    TempDir
=${DESTDIR}/tmp
    NzbDirFileAge
=12
    DupeCheck
=yes
    ContinuePartial
=no
    DirectWrite
=yes (tempdir must be same partition as DestDir)
    
CrcCheck=no ???
    
ResetLog=yes
    InfoTarget
=screen
    DetailTarget
=none
    DebugTarget
=none
    ProcessLogKind
=info
    LogBufferSize
=100
    OutputMode
=loggable
    ParPauseQueue
=yes (may leave as no for nas)
    
PostProcess=/mnt/HD_a2/Apps/oversight/bin/unpak.sh
    AllowReprocess
=yes
    DaemonUserName
=nobody (any folders created by nzb first time may need permissions fixing

- Set Permissions
- Test Nzbget

PHP Code:
nzbget -/ffp/etc/nzbget.conf -
to start
PHP Code:
nzbget -/ffp/etc/nzbget.conf -
to run in background
PHP Code:
nzbget -/ffp/etc/nzbget.conf -
to stop

Note permissions might be wrong for any newly created folders. So check sub folders in Download etc.


Oversight catalog script
This is a little messy due to historical reasons. We need to extract the catalog and unpak functions from the oversight install. Might tidy this up over time.

Download latest oversight for csi or mini-installer.
Extract bin and conf folders to /mnt/HD_a2/Apps/oversight/{bin,conf}
optional: delete nmt100 and nmt200 folders. (for tidyness)

PHP Code:
# cd conf
# cp catalog.cfg.example catalog.cfg
# cp oversight.cfg.example oversight.cfg
# cp unpak.cfg.example unpak.cfg 

In catalog.cfg change

PHP Code:
catalog_film_folder_fmt="/share/Movies/{:ORIG_TITLE:}{ (:YEAR:)}{ - :CERT:}"

    
catalog_tv_file_fmt="/share/Tv/{:ORIG_TITLE:}{ - Season :SEASON:}/{:NAME:}"

    
catalog_film_folder_fmt="/mnt/HD_b2/data/Movies/{:ORIG_TITLE:}{ (:YEAR:)}{ - :CERT:}"

    
catalog_tv_file_fmt="/mnt/HD_b2/data/Tv/{:ORIG_TITLE:}{ - Season :SEASON:}/{:NAME:}" 
Also , the following setting causes the datestamp on a static file to be changed whenever new content is added to the NAS.

catalog_touch_file=”/mnt/HD_b2/data/.scan”

Oversight on the NMT can then monitor this file by adding this file to the catalog_trigger_files setting on the NMT (not the NAS)

in unpak.cfg

unpak_nzbget_bin="/ffp/bin/nzbget"
unpak_nzbget_conf="/ffp/etc/nzbget.conf"



replace /share/Apps with /mnt/HD_a2/Apps
replace /share with /mnt/HD_b2/data

unpak_nmt_pin_root=/mnt/HD_b2/data/Complete/~Other


catalog.sh (fixed in next version of oversight)

uid=nobody
gid=501



If editing as root , fix up all permissions again
# chown -R 501:501 /mnt/HD_a2/Apps/
# chown -R 501:501 /mnt/HD_a2/data/
# chown -R 501:501 /mnt/HD_b2/data/

ffp startup scripts

Install following scripts in /ffp/start

nzbget_ffp.sh
PHP Code:
#!/ffp/bin/sh

# PROVIDE: nzbget
. /ffp/etc/ffp.subr

name
="nzbget"
command="/ffp/bin/nzbget -D"
required_files="/ffp/etc/nzbget.conf"

start_cmd="nzbget_start"

nzbget_start()
{
   
ln -sf /ffp/etc/nzbget.conf /etc
   
   nzbget 
-D
   
#proc_start $command
}

run_rc_command "$1" 

feedtime_ffp.sh
#!/ffp/bin/sh

PHP Code:
# PROVIDE: feedtime
. /ffp/etc/ffp.subr

name
="feedtime"
command="/mnt/HD_a2/Apps/feedtime/feedtime.sh install"

start_cmd="feedtime_start"

feedtime_start()
{
   /
mnt/HD_a2/Apps/feedtime/feedtime.sh install
   
#proc_start $command
}

run_rc_command "$1" 

Oversight: Jukebox | FeedTime: Automatic nzbs
Find all posts by this user
Add Thank You Quote this message in a reply
[+] 2 users say Thank You to lordy for this post
10-19-2011, 01:47 PM
Post: #4
RE: Oversight GUI on NMT + Nzbget,feedtime running on DNS323
lordy

for streaming I'm using llink on dns-323, performance is much better than nfs or smb, especially for MKVs. I have simple wrapper to intercept mono launch.

Oversight is the best application for PCH!
Find all posts by this user
Add Thank You Quote this message in a reply
[+] 1 user says Thank You to mike7 for this post
08-17-2012, 07:36 PM
Post: #5
RE: Oversight GUI on NMT + Nzbget,feedtime running on DNS323
Hi Lordy,

great work (as always Big Grin).

Just stepped into this and begin to build thinks as discribed.
My goal is to run 1 oversight from my nas (DNS-323 / CH3SNAS) and serve to players (C-200 (eversion) and A-110 (html) one db on nas) .
I don't need stuff like nzbget, feedtime (what ever this is).

So now my questions:

Is this tutorial what i need?
Do i need a cronjob for the catalog (scanning, scraping) on the nas?

Stucked at the point where i have to modify the config files and don't understand how it will work
with the gui on the pch's without any modifing there. (am i blind?)

Maybe you can lend me a hand on this. Angle

C-200 @50'' Panasonic TH-50PX8EA
(BR, 2,5''HDD 500GB, LAN)
A-110 @42'' LG LED-TV
(3,5''HDD 1TB, LAN)
CH3SNAS 1TB+500GB, DNS-323 2x2TB,
ACER WHS H-340 1TB
!! VOTE FOR !! multiple switchable external subtitles (srt)
Find all posts by this user
Add Thank You Quote this message in a reply
08-17-2012, 08:30 PM
Post: #6
RE: Oversight GUI on NMT + Nzbget,feedtime running on DNS323
Hi this guide is really for nzbget and using Oversight backend to tidy the files as they come in.

The Oversight frontend must always run on a NMT so you need to have two Oversights.
For you needs you just install Oversight on each nmt as normal and set up a network share pointing to your NAS
see http://code.google.com/p/oversight/wiki/...e_on_a_NAS

I should add a tweak so Oversight will only search for new content if free space has changed by more than a few K.
That will save a lot of unnecessary polling of the NAS.

Oversight: Jukebox | FeedTime: Automatic nzbs
Find all posts by this user
Add Thank You Quote this message in a reply
08-18-2012, 09:46 AM (This post was last modified: 08-18-2012 03:11 PM by MikeHunter.)
Post: #7
RE: Oversight GUI on NMT + Nzbget,feedtime running on DNS323
Thanks Lordy,

already have two oversight frontends up and running with all movie pathes mounted to each PCH /Video folder.

Structur looks like this:
A110
-Video
--a110 (local)
--c200 (mounted)
--ch3snas_v1 (mounted)
--ch3snas_v2 (mounted)
--dns323_v1 (mounted)
--dns323_v2 (mounted)
--whs (mounted)

C2000
-Video
--a110 (mounted)
--c200 (local)
--ch3snas_v1 (mounted)
--ch3snas_v2 (mounted)
--dns323_v1 (mounted)
--dns323_v2 (mounted)
--whs (mounted)

scan path is alway /share/Video

So database (filepath) should be absolut identically on both PCH

[edit]
Thinking about symlink on oversight catalog file (deactivate scan on a-110 and use one db)
What do you think about this?

C-200 @50'' Panasonic TH-50PX8EA
(BR, 2,5''HDD 500GB, LAN)
A-110 @42'' LG LED-TV
(3,5''HDD 1TB, LAN)
CH3SNAS 1TB+500GB, DNS-323 2x2TB,
ACER WHS H-340 1TB
!! VOTE FOR !! multiple switchable external subtitles (srt)
Find all posts by this user
Add Thank You Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Cant install Oversight on C-200 kschnei150 0 283 03-30-2014 11:12 AM
Last Post: kschnei150
  multiple copies of oversight.cgi running say170 1 557 03-18-2014 06:24 PM
Last Post: Sproglet
  eversion/oversight list view problem jonny555 0 469 03-02-2014 12:14 PM
Last Post: jonny555
Question Oversight 2380 stopped working after reboot Shadowtester 7 1,366 02-28-2014 01:51 PM
Last Post: guerilla
  Oversight Jukebox r571-stable lordy 1,537 514,317 02-28-2014 01:03 PM
Last Post: mvveelen
  Oversight scan engine for NMJ vaidyasr 12 1,399 02-22-2014 07:50 PM
Last Post: jonny555
  my oversight setting skin togo with slickII jonny555 2 694 02-12-2014 01:39 AM
Last Post: jonny555
  Eversion not displaying new Oversight Titles pmcd 0 495 12-30-2013 09:24 PM
Last Post: pmcd
  Pch-C300 and Oversight... Aursis 4 1,533 12-28-2013 02:16 PM
Last Post: jonny555
  can i set my A110 to immediately open to Oversight when i start it up ? tebbo66 2 901 12-27-2013 12:26 PM
Last Post: tebbo66

Forum Jump: