Refresh of Library Content, different to Update?
#16
jmarshall Wrote:Clean Library gets rid of any movies/shows/episodes etc. in the library that do not exist any longer (i.e. checks each path for existence, and removes those that don't exist).

It then removes any orphaned actors/directors/studios/genres etc.

The wiki is world writeable. If you wish to update the documentation, then please ask for ninja status so that you can do so.

And I have no idea how it functions with respect to nfo files (assuming that is what you are using) particularly if you are using them for tvshows. If you add a show, then an update library should detect that the folder has changed (new files are present) and thus will scan them. How this works with tv shows with nfo files I have no idea. Feel free to start a new thread about whatever you think is not working as it should be. A Debug Log and so on is essential to be able to tell anything, ofcourse.

Cheers,
Jonathan

Thanks Jonothan, I appreciate your reply.
Reply
#17
sho Wrote:http://wiki.xbmc.org/?title=Videos_Navig...ntext_Menu
http://wiki.xbmc.org/?title=Video_Librar...brary_Mode
http://wiki.xbmc.org/?title=Videos_Settings#Library

Thanks Sho, I believe we needed to know how the Library features are intended to work & it seems the wiki describes this OK, however it doesn't seem to work in practice. Now that we understand how it is supposed to work, we can advise where we are finding the failures with the updating of the Library.

Cheers
Reply
#18
spiff Wrote:tvshows with nfo's can be handled in two ways;

either you have an <episodeguide> tag in the nfo, in which case its all normal operation when it comes to episodes, or you do not. in the latter case only episodes with nfo files themself will be added

We have nfo's created for both the TV show itself & the episodes. However none have the tag <episodeguide> nor could I find a reference to it here...

http://wiki.xbmc.org/?title=Import_-_Export_Library#TV_Episodes

Cheers
Reply
#19
katz Wrote:im still confused as to why you consistently link to the wiki when it has absolutely no relevance at all the topic in doubt.
If you ask me, you are threadjacking.
I was not responding to you at all.

katz Wrote:This is false, well for me and Stormy anyway. I am the same as Stormy. I have added a new episode to a TV Show(Fifth Gear episode 6), had Media Companion scrape the .nfo & .tbn for the episode > Run Update Library.
There are known issues, search this forum couple of weeks / months back where user kraqh3d describes it and a workaround.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#20
Exclamation 
sho Wrote:There are known issues, search this forum couple of weeks / months back where user kraqh3d describes it and a workaround.


cheers will look now. didnt mean to threadjack....maybe a new thread is in order?

Created new thread HERE
Got a Logitech Harmony ONE ? Click here for my XBMC Customization HOW TO
Reply
#21
Exclamation 
After some big discussions HERE, ive decided a new thread is best.

@ the wiki, we are told:
Quote:Update library on startup
Checks for new and removed media files on XBMC startup.

This is false, well for me and user StormyKnight anyway. I have added a new episode in its respective Season folder. and have had Media Companion scrape the .nfo & .tbn for the episode, then Run Update Library.

Then i goto Tv shows in Library. Nothing. not there. Epsidoe is not showing.

Do a SCAN FOR NEW CONTENT on the TV SHOW source. it works. Eek

PASTEBIN of UPDATE LIBRARY scan --> http://pastebin.ca/1233572

My filename structure for tvshows:
Code:
*********************************
Z:\## TV ##\Prison Break\Season 4
*********************************

     .                                               0     22/10/2008 12:59:48 AM     ----D-
     ..                                              0     22/10/2008 12:59:48 AM     ----D-
     Prison Break - 04x01.avi                366768128     1/09/2008 5:52:06 PM     -----A
     Prison Break - 04x01.nfo                     1466     8/10/2008 12:53:30 AM     -----A
     Prison Break - 04x01.tbn                    31940     8/10/2008 12:53:30 AM     -----A
     Prison Break - 04x02.avi                368073050     2/09/2008 8:46:12 AM     -----A
     Prison Break - 04x02.nfo                      524     8/10/2008 12:53:32 AM     -----A
     Prison Break - 04x02.tbn                    42407     8/10/2008 12:53:32 AM     -----A
     Prison Break - 04x03.avi                366028800     8/09/2008 11:01:58 PM     -----A
     Prison Break - 04x03.nfo                      770     8/10/2008 12:53:32 AM     -----A
     Prison Break - 04x03.tbn                    42338     8/10/2008 12:53:32 AM     -----A
     Prison Break - 04x04.avi                366749696     15/09/2008 10:01:50 PM     -----A
     Prison Break - 04x04.nfo                      776     8/10/2008 12:53:36 AM     -----A
     Prison Break - 04x04.tbn                    32879     8/10/2008 12:53:36 AM     -----A
     Prison Break - 04x05.avi                367771934     23/09/2008 5:06:12 AM     -----A
     Prison Break - 04x05.nfo                      942     8/10/2008 12:53:36 AM     -----A
     Prison Break - 04x05.tbn                    28067     8/10/2008 12:53:36 AM     -----A
     Prison Break - 04x06.avi                366794752     29/09/2008 4:15:14 PM     -----A
     Prison Break - 04x06.nfo                      964     8/10/2008 12:53:38 AM     -----A
     Prison Break - 04x06.tbn                    20041     8/10/2008 12:53:38 AM     -----A
     Prison Break - 04x07.avi                367914828     7/10/2008 2:29:18 AM     -----A
     Prison Break - 04x07.nfo                      903     8/10/2008 12:53:40 AM     -----A
     Prison Break - 04x07.tbn                    37081     8/10/2008 12:53:40 AM     -----A
     Prison Break - 04x08.avi                366722114     20/10/2008 9:02:38 PM     -----A
     Prison Break - 04x08.nfo                      541     22/10/2008 12:59:48 AM     -----A
     Prison Break - 04x08.tbn                    35242     22/10/2008 12:59:48 AM     -----A
     Thumbs.db                                    3072     17/09/2008 7:06:36 PM     -HS--A
Media Companion creates the following nfo files locally:

tvshow.nfo (Z:\## TV ##\Prison Break\tvshow.nfo):
Code:
<tvshow>
    <title>Prison Break</title>
    <rating>8.8</rating>
    <season>-1</season>
    <episode>0</episode>
    <displayseason>-1</displayseason>
    <displayepisode>-1</displayepisode>
    <plot>After getting himself incarcerated in Fox River State Penitentiary to free his wrongly accused brother, Lincoln Burrows, Michael Scofield is now on the loose along with his brother and six other convicts. </plot>
    <runtime></runtime>
    <mpaa>TV-14</mpaa>
    <watched>false</watched>
    <id>tt0455275</id>
    <tvdbid>75340</tvdbid>
    <genre>Action and Adventure / Drama</genre>
    <premiered>2006-08-31</premiered>
    <studio>FOX</studio>
    <actor>
        <name>Wentworth Miller</name>
        <role>Michael Scofield</role>
        <thumb>http://thetvdb.com/banners/actors/38330.jpg</thumb>
    </actor>
    <actor>
        <name>Dominic Purcell</name>
        <role>Lincoln Burrows</role>
        <thumb>http://thetvdb.com/banners/actors/38328.jpg</thumb>
    </actor>
    <actor>
        <name>Sarah Wayne Callies</name>
        <role>Dr. Sara Tancredi</role>
        <thumb>http://thetvdb.com/banners/actors/38329.jpg</thumb>
    </actor>
    <actor>
        <name>Jodi Lyn O'Keefe</name>
        <role>Gretchen Morgan (Susan B. Anthony)</role>
        <thumb>http://thetvdb.com/banners/actors/78009.jpg</thumb>
    </actor>
    <actor>
        <name>Robert Wisdom</name>
        <role>Norman ΓÇ£LecheroΓÇ¥ St. John</role>
        <thumb>http://thetvdb.com/banners/actors/78008.jpg</thumb>
    </actor>
    <actor>
        <name>Rockmond Dunbar</name>
        <role>Benjamin Miles ΓÇ£C-NoteΓÇ¥ Franklin </role>
        <thumb>http://thetvdb.com/banners/actors/78007.jpg</thumb>
    </actor>
    <actor>
        <name>William Fichtner</name>
        <role>Alexander ΓÇ£AlexΓÇ¥ Mahone</role>
        <thumb>http://thetvdb.com/banners/actors/77838.jpg</thumb>
    </actor>
    <actor>
        <name>Danay Garcia</name>
        <role>Sofia Lugo</role>
        <thumb>http://thetvdb.com/banners/actors/77837.jpg</thumb>
    </actor>
    <actor>
        <name>Robert Knepper</name>
        <role>Theodore "T-Bag" Bagwell</role>
        <thumb>http://thetvdb.com/banners/actors/77836.jpg</thumb>
    </actor>
    <actor>
        <name>Chris Vance</name>
        <role>James Whistler</role>
        <thumb>http://thetvdb.com/banners/actors/77835.jpg</thumb>
    </actor>
    <actor>
        <name>Wade Williams</name>
        <role>Bradley ΓÇ£BradΓÇ¥ Bellick</role>
        <thumb>http://thetvdb.com/banners/actors/77834.jpg</thumb>
    </actor>
    <actor>
        <name>Paul Adelstein</name>
        <role>Paul Kellerman</role>
        <thumb>http://thetvdb.com/banners/actors/77833.jpg</thumb>
    </actor>
    <actor>
        <name>Amaury Nolasco</name>
        <role>Fernando Sucre</role>
        <thumb>http://thetvdb.com/banners/actors/38336.jpg</thumb>
    </actor>
    <actor>
        <name>Peter Stormare</name>
        <role>John Abruzzi</role>
        <thumb>http://thetvdb.com/banners/actors/38335.jpg</thumb>
    </actor>
    <actor>
        <name>Marshall Allman</name>
        <role>LJ Burrows</role>
        <thumb>http://thetvdb.com/banners/actors/38334.jpg</thumb>
    </actor>
    <actor>
        <name>Robin Tunney</name>
        <role>Veronica Donovan</role>
        <thumb>http://thetvdb.com/banners/actors/38333.jpg</thumb>
    </actor>
    <actor>
        <name>Stacy Keach</name>
        <role>Warden Henry Pope</role>
        <thumb>http://thetvdb.com/banners/actors/38332.jpg</thumb>
    </actor>
    <actor>
        <name>Muse Watson</name>
        <role>Charles Westmoreland</role>
        <thumb></thumb>
    </actor>
</tvshow>

Episode nfo files contain (eg Prison Break - 04x08.nfo):
Code:
<episodedetails>
    <title>The Price</title>
    <season>4</season>
    <episode>8</episode>
    <plot>Lincoln works to retrieve the final card, which is being held by the General. Michael and Self are forced to work with Gretchen. Meanwhile, Roland continues to be berated for losing the transcribing device in Las Vegas.</plot>
    <thumb>http://thetvdb.com/banners/episodes/75340-389890.jpg</thumb>
    <watched>false</watched>
    <credits></credits>
    <director></director>
    <aired>2008-10-20</aired>
</episodedetails>

Overall, Updating Library is not adding newly added files.
Any help would be greatly appreciated!
Got a Logitech Harmony ONE ? Click here for my XBMC Customization HOW TO
Reply
#22
If its the same problem I have I think you will find it adds new Movies fine, but won't add new TV Episodes.
Reply
#23
Do you know which thread Sho as I've gone through pages of Kraqh3ds posts and can't find anything relating to this.

Not being arsey here but why hasn't this been fixed? I think its a fairly crucial part of HTPC software to easily add anything new. At the moment adding any TV is a pain if the butt!
Reply
#24
Katz,

If you go to Add Source and choose Windows Network (SMB) do you get an error message? I also have that known bug and I'm wondering if they could be related.
Reply
#25
HexusOdy: Make a reproducible test case existing of:

1. A dummy filesystem for us to do an initial scan on.
2. The additional files to add to said filesystem after initial scan.
3. Exact steps to reproduce the problem using 1 and 2.

If we have a reproducible testcase, then we can ensure that it's working (and continues to work later) as it should.

Without said test case, we aren't going to touch it.

Cheers,
Jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#26
I will do JMarshall. I'm out toorrow but will do it on Friday.

If I was to take a wild guess my instinct would be that its something to do with .tbn's and .nfo's. And Media Companion that I use for them.

Since I upgraded to the latest version its rescanned all my files, although only picking up new ones. But thatsthe only thing thats changed, all worked fine last week for example.

I have a seperate install of XBMC on another machine that uses the same share folders for Media and that machine has developed the same problem.

The only thing I can think of that they have in common is the shares. They don't even use the same version, one is running Beta 2 and the other the latest compile of SVN.
Reply
#27
HexusOdy Wrote:Do you know which thread Sho as I've gone through pages of Kraqh3ds posts and can't find anything relating to this.
Unfortunately not, I just remember him describing a similar case and how he circumvented the problem by forcing a hash change of the affected directory (I think either by adding a dummy file or renaming an existing file).

[Edit] this could be it:
http://forum.xbmc.org/showpost.php?p=196...stcount=15

Additional questions (Jonathan's instructions are the way to move forward though)
Does "Update Library" manually via context menu do anything?
How about Scan for new content?

(remember you can back up your library by backing up the db file and always be able to return to where you started from by restoring it)
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#28
The discussion is going on there, so you might as well also.
Either I merge the two or do a very complicated pick'n choose split/merge which may seriously affect the meaning of each thread Smile
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#29
HI Sho,

I tried that. I backup up my old Video DB and started fresh. Using the same sources.xml I rescanned the entire DB but then library mode would not work at all which I guess is the same problem. I could see everything in file mode but it wouldn't show anything in Library.

Which again brings me back to it being something in the shares.

I can't start from scratch with new Sources because I also have the annoying bug where I've added all my SMB shares and it still sees them but when I try to add new ones I get an error message. It can't be a firewall issue because the shares I'm trying to add are in the same place its streaming video from it can still play. All in WORKGROUP.

The problem could be related, it it won't see new shares maybe it won't scan in new files. Even though I can see them in file mode.

I should add niether Scan for New Content or Update Library work. Although both seem to work fine for Movies. Movies are on a different drive to my TV but TV is split into 2 drives covering A-M and N-Z so it can't be a single drive issue. Both the TV drives are external USB's and Movies are on an internal drive but as I say both worked fine until recently.
Reply
#30
Its just working fine in XBMC for Linux (r15983).

I've created the given files (avi + nfo) as shown in your examples and selected "update library". Startup scan and manual "scan for new content" will fetch them also. Just to be sure, you've set content on your TV folder and selected TheTVDB scraper without checking "Folder contains a single tvshow" ?
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

Logout Mark Read Team Forum Stats Members Help
Refresh of Library Content, different to Update?0