2014-11-15, 22:12
Hello,
I upgraded to Kodi b2 and when doing an update scan of the video folder (I have each movie in its folder) and it added all the blurays and dvds as duplicate. This was working fine with Gotham so I investigated the problem.
What I discovered is that inside each movie folder, for bluray rips, there's a index.bdmv file and a MovieObject.bdmv file. Each of these is detected as a separate movie. So for titles already present in the database via the index.bdmv detected by Gotham, Kodi added a second movie item because it detected MovieObject.bdmv file.
The same applies for DVD structures, with .ifo files: the main file is VIDEO_TS.ifo, but Kodi also detected each VTS*.ifo file present as a separate movie, so instead of duplicating it added the same movie for each VTS*.ifo file it detected.
I think the scraper should stop scanning once it found index.bdmv or video_ts.ifo. The scraper settings (I use the Universal Movie Scraper) have not been changed since Gotham.
I temporarily solved the issue by deleting all duplicate entries had to do it one-by-one, manually, (didn't figure out how to batch delete them), then added the following to advancedsettings.xml:
Whit these settings I exclude from scan all possible wrong entries related to Bluray and DVD structures.
Would like to know if it's intended behaviour or a bug.
Thanks.
I upgraded to Kodi b2 and when doing an update scan of the video folder (I have each movie in its folder) and it added all the blurays and dvds as duplicate. This was working fine with Gotham so I investigated the problem.
What I discovered is that inside each movie folder, for bluray rips, there's a index.bdmv file and a MovieObject.bdmv file. Each of these is detected as a separate movie. So for titles already present in the database via the index.bdmv detected by Gotham, Kodi added a second movie item because it detected MovieObject.bdmv file.
The same applies for DVD structures, with .ifo files: the main file is VIDEO_TS.ifo, but Kodi also detected each VTS*.ifo file present as a separate movie, so instead of duplicating it added the same movie for each VTS*.ifo file it detected.
I think the scraper should stop scanning once it found index.bdmv or video_ts.ifo. The scraper settings (I use the Universal Movie Scraper) have not been changed since Gotham.
I temporarily solved the issue by deleting all duplicate entries had to do it one-by-one, manually, (didn't figure out how to batch delete them), then added the following to advancedsettings.xml:
PHP Code:
<excludefromscan action="append">
<regexp>(?i)[\\/](auxdata|backup|clipinf|playlist|stream|certificate)[\\/]</regexp>
<regexp>(?i)movieobject\.bdmv</regexp>
<regexp>(?i)VTS_\w+.IFO</regexp>
<regexp>(?i)VTS_\w+.VOB</regexp>
</excludefromscan>
Whit these settings I exclude from scan all possible wrong entries related to Bluray and DVD structures.
Would like to know if it's intended behaviour or a bug.
Thanks.