How does one keep the Video Library up-to-date and accurate?
#1
Question 
First off the assumptions....
XBMC Xbox or Windows
Using XBMC Media Companion to create nfo's
Only discussing TV Shows, haven't tested movies
Using PM III Skin

Anyway from what I can work out....

Scan for new content only looks for new scraped info, not new episodes, of the TV show selected.
Update Library - will find new episodes then do a Scan for New Content to get the scraped info but not delete removed episodes, for the entire library (Movies, TV Shows etc etc)
Clean Library will only remove deleted TV Shows & Episodes from the whole Library.

To test, add new episode & run Media Companion to create nfo's
Scan for new content does not add the new episode
Update Library does.
Remove an episode using windows explorer
Scan for new content doesn't remove it,
Update Library doesn't remove it
Clean Library does remove it.

Question: Is this the intended functions of each of these options?

Thanks
Reply
#2
At least you can get Update library to add new Episodes. Scan for New Content or Update Library only seems to find new Movies, it won't add TV Episodes .
Reply
#3
To remove non-existing items from library you will have to add the following to your Advancedsettings.xml located in your userdata folder (maybe you will have to create the file first).

Code:
<advancedsettings>
  <videolibrary>
    <cleanonupdate>true</cleanonupdate>
  </videolibrary>
</advancedsettings>

Scan for new content does add the new episode to the library here. Please upload the given .nfo file so we could run some tests on it.

VDRfan
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#4
Firstly thanks for your investigation into this issue....
also I'm using XBMC Atlantis Beta 2 (TECH build) & for the test below it is the windows version.

OK, I added a new dummy avi file by creating a new text document & renaming it S01E03.avi in a folder called \TV Show\Arrested Development.

I tried the scan for new content & still had the original 2 episodes only.

I renamed the file Arrested Development.S01E01.avi but that made no difference either.

Looking at the log it appears that the episode is actually found & matched, but its not added!

Quote:09:19:32 T:4920 M: 77291520 DEBUG: VIDEO::CVideoInfoScanner:Tonguerocess - Starting scan
09:19:32 T:4268 M: 77271040 DEBUG: thread start, auto delete: 0
09:19:32 T:4268 M: 77266944 DEBUG: CThread:ConfusedtaticThread, deleting thread graphic context
09:19:32 T:4268 M: 77266944 DEBUG: Thread 4268 terminating
09:19:32 T:4920 M: 77283328 DEBUG: Hash[tvshows,C:\Program Files\Media Companion\Video\TV Show\Arrested Development\]Big GrinB=[],Computed=[]
09:19:32 T:4920 M: 77230080 DEBUG: CFileItemList::Sort, sorting took 0 millis
09:19:32 T:4920 M: 77217792 DEBUG: Checking if file 'arrested development.s01e03.avi' should be excluded from scan
09:19:32 T:4920 M: 77217792 DEBUG: running expression \[[Ss]([0-9]+)\]_\[[Ee]([0-9]+)\]?([^\\/]*)$ on label c:\program files\media companion\video\tv show\arrested development\arrested development.s01e03.avi
09:19:32 T:4920 M: 77217792 DEBUG: running expression [\\/\._ \[-]([0-9]+)x([0-9]+)([^\\/]*)$ on label c:\program files\media companion\video\tv show\arrested development\arrested development.s01e03.avi
09:19:32 T:4920 M: 77217792 DEBUG: running expression [Ss]([0-9]+)[\.-]?[Ee]([0-9]+)([^\\/]*)$ on label c:\program files\media companion\video\tv show\arrested development\arrested development.s01e03.avi
09:19:32 T:4920 M: 77217792 DEBUG: found match c:\program files\media companion\video\tv show\arrested development\arrested development.s01e03.avi 01 03

I also have a few related questions...

If the match determines a series & episode but then that series & episode doesn't exist on TVDB (or the TVDB scrape fails), will it still be added?

...also "Checking if file *.avi should be excluded from scan" - what is this part checking for?

Thanks
Richard
Reply
#5
Hmz .. maybe it's nfo related. Would be nice if you could create a little dummy filesytem (dummy.avi + nfo) which will definitely fail on your setup.

Quote:If the match determines a series & episode but then that series & episode doesn't exist on TVDB (or the TVDB scrape fails), will it still be added?
Nope, the regexp will only try to determine the season and episode of the given file which will be used to scrape the tvdb data.
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#6
OK one thing I noticed with all this testing is that there doesn't seem to be any consistency in the results.

Whilst testing again, I moved the S01E03 avi & nfo & tbn to a different folder outside the folder set for TV source in xbmc, I deleted the TV show from XBMC using remove from Library & then I chose Update Library & the two remaining episodes where found & display as expected. However, I then moved the files back & selecting Scan for new Content it actually added the 3rd episode.

Now I understand there is an issue relating to what is stored in the Library & what is found in the nfo's & if they are different then the episode will not be added. Could this be the key to all our issues?

anyway here is the nfo contents for S01E03 Arrested Development using 'Arrested Development.S01E01.avi', a dummy file of zero length.

Code:
<episodedetails>
    <title>Bringing Up Buster</title>
    <season>1</season>
    <episode>3</episode>
    <plot>Michael spends quality time with Buster.  George Michael auditions for a school play to get closer to Maeby.  Gob breaks up with his girlfriend and has nowhere to go.</plot>
    <thumb>http://thetvdb.com/banners/episodes/72173-75836.jpg</thumb>
    <watched>false</watched>
    <credits>Mitchell Hurwitz / Richard Rosenstock</credits>
    <director>Joe Russo</director>
    <aired>2003-11-16</aired>
    <actor>
        <name>Leonor Varela</name>
    </actor>
    <actor>
        <name>Richard Simmons</name>
    </actor>
    <actor>
        <name>Justin Grant Wade</name>
    </actor>
    <actor>
        <name>Jim Ishida</name>
    </actor>
    <actor>
        <name>Bart Tangredi</name>
    </actor>
    <actor>
        <name>Pat Warren</name>
    </actor>
</episodedetails>

Perhaps what is happening is the Library is getting some info from our nfo's & some from TVDB itself. Media Companion also creates a TVShow.nfo & I'm assuming that XBMC is using that info. Basically it seems that if a new TV Show is found, then all the episodes are found, but if a new episode is added to an existing TV show then it is not found.

TVShow.nfo
Code:
<tvshow>
    <title>Arrested Development</title>
    <rating>9.6</rating>
    <season>-1</season>
    <episode>0</episode>
    <displayseason>-1</displayseason>
    <displayepisode>-1</displayepisode>
    <plot>The Emmy Award-winning comedy series Arrested Development revolves around Michael Bluth (Jason Bateman), the “normal” one in a family of crazies, who is forced to stay in Orange County and run the family real estate business after his father, George Bluth Sr. (Jeffrey Tambor), is sent to prison for shifty accounting practices. While George Sr. spent the last year in the slammer discovering his newfound Judaism and recording inspirational tapes, Michael spent it picking up the pieces and trying to teach his offbeat family how to live without an endless expense account.</plot>
    <runtime>30 minutes</runtime>
    <thumb>&lt;thumbs&gt;&lt;thumb&gt;http://thetvdb.com/banners/graphical/72173-g.jpg&lt;/thumb&gt;&lt;thumb&gt;http://thetvdb.com/banners/graphical/72173-g2.jpg&lt;/thumb&gt;&lt;thumb&gt;http://thetvdb.com/banners/graphical/17005-g.jpg&lt;/thumb&gt;&lt;thumb&gt;http://thetvdb.com/banners/graphical/17005-g2.jpg&lt;/thumb&gt;&lt;thumb&gt;http://thetvdb.com/banners/text/17005.jpg&lt;/thumb&gt;&lt;thumb type=&quot;season&quot; season=&quot;1&quot;&gt;http://thetvdb.com/banners/seasons/17005-1.jpg&lt;/thumb&gt;&lt;thumb type=&quot;season&quot; season=&quot;2&quot;&gt;http://thetvdb.com/banners/seasons/17005-2.jpg&lt;/thumb&gt;&lt;thumb type=&quot;season&quot; season=&quot;3&quot;&gt;http://thetvdb.com/banners/seasons/17005-3.jpg&lt;/thumb&gt;&lt;/thumbs&gt;</thumb>
    <fanart url="http://thetvdb.com/banners/">
        <thumb dim="" colors="">fanart/original/72173-1.jpg</thumb>
    </fanart>
    <mpaa>TV-14</mpaa>
    <watched>false</watched>
    <id>tt0367279</id>
    <tvdbid>72173</tvdbid>
    <genre>Comedy</genre>
    <premiered>2003-11-01</premiered>
    <studio>FOX</studio>
    <actor>
        <name>Jason Bateman</name>
        <role>Michael Bluth</role>
        <thumb>http://thetvdb.com/banners/actors/77737.jpg</thumb>
    </actor>
    <actor>
        <name>Jeffrey Tambor</name>
        <role>George Bluth, Sr.</role>
        <thumb>http://thetvdb.com/banners/actors/77735.jpg</thumb>
    </actor>
    <actor>
        <name>Michael Cera</name>
        <role>George Michael Bluth</role>
        <thumb>http://thetvdb.com/banners/actors/77738.jpg</thumb>
    </actor>
    <actor>
        <name>Jessica Walter</name>
        <role>Lucille Bluth</role>
        <thumb>http://thetvdb.com/banners/actors/77742.jpg</thumb>
    </actor>
    <actor>
        <name>David Cross</name>
        <role>Tobias Fünke</role>
        <thumb>http://thetvdb.com/banners/actors/77741.jpg</thumb>
    </actor>
    <actor>
        <name>Tony Hale</name>
        <role>Byron &quot;Buster&quot; Bluth</role>
        <thumb>http://thetvdb.com/banners/actors/77740.jpg</thumb>
    </actor>
    <actor>
        <name>Alia Shawkat</name>
        <role>Maeby Fünke</role>
        <thumb>http://thetvdb.com/banners/actors/77739.jpg</thumb>
    </actor>
    <actor>
        <name>Will Arnett</name>
        <role>George Oscar &quot;G.O.B.&quot; Bluth II</role>
        <thumb>http://thetvdb.com/banners/actors/77736.jpg</thumb>
    </actor>
    <actor>
        <name>Portia de Rossi</name>
        <role>Lindsay Fünke</role>
    </actor>
</tvshow>

Is there a way to have a scraper that only looks for nfo's & won't go to the internet? Or is there a way to stop an internet lookup from working easily?

Thanks
Richard
Reply
#7
To disable internet lookups simply uncheck the given option located in network settings.
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#8
VDRfan Wrote:To disable internet lookups simply uncheck the given option located in network settings.

Tried this already, unfortunatelt my RSS Feeds also stop working No

BTW on my 2nd XBOX which I hardly use I have an older revision on XBMC on it. The issues we are having with Beta 2 don't seem to happen on it. When you choose scan for new content, new episodes are actually added....

I will post its revision soon for your information.

Cheers
Reply

Logout Mark Read Team Forum Stats Members Help
How does one keep the Video Library up-to-date and accurate?0