Kodi won't scan files from DVD into the library
#1
I am having a problem getting Kodi to scan the contents of a DVD into the library. This is the first time I have tried to get Kodi to add files from a DVD to its library. The files were copied from the DVD itself using dvdbackup, then placed in a local directory, which in this case is in a ZFS filesystem on the Raspberry Pi. All of the files indexed in the library are resident on the ZFS filesystem, and files not from a DVD get successfully added to the library. I have also checked file permissions and they are identical between the files that are added OK, and the contents of the DVD, which are not added to the library - they are all owned by user andrew, group andrew, and have appropriate permissions. The log is at https://paste.kodi.tv/oruqipusuy. Does anyone have any ideas what is going wrong here?
Reply
#2
Running on BCM2835 with Debian GNU/Linux 11 (bullseye) - current version is 12 (bookworm) - https://www.debian.org/News/2023/20230610
Kodi (19.4 (19.4.0) Git:20221007-166303c4f0) - current version is 20.1 https://packages.debian.org/bookworm/kodi

------

do you experience the same issues in a current release version?
Reply
#3
(2023-08-21, 20:29)jepsizofye Wrote: do you experience the same issues in a current release version?

Yes. I tried on the current version of LibreELEC, which has Kodi 20.1, on a different Pi 4, and connected it to my files over SMB: it shows the same problem. Log file is at https://paste.kodi.tv/atigiracoh. The corresponding lines in the log shows the same issue as on Kodi 19.4 - perhaps there is an error in the IFO file:
 
Quote:2023-08-21 19:13:01.276 T:892 info <general>: VideoInfoScanner: Starting scan ..
2023-08-21 19:13:01.368 T:892 debug <general>: VideoInfoScanner: Scanning dir 'smb://192.168.1.3/zdata/Videos/TV Series/30 Rock/' as not in the database
2023-08-21 19:13:01.370 T:892 debug <general>: VideoInfoScanner: Could not enumerate file smb://192.168.1.3/zdata/Videos/TV Series/30 Rock/30 Rock Season1 Disc1/VIDEO_TS/VIDEO_TS.IFO
2023-08-21 19:13:01.371 T:892 debug <general>: VideoInfoScanner: No (new) information was found in dir smb://192.168.1.3/zdata/Videos/TV Series/30 Rock/
2023-08-21 19:13:01.398 T:892 info <general>: VideoInfoScanner: Finished scan. Scanning for video info took 128 ms
Reply
#4
Could not enumerate file /zdata/Videos/TV Series/30 Rock/Season 1/
You haven't named your folder correctly. You have named the dvd folder "Season 1" instead of naming it with the episodes.
Assume the disk contains episodes 1-4

/zdata/Videos/TV Series/30 Rock/Season 1/30 Rock S01E01E02E03E04/
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#5
(2023-08-21, 21:33)Karellen Wrote: Could not enumerate file /zdata/Videos/TV Series/30 Rock/Season 1/
You haven't named your folder correctly. You have named the dvd folder "Season 1" instead of naming it with the episodes.
Assume the disk contains episodes 1-4

/zdata/Videos/TV Series/30 Rock/Season 1/30 Rock S01E01E02E03E04/
I didn't know I needed to do that. Is that documented somewhere? I did try googling how to do this and didn't find that information.

I've done as you suggested, and I get information for the 8 episodes on the DVD added to the library. When I play each item however, I end up with the Universal Studios ident, the copyright warning videos, then it goes into the DVDs menu. How do I get it to just play the episode I select? Do I just delete all the files except for the top-level IFO file and the episodes I want?
Reply
#6
(2023-08-21, 22:04)andrum99 Wrote: I didn't know I needed to do that. Is that documented somewhere?
Here... https://kodi.wiki/view/Naming_video_files/TV_shows
Skip throught to Episodes, particularly multi-episode files.

(2023-08-21, 22:04)andrum99 Wrote: I've done as you suggested, and I get information for the 8 episodes on the DVD added to the library. When I play each item however, I end up with the Universal Studios ident, the copyright warning videos, then it goes into the DVDs menu. How do I get it to just play the episode I select? Do I just delete all the files except for the top-level IFO file and the episodes I want?
That is expected. Kodi has no idea where episodes start and finish in a file. How could it?
All that is happening here is that a library entry is created for all eight episodes, but they all point to the same file.
You could use Episode bookmarks to set the start positions... https://kodi.wiki/view/Bookmarks_and_cha..._bookmarks

But do yourself a favour, and don't use DVD or Bluray folders. It is an antiquated system specifically designed for optical disks.
Rip your DVD's into separate mkv files for each episode. MakeMKV can do that for you... https://www.makemkv.com/
There is no compression or loss of quality.
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#7
(2023-08-21, 22:23)Karellen Wrote:
(2023-08-21, 22:04)andrum99 Wrote: I didn't know I needed to do that. Is that documented somewhere?
Here... https://kodi.wiki/view/Naming_video_files/TV_shows
Skip throught to Episodes, particularly multi-episode files.
(2023-08-21, 22:04)andrum99 Wrote: I've done as you suggested, and I get information for the 8 episodes on the DVD added to the library. When I play each item however, I end up with the Universal Studios ident, the copyright warning videos, then it goes into the DVDs menu. How do I get it to just play the episode I select? Do I just delete all the files except for the top-level IFO file and the episodes I want?
That is expected. Kodi has no idea where episodes start and finish in a file. How could it?
All that is happening here is that a library entry is created for all eight episodes, but they all point to the same file.
You could use Episode bookmarks to set the start positions... https://kodi.wiki/view/Bookmarks_and_cha..._bookmarks

But do yourself a favour, and don't use DVD or Bluray folders. It is an antiquated system specifically designed for optical disks.
Rip your DVD's into separate mkv files for each episode. MakeMKV can do that for you... https://www.makemkv.com/
There is no compression or loss of quality.

Thanks. Presumably if I renamed the VOB and IFO files according to the scheme specified in the wiki that would do what I want?

I will give MakeMKV a try if I can't get it working any other way, but I would prefer a Linux-only solution.
Reply
#8
(2023-08-21, 22:34)andrum99 Wrote: Thanks. Presumably if I renamed the VOB and IFO files according to the scheme specified in the wiki that would do what I want?
No.

You need to transcode using MakeMKV
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#9
(2023-08-21, 22:37)Karellen Wrote:
(2023-08-21, 22:34)andrum99 Wrote: Thanks. Presumably if I renamed the VOB and IFO files according to the scheme specified in the wiki that would do what I want?
No.

You need to transcode using MakeMKV

OK I will give MakeMKV a spin. Thanks for your help.
Reply
#10
(2023-08-21, 22:34)andrum99 Wrote: but I would prefer a Linux-only solution.

makemkv runs on linux - https://forum.makemkv.com/forum/viewtopic.php?f=3&t=224

i use it in a docker on my nas to direct copy - jlesage/makemkv:latest
Reply
#11
(2023-08-21, 23:01)jepsizofye Wrote:
(2023-08-21, 22:34)andrum99 Wrote: but I would prefer a Linux-only solution.

makemkv runs on linux - https://forum.makemkv.com/forum/viewtopic.php?f=3&t=224

i use it in a docker on my nas to direct copy - jlesage/makemkv:latest

Oooh interesting - thanks.
Reply

Logout Mark Read Team Forum Stats Members Help
Kodi won't scan files from DVD into the library0