Kodi Community Forum
Sick Beard - Automatic TV Show Episode download/sort/rename, nfo/tbn maker & TV Guide - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+--- Thread: Sick Beard - Automatic TV Show Episode download/sort/rename, nfo/tbn maker & TV Guide (/showthread.php?tid=63591)



- midgetspy - 2010-02-05

http://code.google.com/p/sickbeard/wiki/FAQ #3


- xexe - 2010-02-05

midgetspy Wrote:Well the only problem I see is that I will have no way of knowing when the NZBs become invalid (they stop indexing them)... so old shows may not work.

Really the best solution is to get them to add a search field/filter, hehe.

Agreed but relaistically i wouldnt think that would happen in the short term.

How is the current rss cache purged to cater for TVNZB stopping indexing them? As far as I can see they hold them for at least a year.


- midgetspy - 2010-02-05

xexe Wrote:Agreed but relaistically i wouldnt think that would happen in the short term.

How is the current rss cache purged to cater for TVNZB stopping indexing them? As far as I can see they hold them for at least a year.

They just manually purge them every once in a while... no order that I know of.

They already have a perfectly good search on their main page, it's just they don't have an API for it so I would have to resort to screen scraping to use it (and they probably wouldn't like that).


- funkydude101 - 2010-02-05

midgetspy Wrote:As far as I know CSI: NY is working but it's possible it isn't - give me an example of a report that wasn't found but should have been and I'll see. Cold Case should definitely work. The only show I'm aware of that doesn't get matched properly is Sanctuary (US) but that'll be fixed in an upcoming build.

Here is the code of it searching for CSI. Strangely it never finds it because of how it adds Crime Scene Investigation to the end of CSI...

Code:
Feb-05 01:52:49 DEBUG    SEARCH :: Beginning search for todays episodes
Feb-05 01:52:49 INFO     SEARCH :: Searching for CSI: Crime Scene Investigation - 10x13 - Internal Combustion
Feb-05 01:52:49 INFO     SEARCH :: Searching NZBMatrix for CSI: Crime Scene Investigation - 10x13 - Internal Combustion
Feb-05 01:52:49 DEBUG    SEARCH :: Search string: https://nzbmatrix.com/api-nzb-search.php?username=******&search=CSI+Crime+Scene+Investigation+2001+S10E13&apikey=**********************&age=400
Feb-05 01:52:51 DEBUG    SEARCH :: Search string: https://nzbmatrix.com/api-nzb-search.php?username=********&search=CSI+Crime+Scene+Investigation+S10E13&apikey=***************************&age=400
Feb-05 01:52:52 INFO     SEARCH :: Searching TVNZB for CSI: Crime Scene Investigation - 10x13 - Internal Combustion
Feb-05 01:52:52 DEBUG    SEARCH :: cache.db: SELECT * FROM tvnzb ORDER BY time DESC LIMIT 1
Feb-05 01:52:52 DEBUG    SEARCH :: TVNZB cache update URL: http://www.tvnzb.com/tvnzb_new.rss
Feb-05 01:52:53 INFO     SEARCH :: Clearing cache and updating with new information
Feb-05 01:52:53 DEBUG    SEARCH :: cache.db: DELETE FROM tvnzb WHERE 1
Feb-05 01:52:53 DEBUG    SEARCH :: Adding item from RSS to cache: CSI.S10E13.Internal.Combustion.HDTV.XviD-FQM
Feb-05 01:52:53 DEBUG    SEARCH :: cache.db: INSERT INTO tvnzb (name, season, episode, tvdbid, url, time, quality) VALUES (?,?,?,?,?,?,?) with args [u'CSI.S10E13.Internal.Combustion.HDTV.XviD-FQM', 10, 13, 0, u'http://www.tvnzb.com/nzb/36233', 1265352773, 1]



- midgetspy - 2010-02-05

funkydude101 Wrote:Here is the code of it searching for CSI. Strangely it never finds it because of how it adds Crime Scene Investigation to the end of CSI...

Code:
Feb-05 01:52:49 DEBUG    SEARCH :: Beginning search for todays episodes
Feb-05 01:52:49 INFO     SEARCH :: Searching for CSI: Crime Scene Investigation - 10x13 - Internal Combustion
Feb-05 01:52:49 INFO     SEARCH :: Searching NZBMatrix for CSI: Crime Scene Investigation - 10x13 - Internal Combustion
Feb-05 01:52:49 DEBUG    SEARCH :: Search string: https://nzbmatrix.com/api-nzb-search.php?username=******&search=CSI+Crime+Scene+Investigation+2001+S10E13&apikey=**********************&age=400
Feb-05 01:52:51 DEBUG    SEARCH :: Search string: https://nzbmatrix.com/api-nzb-search.php?username=********&search=CSI+Crime+Scene+Investigation+S10E13&apikey=***************************&age=400
Feb-05 01:52:52 INFO     SEARCH :: Searching TVNZB for CSI: Crime Scene Investigation - 10x13 - Internal Combustion
Feb-05 01:52:52 DEBUG    SEARCH :: cache.db: SELECT * FROM tvnzb ORDER BY time DESC LIMIT 1
Feb-05 01:52:52 DEBUG    SEARCH :: TVNZB cache update URL: http://www.tvnzb.com/tvnzb_new.rss
Feb-05 01:52:53 INFO     SEARCH :: Clearing cache and updating with new information
Feb-05 01:52:53 DEBUG    SEARCH :: cache.db: DELETE FROM tvnzb WHERE 1
Feb-05 01:52:53 DEBUG    SEARCH :: Adding item from RSS to cache: CSI.S10E13.Internal.Combustion.HDTV.XviD-FQM
Feb-05 01:52:53 DEBUG    SEARCH :: cache.db: INSERT INTO tvnzb (name, season, episode, tvdbid, url, time, quality) VALUES (?,?,?,?,?,?,?) with args [u'CSI.S10E13.Internal.Combustion.HDTV.XviD-FQM', 10, 13, 0, u'http://www.tvnzb.com/nzb/36233', 1265352773, 1]

Yeah because unfortunately it's named "CSI: Crime Scene Investigation" on both TVDB and TVRage but everybody just posts it as CSI. I haven't decided what to do about that. The best solution right now is to watch better shows :0)


Newb Question - blacklist - 2010-02-05

First off, this is an amazing addition to my setup, making most of my downloading almost brainless.

My question is about the output of downloaded files. I'll use The Office for example. In sickbeard its set up in the K:\Television_Comedy\The Office directory and episodes are discoverd correctly. AWESOME!

When a new episode shows up on nzbmatrix or tvnzb or wherever, sickbeard picks it up correctly, sends it to sabnzbd, and its gets downloaded in the queue. AGAIN AWESOMENESS!

The issue is sabnzbd sticks in the default download directory in the tv category. So, C:\NZBDownloads\TV\filename whatever.mkv

Is there anyway to tell sabnzbd that I want it stuck into K:\Television_Comedy\The Office Huh

I recognize this is probablty a sabnzbd issue in putting things to the right directory, but I would assume that sickbeard would have to pass the correct directory to sabnzbd.

Bottom line... is this possible? It would make my downloads completly automatic, update the XBMC library, notify there's a new show... BAM!

Thanks for the assistance!

Blacklist


- midgetspy - 2010-02-05

blacklist Wrote:First off, this is an amazing addition to my setup, making most of my downloading almost brainless.

My question is about the output of downloaded files. I'll use The Office for example. In sickbeard its set up in the K:\Television_Comedy\The Office directory and episodes are discoverd correctly. AWESOME!

When a new episode shows up on nzbmatrix or tvnzb or wherever, sickbeard picks it up correctly, sends it to sabnzbd, and its gets downloaded in the queue. AGAIN AWESOMENESS!

The issue is sabnzbd sticks in the default download directory in the tv category. So, C:\NZBDownloads\TV\filename whatever.mkv

Is there anyway to tell sabnzbd that I want it stuck into K:\Television_Comedy\The Office Huh

I recognize this is probablty a sabnzbd issue in putting things to the right directory, but I would assume that sickbeard would have to pass the correct directory to sabnzbd.

Bottom line... is this possible? It would make my downloads completly automatic, update the XBMC library, notify there's a new show... BAM!

Thanks for the assistance!

Blacklist

You're describing post-processing. Just follow the directions at that link and Sick Beard will do everything for you.


- blacklist - 2010-02-05

midgetspy Wrote:You're describing post-processing. Just follow the directions at that link and Sick Beard will do everything for you.

Yeah I should have put that together. Thanks, I'll give it a shot tonight. Thanks again for a great program!


- chiz^ - 2010-02-06

I'm not using usenet, but got utorrent set up with rss feed and filters to automatically grab what i want. Can i still use sickbeard for the postprocessing?

Pick up episode from download folder, copy/rename to correct show/season folder.


- midgetspy - 2010-02-07

chiz^ Wrote:I'm not using usenet, but got utorrent set up with rss feed and filters to automatically grab what i want. Can i still use sickbeard for the postprocessing?

Pick up episode from download folder, copy/rename to correct show/season folder.

Not yet but there's a feature request and patch in the pipeline that'll probably show up in the next few weeks.


- kricker - 2010-02-07

I noticed some strangeness with XBMC and Sickbeards .nfo files it creates. Any show that had a .nfo file in it, XBMC would not import any of the episodes in that shows folder. Once I removed all the .nfo files, XBMC would properly import the episodes.


- midgetspy - 2010-02-07

kricker Wrote:I noticed some strangeness with XBMC and Sickbeards .nfo files it creates. Any show that had a .nfo file in it, XBMC would not import any of the episodes in that shows folder. Once I removed all the .nfo files, XBMC would properly import the episodes.

Are you talking about a tvshow.nfo file? Can you show me a comparison of what XBMC generates and what Sick Beard is generating?


- kricker - 2010-02-07

midgetspy Wrote:Are you talking about a tvshow.nfo file? Can you show me a comparison of what XBMC generates and what Sick Beard is generating?

I'll try to get you a comparison tomorrow.


- jons2crazy - 2010-02-07

Sickbeard is not detecting downloaded episodes for the majority of TV shows. Some are working fine. Status remains at snatched. SAB is running autoProcessTV.cfg. One thing I noticed is the script takes a long time to run, I have 20+ hd episodes in the history tab already downloaded waiting for the script to run. Should this happen? that seems a long time to wait. Since it takes 20min+ to download an episode.

Also autoprocesstv pops up all the time in notepad.

Any ideas as to what settings need to be fixed?


- midgetspy - 2010-02-07

jons2crazy Wrote:Sickbeard is not detecting downloaded episodes for the majority of TV shows. Some are working fine. Status remains at snatched. SAB is running autoProcessTV.cfg. One thing I noticed is the script takes a long time to run, I have 20+ hd episodes in the history tab already downloaded waiting for the script to run. Should this happen? that seems a long time to wait. Since it takes 20min+ to download an episode.

Any ideas as to what settings need to be fixed?

Was that a typo? Cause the post process script is sabToSickbeard.py not autoProcessTV.cfg :0)