Posts: 26,215
Joined: Oct 2003
Reputation:
187
Which table is that that has a full path in it? Hint: there is no table with a full path, except for stack:// 'd or rar://'d URLs.
Exactly what query did you use to generate that list?
Posts: 26,215
Joined: Oct 2003
Reputation:
187
The episode table has no path or filename in it. The episodeview will have separate entries for path and file. Neither, however, will have the complete, constructed filenameandpath.
Posts: 26,215
Joined: Oct 2003
Reputation:
187
2012-05-11, 06:05
(This post was last modified: 2012-05-11, 06:07 by jmarshall.)
Right, but that's not (necessarily) the path or file - rather, it's the match that files view uses when assigning previously scraped content to files (for the library metadata in files view feature).
What is important is what is in the idFile column, and what strFile, idPath in the files table are and the corresponding strPath from the path table is.
That is where you'll likely find your 2 different paths.
Cheers,
Jonathan
Posts: 26,215
Joined: Oct 2003
Reputation:
187
Thanks - the plot thickens!
From a scan of the code, it looks like this might be possible if entries are imported from a previous export. Is it possible that it occurred in this way?
It doesn't look to be possible when scanning, as there's a check for whether it exists before we add the episode.
I'm not sure whether the current check can be moved to make it more robust - have to think on it a bit (the problem is there's nothing wrong with 2 episode entries pointing to the same path - multiepisode files do exactly this).
Cheers,
Jonathan
Posts: 1,546
Joined: Jun 2005
Reputation:
1
2012-05-12, 07:44
(This post was last modified: 2012-05-12, 07:45 by RockDawg.)
The episodes in question here weren't imported. The episodes were downloaded via Sick Beard and it initiates the scan to add the episode to XBMC's library. I think it actually performs a "scan for new content" on the show folder rather than an "update library", because it only adds the specific show's episode and no other media that may exist that hasn't been added to the library.
Posts: 26,215
Joined: Oct 2003
Reputation:
187
Is it a coincidence that both have HDTV versions on the first scan through. Looks like no clean is done as your as.xml doesn't have the <cleanonupdate> inside <videolibrary>
So these ones at least are a red herring.
Posts: 1,546
Joined: Jun 2005
Reputation:
1
I thought the same at first too, but I have other episodes that only ever downloaded one quality (HDTV) that were also duplicated (see my first post). I took out the <cleanonupdate> to try to solve my other problem where my movie sources lose their content setting (you replied in my thread concerning it, but it still does it).
Posts: 1,546
Joined: Jun 2005
Reputation:
1
I'm not following you. I have duplicates where the quality was upgraded and at least one duplicate where only one quality was downloaded.
Posts: 26,215
Joined: Oct 2003
Reputation:
187
Yes, but we have no log from the latter, right?