Kodi Community Forum
Bug? Episodes added multiple times using epp.nfo - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: Bug? Episodes added multiple times using epp.nfo (/showthread.php?tid=58476)



Bug? Episodes added multiple times using epp.nfo - Janoz - 2009-09-24

I have a created a little program which creates strm files together with an nfo and tbn file and store them in a folder containing a tvshow.nfo file. That way the streaming episodes will show up in the TVShows section.

It worked perfectly, except for one thing. As soon as a new episode was stored (an extra strm, tbn and nfo file) and the folder was scanned into the library, all episodes where added again. After adding 3 episodes the list contained 3 times episode 1, 2 times episode 2 and one time episode 1.

I can easily reproduce this problem using the following set of files: http://members.home.nl/janoz/tvshow.zip

Firts I copy the tvshow.nfo and the data for one episode into a single directory reachable by the xbox. I then set the content to tvshow, check the 'scan for content' and the 'folder contains a single tvshow' checkboxes and let it run. The show 'Test' and its episode will show up in the tvshow section. Running another 'update library' wont change a thing.

Now add the other episode to the folder and run 'update database'. On my Xbox the Test show now contains 3 episodes instead of 2.

To make it even weirder, remove an episode and do an update. The test show will now contain 4 episodes. Depending on which show you removed it will contain 3 episode 1 and 1 episode 2 or 2 of both episodes.


In short it comes down to the following. As soon as an episode is added or removed, all episodes present in the directory will be added again.


---
Forgot the most important part, versions Big Grin

XBMC for XBox version 9.04.1 r20848


- Janoz - 2009-09-26

Am I the only one with this problem? Has anyone tried the steps to see if it fails for them as well? I discovered that 'search for new content' will also add every episode again. The only way to get this correct is to remove the show from the library completely before doing a library update.


- mkortstiege - 2009-09-26

please post a full debug log