[Bug 265931] multimedia/kodi: Unable to resolve: libdvdnav-x86_64-freebsd.so dvdnav_get_vm........

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 19 Aug 2022 15:07:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265931

--- Comment #6 from Alexander Vereeken <Alexander88207@protonmail.com> ---
Hello,

thank you for your quick reply and the patch.

When i want now open the DVD then it reads the DVD for one sec and then kodi
closes.

2022-08-19 17:05:04.298 T:105819    INFO <general>:   msg: libdvdnav: Using
dvdnav version 6.0.0

2022-08-19 17:05:04.298 T:105819   DEBUG <general>: libdvdread: Couldn't find
device name.

2022-08-19 17:05:04.298 T:105820   DEBUG <general>: Thread BackgroundLoader
0x8ed586100 terminating
2022-08-19 17:05:04.299 T:105819    INFO <general>:   msg: libdvdnav: Unable to
open device file /home/Alexander88207/DVD.

2022-08-19 17:05:04.299 T:105819   DEBUG <general>: libdvdnav: vm:
dvd_read_name failed

2022-08-19 17:05:04.299 T:105819    INFO <general>:   msg: libdvdnav: vm: DVD
Title: 

2022-08-19 17:05:04.299 T:105819    INFO <general>:   msg: libdvdnav: DVD disk
reports itself with Region mask 0x00000000. Regions:
2022-08-19 17:05:04.299 T:105819    INFO <general>:   msg:  1
2022-08-19 17:05:04.299 T:105819    INFO <general>:   msg:  2
2022-08-19 17:05:04.299 T:105819    INFO <general>:   msg:  3
2022-08-19 17:05:04.299 T:105819    INFO <general>:   msg:  4
2022-08-19 17:05:04.299 T:105819    INFO <general>:   msg:  5
2022-08-19 17:05:04.299 T:105819    INFO <general>:   msg:  6
2022-08-19 17:05:04.299 T:105819    INFO <general>:   msg:  7
2022-08-19 17:05:04.299 T:105819    INFO <general>:   msg:  8
2022-08-19 17:05:04.299 T:105819   DEBUG <general>:   msg: 

2022-08-19 17:05:04.300 T:105819   DEBUG <general>: Open - Setting region mask
02
2022-08-19 17:05:04.300 T:105819    INFO <general>: VideoPlayer: playing a file
with menu's
2022-08-19 17:05:04.300 T:105819    INFO <general>: Creating Demuxer
--------

This is the log when i try it from library file

2022-08-19 17:02:19.327 T:102212    INFO <general>: VideoPlayer::OpenFile:
dvd://
2022-08-19 17:02:19.327 T:105533   DEBUG <general>: Thread VideoPlayer start,
auto delete: false
2022-08-19 17:02:19.327 T:102212   DEBUG <general>: OnPlayBackStarted:
CApplication::OnPlayBackStarted
2022-08-19 17:02:19.327 T:105533    INFO <general>: Creating InputStream
2022-08-19 17:02:19.327 T:105533   DEBUG <general>:
SECTION:LoadDLL(special://xbmcbin/system/players/VideoPlayer/libdvdnav-x86_64-freebsd.so)
2022-08-19 17:02:19.327 T:105533   DEBUG <general>: Loading:
/usr/local/lib/kodi/system/players/VideoPlayer/libdvdnav-x86_64-freebsd.so
2022-08-19 17:02:19.327 T:105533    INFO <general>:   msg: libdvdnav: Using
dvdnav version 6.0.0

2022-08-19 17:02:19.327 T:105533    INFO <general>:   msg: libdvdread: Can't
stat 

2022-08-19 17:02:19.327 T:105533    INFO <general>:   msg: libdvdread: Could
not open 

2022-08-19 17:02:19.327 T:105533   DEBUG <general>: libdvdnav: vm: failed to
open/read the DVD

2022-08-19 17:02:19.327 T:105533   ERROR <general>: Error on dvdnav_open
2022-08-19 17:02:19.327 T:105533   ERROR <general>:
CVideoPlayer::OpenInputStream - error opening []
2022-08-19 17:02:19.327 T:105533    INFO <general>: CVideoPlayer::OnExit()
2022-08-19 17:02:19.327 T:105533   DEBUG <general>: Thread VideoPlayer
0x893c71100 terminating

There should be no issue regarding permissions, $USER is in the operater group
and other players can access /dev/cd0 fine. Opening directly /dev/cd0 works but
it doesn't gets used as DVD instead the menu stuff gets played as a normal
video file.

-- 
You are receiving this mail because:
You are the assignee for the bug.