Nzbirc/v077

From tiberious.org

Main_Page > NZBirc > v0.7.7

Contents

NZBirc v0.7.7

Download

Change Log

  • TV syncing instead of overwriting, to keep the 'next' episode up-to-date.
  • Extended tv and tv history command to handle date ranges
> nzb tv history from 3 days ago to 1 day ago
< [9th Oct (3d ago)] (01:06pm) 2142491:Dexter - 1x02 - Crocodile
< [10th Oct (2d ago)] (09:09am) 2143706:Weeds - 2x09 - Bash, (05:27pm) 2144542:Spooks - 5x06 - Season 5, Episode 6, (05:27pm) 2144509:Heroes - 1x03 - One Giant Leap [hr], (11:37pm) 2144955:Fifth Gear - 10x03 - Season 10, Episode 3
< [Yesterday] (10:54am) 2145517:Boston Legal - 3x04 - Fine Young Cannibal
> nzb tv 1d - 2d
< Battlestar Galactica (2003): normal -> highres, (next), Next episode: 3x03 - Exodus (1) [Tommorow], Current episode: 3x01 - Occupation [6th Oct (6d ago)], 3x02 - Precipice [6th Oct (6d ago)]
< Numb3rs: highres -> 720p, (force), Next episode: 3x04 - The Mole [Tommorow]
< Robin Hood: normal -> highres, (next), Next episode: 1x02 - Sheriff Got Your Tounge? [Saturday (2d)], Current episode: 1x01 - Episode 1 [7th Oct (5d ago)], Downloaded episode: 2140486:1x01 - Episode 1 [(air:7th Oct (5d ago),dl:8th Oct (4d ago))]
> nzb tv 14 oct 06 to 3d
< Robot Chicken: normal, (none), Next episode: 2x15 - Drippy Pony [Sunday (3d)]
< Robin Hood: normal -> highres, (next), Next episode: 1x02 - Sheriff Got Your Tounge? [Saturday (2d)], Current episode: 1x01 - Episode 1 [7th Oct (5d ago)], Downloaded episode: 2140486:1x01 - Episode 1 [(air:7th Oct (5d ago),dl:8th Oct (4d ago))]
< Dexter: normal -> highres, (none), Next episode: 1x03 - Popping Cherry [Sunday (3d)], Current episode: 1x02 - Crocodile [8th Oct (4d ago)], Downloaded episode: 2142491:1x02 - Crocodile [(air:8th Oct (4d ago),dl:9th Oct (3d ago))]

Changes since the last stable

  • Option to find episodes based on tvrage IDs rather than titles (for family guy/american dad etc)
  • Modified the TV data structure slightly to store information on previously downloaded episodes
  • Commands to query information from tvrage.com
  • Natural language date interpreter for nzb tv <date> to obtain episodes airing on that date
nzb tv last friday
nzb tv next wednesday
nzb tv tomorrow
nzb tv 10th oct 2006
  • Time period interpreter for nzb tv <period> to obtain episodes airing at that time
nzb tv 2d
nzb tv 3d ago
nzb tv 1w 2d ago
nzb tv -3d
  • Extended the timeout time for downloading nzbs to 60 seconds rather than 20
  • re-wrote tvrage class to accomodate tvrage's slight modification of site
  • tv uses tvrage class to find episodes (code cleanup)
  • tv auto scheduling, next episode finder, finds the next episode and all episodes airing within 6 days of that episode
  • command 'tv tomorrow' fixed

New/Modified Commands

  • tv add show [hr] [ts] [url] [priority] - add a show to the autoscheduler:
hr: (0/1/2/3) 0: off, 1: redownload a highres version, 2: only download a highres version, 3: download highres - then redownload 720p version
ts: accept large (hdtv ts) files
url: use tvrage url to find the correct episode
priority: where to put the nzb in the queue (force/next/none)
  • tv history date|period - List the tv episodes downloaded on the day specified to the current day (needs refining)
  • tv date|period - List the tv episodes that air on the specified date (also lists downloaded episodes) [this replaces the today/yesterday/tomorrow commands, (does the same thing but is more flexible)]
  • tvrage show - list information about a show
  • tvrage show SxE - S=series, E=episode, list information about a particular episode
  • tvrage show, episode - search for an episode matching 'epsiode' and list information

Known Bugs

Newzbin Cookie

Sometimes newzbin's cookie system messes up and the cookie becomes invalid. Deleting the .nzbirc.cookie will fix this if you leave php to forget its file cache (not sure how long this takes). Alternativly add

clearstatcache();

before

if ( !is_file('.nzbirc.cookie') ) {

file: irc.php

lines: 321 and 384

TV ep tvrageid downloading

using tvrageid (url) identifier in nzb tv add command to download episodes does not work (at all) - Fixed in trunk as of 10th Nov 06

Too many episodes to check for

If you have too many shows that are being looked for on newzbin.com, their search freqency limit kicks in and some of the searches are not found:

Possible fixes:

  • Look for the seconds information on the search and re-schedule the search for that time
  • Split up the episodes into different times in the hour