[19. April 2013] A-400 Advanced Network Setup now available | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 [21 Jan. 2013] | A-200/A-210 [10 Aug. 2012]

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)
Thread Closed 
TVNZB 20090709-1 (now called FeedTime) Automated nzb downloads and nzbget scheduler
11-23-2008, 01:17 AM (This post was last modified: 11-23-2008 01:18 AM by lordy.)
Post: #16
RE: [nzbget] Automated downloading from tvnzb.com or newzleech.com
(11-22-2008 11:43 PM)spelosi Wrote:  First off, Let me say that is an awesome idea. Thanks for putting this together.

You're welcome Smile

(11-22-2008 11:43 PM)spelosi Wrote:  When I click Process Feed Now with 10 pages I get this:

22:32 Sat 22 Nov : Completed mode=LIVE : last link = http://www.newzleech.com/?m=gen&dl=1&post=8259024

And nothing else happens. No NZB is retrieved.

Hi, try the 'reset rss' option.
What is happening is the script keeps a record of the most recent link seen on the feed. (last link).

If the nzbs were listed earlier than that link, then it wont download them.
Reset rss clears the 'last link' record.

I have to think of better wording (any suggestions?).

Oversight: Jukebox | FeedTime: Automatic nzbs
Find all posts by this user
11-23-2008, 05:07 AM (This post was last modified: 11-23-2008 06:17 AM by spelosi.)
Post: #17
RE: [nzbget] Automated downloading from tvnzb.com or newzleech.com
(11-23-2008 01:17 AM)ydrol Wrote:  You're welcome Smile

(11-22-2008 11:43 PM)spelosi Wrote:  When I click Process Feed Now with 10 pages I get this:

22:32 Sat 22 Nov : Completed mode=LIVE : last link = http://www.newzleech.com/?m=gen&dl=1&post=8259024

And nothing else happens. No NZB is retrieved.
Hi, try the 'reset rss' option.
What is happening is the script keeps a record of the most recent link seen on the feed. (last link).

If the nzbs were listed earlier than that link, then it wont download them.
Reset rss clears the 'last link' record.

I have to think of better wording (any suggestions?).

Thanks!

That did the trick. It grabbed an nzb off my list and processed it when i clicked Process Feed now.

But when it was done, it didn't grab the next one, even though there were about 10 found when I did the test.

When will it grab the others?

I tried stopping and starting the service but when it starts up again it just says this:

05:11 Sun 23 Nov : Completed mode=LIVE : last link = http://www.tvnzb.com/nzb/15306

I know there are other files out there that it could grab. Why isn't it grabbing them at start up?
Find all posts by this user
11-23-2008, 06:32 AM (This post was last modified: 11-23-2008 06:39 AM by lordy.)
Post: #18
RE: [nzbget] Automated downloading from tvnzb.com or newzleech.com
Hi, There is a difference between 'test' and 'live'.

'Live' will use an RSS feed (which will normall only have very recent items).

'Test' will search back through the history, by browsing the pages on the normal website. This searches through old posts just to help you check your patterns are working.


So when you do your test , you picked up all of the old matches, but when you do 'live' you only get recent items. (any may not get any matches at all).



My thinking was that if I want older stuff that's already been posted , I'd just download the nzbs directly from the website as it would not be present in an RSS stream anyway.

I could add an option to process older pages now, but I'll wait to see if there is demand for it. It will probably get confusing as you start adding more tv programs to the list, as you would only want to do this for new patterns. It would need thinking about, and probably a lot of effort for little gain.

If you have any more experience to share, or suggestions, I'm very interested though.

PS Newsleech's RSS feed doesnt make it easy to find the NZBs to download, so I created a fake RSS feed from the first page of the website.

Oversight: Jukebox | FeedTime: Automatic nzbs
Find all posts by this user
11-23-2008, 06:58 AM (This post was last modified: 11-23-2008 07:14 AM by spelosi.)
Post: #19
RE: [nzbget] Automated downloading from tvnzb.com or newzleech.com
(11-23-2008 06:32 AM)ydrol Wrote:  Hi, There is a difference between 'test' and 'live'.

'Live' will use an RSS feed (which will normall only have very recent items).

'Test' will search back through the history, by browsing the pages on the normal website. This searches through old posts just to help you check your patterns are working.


So when you do your test , you picked up all of the old matches, but when you do 'live' you only get recent items. (any may not get any matches at all).



My thinking was that if I want older stuff that's already been posted , I'd just download the nzbs directly from the website as it would not be present in an RSS stream anyway.

I could add an option to process older pages now, but I'll wait to see if there is demand for it. It will probably get confusing as you start adding more tv programs to the list, as you would only want to do this for new patterns. It would need thinking about, and probably a lot of effort for little gain.

If you have any more experience to share, or suggestions, I'm very interested though.

PS Newsleech's RSS feed doesnt make it easy to find the NZBs to download, so I created a fake RSS feed from the first page of the website.

Ok, that makes sense.

It only grabs the mentalist every time, and that's the newest show.

Now, if I stop and start it again, will it grab the mentalist again? even though it has already grabbed it?

Thanks a lot for all your help.

As soon as I saw NZB support I was thinking of creating the same application, but it would run in windows. I didn't know how to retrieve the NZB based on the information returned from the RSS feed. Since you made this, I don't have to worry about it Smile

Thanks again!

Steve
Find all posts by this user
11-23-2008, 12:54 PM (This post was last modified: 11-23-2008 07:08 PM by lordy.)
Post: #20
RE: [nzbget] Automated downloading from tvnzb.com or newzleech.com
Hi, if you stop and start it it should work ok. That's what the 'last link' is for. It records the newest link it has seen on the stream, and stores this as the 'last link', and when it runs the next time it process the new links until it sees the previous 'last link'

Glad you like it. There are a few windows NZB/RSS grabbers already knocking around Smile
In the RSS feed is a field that typically takes you to the news story. On some NZB sites this is a direct link to download the NZB. On others, it takes you to a web page concerning the show, or to further select files that will make up the NZB. Easiest way to see is to browse to an RSS URL and then do 'view source'

Oversight: Jukebox | FeedTime: Automatic nzbs
Find all posts by this user
11-23-2008, 06:32 PM
Post: #21
RE: [nzbget] Automated downloading from tvnzb.com or newzleech.com
(11-21-2008 01:03 AM)ydrol Wrote:  There is one missing feature - you have to re-activate the PC url after a reboot. I will fix this soon, by hooking into /share/start_app.sh etc (all that is required is creation of a symlink).

If you already have a start_app.sh on your internal drive the missing lines
to add below #M_A_R_K_E_R_do_not_remove_me are
Code:
ln -s /share/Apps/tvnzb/tvnzb.cgi /opt/sybhttpd/default/.
/share/Apps/tvnzb/tvnzb.sh start
using a Unix compatible text editor.

I guess before "exit 0".
So is the following correct?

Code:
#!/bin/sh
#

#M_A_R_K_E_R_do_not_remove_me
cd /opt/sybhttpd/localhost.drives/HARD_DISK/bin/ && ./telnetd -l /bin/sh &

ln -s /share/Apps/tvnzb/tvnzb.cgi /opt/sybhttpd/default/.
/share/Apps/tvnzb/tvnzb.sh start

exit 0
Find all posts by this user
11-23-2008, 07:08 PM
Post: #22
RE: [nzbget] Automated downloading from tvnzb.com or newzleech.com
(11-23-2008 06:32 PM)Bert684 Wrote:  So is the following correct?

Code:
#!/bin/sh
#

#M_A_R_K_E_R_do_not_remove_me
cd /opt/sybhttpd/localhost.drives/HARD_DISK/bin/ && ./telnetd -l /bin/sh &

ln -s /share/Apps/tvnzb/tvnzb.cgi /opt/sybhttpd/default/.
/share/Apps/tvnzb/tvnzb.sh start

exit 0

Looks good to me Smile

Oversight: Jukebox | FeedTime: Automatic nzbs
Find all posts by this user
11-24-2008, 11:46 AM
Post: #23
RE: [nzbget] Automated downloading from tvnzb.com or newzleech.com
i see the correct links but i also noticed that its not downloading anything now in tvnzb.sh.

i made some changes in tvnzb.sh like changing source like this:

# There are two nzb streams. tvnzb and newzleech
#
# *tvnzb*
# has more consistent nzbs but it can be quite a few hours behind
# and it doesnt carry some more obscure shows.
# Also a single nzb can only be downloaded 5 times.

# *newzleech*
# Has raw autogenerated nzbs. Early publish. Wide variety.
# May be missing pars. Only scans alt.binaries.tv
# It is not using a real stream (no direct nzb links) but a fake
# stream derived from the from the web page.

source=tvnzb
#source=newsleech

plus this :

owner="nmt:nmt"

owner="nmt:1234"

because the default is nmt:1234 right?

but after that its not working am i missing something?

Find all posts by this user
11-24-2008, 12:21 PM
Post: #24
RE: [nzbget] Automated downloading from tvnzb.com or newzleech.com
(11-24-2008 11:46 AM)RiChaDo Wrote:  i see the correct links but i also noticed that its not downloading anything now in tvnzb.sh.
Does a 'test' work? If so its probably OK, you just need to do a reset on the rss stream.

(11-24-2008 11:46 AM)RiChaDo Wrote:  owner="nmt:nmt"

owner="nmt:1234"

because the default is nmt:1234 right?

but after that its not working am i missing something?

Nope nmt:nmt is right Smile The second 'nmt' is the group name, not the password.

Oversight: Jukebox | FeedTime: Automatic nzbs
Find all posts by this user
11-25-2008, 12:10 AM
Post: #25
RE: [nzbget] Automated downloading from tvnzb.com or newzleech.com
now i get error:

/opt/sybhttpd/default/tvnzb.cgi: line 548: /opt/sybhttpd/default/tvnzb.sh: not found

what is the problem now?

Find all posts by this user
11-25-2008, 01:31 AM (This post was last modified: 11-25-2008 01:32 AM by lordy.)
Post: #26
RE: [nzbget] Automated downloading from tvnzb.com or newzleech.com
(11-25-2008 12:10 AM)RiChaDo Wrote:  now i get error:

/opt/sybhttpd/default/tvnzb.cgi: line 548: /opt/sybhttpd/default/tvnzb.sh: not found

what is the problem now?

Hi, TV_HOME must not be set correctly. I would download the original script and start fresh. There isnt any need to make changes to scripts at the moment.

Oversight: Jukebox | FeedTime: Automatic nzbs
Find all posts by this user
11-25-2008, 12:37 PM
Post: #27
RE: [nzbget] Automated downloading from tvnzb.com or newzleech.com
well i did that i deleted everything.
downloaded and made the folders and putting the files in it like the way it's explained.then i site chmod 775 and changed the example list of series and added my list of series after that i go 2 the tvnzb.html tru the media tank then when i check the root of the nmt i see awk.in plus the start.sh so thats good right? but at the tvnzb interface i get the same error (/opt/sybhttpd/default/tvnzb.cgi: line 548: /opt/sybhttpd/default/tvnzb.sh: not found) and its downloading some series i added but even ones i did not add but what i dont get is that when i try 2 add my series tru the pc that it does not save my series its empty but its downloading dexter and some other series i did not add.

Find all posts by this user
11-25-2008, 12:55 PM
Post: #28
RE: [nzbget] Automated downloading from tvnzb.com or newzleech.com
(11-25-2008 12:37 PM)RiChaDo Wrote:  well i did that i deleted everything.
downloaded and made the folders and putting the files in it like the way it's explained.then i site chmod 775 and changed the example list of series and added my list of series after that i go 2 the tvnzb.html tru the media tank then when i check the root of the nmt i see awk.in plus the start.sh so thats good right? but at the tvnzb interface i get the same error (/opt/sybhttpd/default/tvnzb.cgi: line 548: /opt/sybhttpd/default/tvnzb.sh: not found) and its downloading some series i added but even ones i did not add but what i dont get is that when i try 2 add my series tru the pc that it does not save my series its empty but its downloading dexter and some other series i did not add.

Hi, I'll check it out this evening.

Oversight: Jukebox | FeedTime: Automatic nzbs
Find all posts by this user
11-25-2008, 01:20 PM
Post: #29
RE: [nzbget] Automated downloading from tvnzb.com or newzleech.com
ahh thnx did it make a bit of sense?!TongueAngle
im not english so it was a challenge

Find all posts by this user
11-25-2008, 01:43 PM
Post: #30
RE: [nzbget] Automated downloading from tvnzb.com or newzleech.com
I am too busy lately to browse these forums, and see what kind of things I miss.
Ydroll, this is awesome, if you where a girl I would kiss you haha Big Grin
Cant wait to try it out, makes my life much easyer!

C200 1.5 TB Hdd HDMI
A200 Metal apps on USB stick
TV: Samsung LE40C650

Visit my Personal Website
Visit this user's website Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Star NZBGet 9.0/10.0 discussion hugbug 473 38,010 05-21-2013 06:45 PM
Last Post: say170
  Feedtime on Syno NAS espresso 5 539 04-18-2013 04:42 PM
Last Post: espresso
  Can't save NZBGet Web Interface settings jurjongo 0 461 04-15-2013 09:57 PM
Last Post: jurjongo
  NZBGet download x pars instead of one/all/none shazada 0 464 04-07-2013 03:46 PM
Last Post: shazada
  NZBGet on the PCH/NMT Manual and F.A.Q. Philos 147 176,201 03-10-2013 11:33 AM
Last Post: blobe
Tongue Script to send NZB(url) to NZBGet using iOS mrmaximum 18 6,986 03-05-2013 12:23 AM
Last Post: rvdet
  NZBGET postprocess to specified folder Goldrolly 2 1,058 02-15-2013 06:09 PM
Last Post: jhmiller
  nzbget config giovan39 0 656 02-15-2013 11:27 AM
Last Post: giovan39
  nzbget unrar script popcorn a400 giovan39 0 752 02-15-2013 08:17 AM
Last Post: giovan39
Question Keep the Original NZBget webui? jhmiller 5 843 01-30-2013 02:39 PM
Last Post: hugbug

Forum Jump: