2023-10-23, 01:33
I'm setting up my media library in Kodi and I might have come across broken behavior.
I have a bunch of TV shows ripped from Blu-ray disks in form of file-level copies. That is, for each episode, I have a BDMV folder with all containing files:
On the surface, it scrapes correctly (the show is detected, and an episode for each is scraped into the library). However, if I navigate into the episode list, each episode is actually added in duplicate:
If I go into Information, it turns out that every first duplicate is the index.bdmv file, and every second duplicate is the MovieObject.bdmv file.
What is my mistake here, and how do I get rid of duplication?
Additionally, if I mess around with advancedsettings.xml and add a
Now, this is a broken configuration and I won't be keeping this change, but in this configuration one of the duplicate entries actually shows the file information at the bottom (true length, file codec, resolution, aspect ratio and soundtrack format). How do I make Kodi show the right metadata without breaking everything?
I have a bunch of TV shows ripped from Blu-ray disks in form of file-level copies. That is, for each episode, I have a BDMV folder with all containing files:
Code:
Show Name S01E01
Show Name S01E01/BDMV
Show Name S01E01/BDMV/STREAM
Show Name S01E01/BDMV/STREAM/00000.m2ts
Show Name S01E01/BDMV/BACKUP
Show Name S01E01/BDMV/BACKUP/CLIPINF
Show Name S01E01/BDMV/BACKUP/CLIPINF/00000.clpi
Show Name S01E01/BDMV/BACKUP/PLAYLIST
Show Name S01E01/BDMV/BACKUP/PLAYLIST/00000.mpls
Show Name S01E01/BDMV/BACKUP/MovieObject.bdmv
Show Name S01E01/BDMV/BACKUP/index.bdmv
Show Name S01E01/BDMV/CLIPINF
Show Name S01E01/BDMV/CLIPINF/00000.clpi
Show Name S01E01/BDMV/PLAYLIST
Show Name S01E01/BDMV/PLAYLIST/00000.mpls
Show Name S01E01/BDMV/MovieObject.bdmv
Show Name S01E01/BDMV/index.bdmv
On the surface, it scrapes correctly (the show is detected, and an episode for each is scraped into the library). However, if I navigate into the episode list, each episode is actually added in duplicate:
If I go into Information, it turns out that every first duplicate is the index.bdmv file, and every second duplicate is the MovieObject.bdmv file.
What is my mistake here, and how do I get rid of duplication?
Additionally, if I mess around with advancedsettings.xml and add a
tvshowmatching
regex without the end-of-string anchor, I get every episode seven(!) times (one for each *.bdmv/*.mpls/*.m2ts file in the rip):Now, this is a broken configuration and I won't be keeping this change, but in this configuration one of the duplicate entries actually shows the file information at the bottom (true length, file codec, resolution, aspect ratio and soundtrack format). How do I make Kodi show the right metadata without breaking everything?