PDA

View Full Version : The missing TV episodes...the answer! - only effects nfo users!


StormyKnight
2008-10-25, 08:51
The Issue: choosing 'scan for new content' doesn't find newly added episodes.

The Solution: once a 'TV Information' 'Refresh' is performed on a particular TV show, future 'scan for new contents' always works!

If you have never done a refresh it will never work!

A fresh install of Atlantis B2 into an empty folder & using the default 'userdata' folder will show this.


Test procedure...
Dowload sample with dummy avi's but real nfo's already created...
http://www.filefactory.com/file/a88bcb/n/The_Mentalist_rar - Thanks to HexusOdy for uploading this.

Extract this to the root of your TV source directory

Now move to another folder episodes 2 thru 4 & thier related nfo's & tbn's - we will bring them back 1 at a time later.

Install XBMC - Atlantis B2 - Total fresh location using the default userdata

Add your TV Show folder as a source & set content to TVDB. Also select an automatic scan.

After the scan is done go to the library & you should have 1 episode showing...

Right now what we do is add episode 2 & its nfo & tbn to the same folder as episode 1.

Choose 'scan for new content' - & yep NO NEW EPISODE IS ADDED!

now choose 'TV show information' , refresh & say yes to all

ALL THE EPISODES ARE NOW GONE!

go back now & try a 'scan for new content' &

AMAZING...both episodes are here now.

from here on adding new episodes is as easy as putting the episode in the folder & choosing 'scan for new content'

Even if you 'remove from library' the TV show & then Update Library to add it back it still works.

Cheers - I hope this is helpful in working out if a programing issue needs fixing.

Submitted as an xbmc ticket here http://xbmc.org/trac/ticket/5235

vdrfan
2008-10-25, 18:30
Hopefully fixed in SVN revision 16011.

shadowdragon
2008-10-26, 02:25
Thank you! This works, and I'm glad it will hopefully get fixed so we don't have to jump through so many hoops to update our library every time we add a new episode.

A small note, I also had to do this when adding movies too.

StormyKnight
2008-10-26, 06:46
I have updated the ticket to reflect what I think is the main issue here.

If you run an automatic scan when selecting the content of a folder, that scan doesn't look for nfo's, but infact only TVDB. For some reason the difference stops additional scans using nfos from working.

Richard

HexusOdy
2008-10-26, 13:32
I have updated the ticket to reflect what I think is the main issue here.

If you run an automatic scan when selecting the content of a folder, that scan doesn't look for nfo's, but infact only TVDB. For some reason the difference stops additional scans using nfos from working.

Richard

Hi Stormy,

I can't agree with this one. What version of MC are you using?

I removed all my NFO's yesterday and redid them with MC 1.98 then with a clean install of Beta 2 SVN build 15833 I added the sources, set the content and did Automatic scans. It picked up everything no problem.

I use an MCE remote and SVN build 15833 has a fix for it, hence why I'm using that.

StormyKnight
2008-10-27, 10:42
Hi Stormy,

I can't agree with this one. What version of MC are you using?

I removed all my NFO's yesterday and redid them with MC 1.98 then with a clean install of Beta 2 SVN build 15833 I added the sources, set the content and did Automatic scans. It picked up everything no problem.

I use an MCE remote and SVN build 15833 has a fix for it, hence why I'm using that.

Yes that will work, but you may have a problem from now on adding new episodes to existing TV shows.....can you try that?

StormyKnight
2008-10-27, 10:51
I've updated the ticket again...
It has a link to my log which I believe shows when adding a new tv show the TVSHOW.nfo is read & added, but straight after it goes to TVDB & repeats the same process, thus overriding the previously found nfo.

Have a look at the log starting line 480...

http://pastebin.com/m32ef288

Updated ticket...

http://xbmc.org/trac/ticket/5235#comment:8

I can't prove it yet, but I think that the info gotten from TVDB & stored in the Library is different than the info stored in the TVSHOW.nfo created by Media Companion.

Then when a new episode is added, XBMC says that that new episode doesn't belong to that TV show.

By doing a TV INFORMATION - REFRESH, the Library is cleared & guess what....the TVSHOW PLOT now has the PLOT from the nfo,

THATS WHY IT WORKS FROM THEN ON! :nod:

HexusOdy
2008-10-27, 12:00
Oh yeah I still have the problem adding new episodes and have to do Scan for new content, I just didn't think there was a problem with Automatic scan.

When I added my TV shows it did it pretty quickly, too quickly for all to be downloaded I think.

But I guess the only way to be sure would be to open up the Videos DB and see where it is looking for the Episode info. DO you know anything you can use to open up the DB?

Hando
2008-10-27, 13:09
Thanks Stormy for investigating this - your workaround is solving it for me for now.

Hexus: I did same as you yesterday and rebuilt my library with fresh nfo's from MC then did an automatic update on boot. Absolutely positive it's getting them all from the nfo's and not from TVDB (it updated 100% faster than it would with an interent lookup and it picked up some of the changes I had edited in some of them - so that's fine.

StormyKnight
2008-10-28, 06:07
DO you know anything you can use to open up the DB?

In system/Videos you can export library....this will create an xml file with the data from the library. Unfortunately I already tried by exporting the library & recreating THE MENTALIST tvshow.nfo - I get the same result.

Cheers

StormyKnight
2008-10-28, 06:18
Thanks Stormy for investigating this - your workaround is solving it for me for now.

Hexus: I did same as you yesterday and rebuilt my library with fresh nfo's from MC then did an automatic update on boot. Absolutely positive it's getting them all from the nfo's and not from TVDB (it updated 100% faster than it would with an interent lookup and it picked up some of the changes I had edited in some of them - so that's fine.

Three ways to prove that the automatic scan is getting the data from TVDB & not the nfo's....
1. When scanning it says...The Mentalist & then a short time later changes to The Mentalist (en) - the en part has come from a request to TVDB to get a language file
2. Edit the plot in one of your TVShow.nfo & confirm it is not this plot that is shown.
3. Check the XBMC log.txt file for activity similar to mine... i.e. Confirmed found nfo & then immediately after it does a TVDB lookup.

Remember that if at any stage you have performed a TV Show Information/Refresh, that TV show will behave from then on, even if you remove it from the Library. The only way to revert to default behaviour is to delete the video34.db in userdata\database & get XBMC to rebuild it.

Did you delete the DB before your update?

Cheers
Richard

vdrfan
2008-10-28, 10:44
FULL debug log please, don't post snippets!
Please try to create a small sized log to make it easier to review.

EDIT: sorry, just noticed the pastebin'd debug log attached to the ticket.

Honestly i dont know why the scanner started to fetch info from thetvdb.com as all needed information is stored in the tvshow.nfo. In ALL of my tests, the scrape process never tried to download additional show data from the web. Please wait until the next t3ch build is releases in a few days and report back if the issue still exists. Thanks.

HexusOdy
2008-10-28, 11:59
VDRfan, I'm running Windows version and I have the same thing as Stormy described in point 1. It scans each show name, then after a short while changes to Show Name (EN).

Does that for every show so its not just a dodgy Xbox build.

vdrfan
2008-10-28, 12:15
VDRfan, I'm running Windows version and I have the same thing as Stormy described in point 1. It scans each show name, then after a short while changes to Show Name (EN).

Does that for every show so its not just a dodgy Xbox build.

Which SVN Revision? If its not a daily or self compiled build you will have to wait for the next release, same as the xbox users.

StormyKnight
2008-10-28, 14:24
Thanks VDRfan, is there a way to get the latest compiled SVN for windows? (Perhaps a secret location, not to be mentioned here but by PM? ;))

Anyway I'm guessing Beta 3 is on the horizon...will test again when T3CH release is available + the windows version & report back cheers.

sho
2008-10-28, 14:38
Tried searching?
http://xbmc.org/forum/showthread.php?t=35452&page=10

StormyKnight
2008-10-29, 02:31
Ouch caught out again! :shocked:

StormyKnight
2008-10-29, 03:46
I tried Rev 16026 for windows & it works - THANKS! :laugh:

I'll pass the word to the Media Companion users too.