If one tries to play a DVD or a BluRay in kodi-21.0-r1, the film does not play, and one receives an error message saying "One or more items failed to play". Reading in the log files, two errors can be found that seem to relate to the problem. In both cases (DVD and BluRay) the first error is Unable to load /usr/lib64/kodi/system/players/VideoPlayer/libdvdnav-x86_64-linux.so, reason: /usr/lib64/kodi/system/players/VideoPlayer/libdvdnav-x86_64-linux.so: undefined symbol: dll_fstatvfs64 Then, if the disc is a DVD, this is followed by CVideoPlayer::OpenInputStream - error opening [/mnt/dvd/VIDEO_TS/VIDEO_TS.IFO] If, instead, the disc is a BluRay, the first error is followed by Open - error probing input format, /mnt/bluray/BDMV/index.bdmv Note that the previous version that was stable in Portage, i.e., kodi-19.5-r2, was working without any problem. Reproducible: Always Steps to Reproduce: 1. Emerge the new version of Kodi 2. Try to play a DVD/BluRay 3. D'oh! Actual Results: "One or more items failed to play" Expected Results: Film playing I strongly suspect this is related to https://github.com/xbmc/xbmc/issues/24955, since it is the same error message I get in the log. Also, if I remember correctly, the very same problem happened a few times with even older versions.
I dont have the equipment to test this currently. Could you try applying this as a patch https://github.com/xbmc/xbmc/pull/24968. wget https://github.com/xbmc/xbmc/pull/24968.patch -O fstatvfs64.patch mkdir -p /etc/portage/patches/media-tv/kodi-21.0-r1/ cp fstatvfs64.patch /etc/portage/patches/media-tv/kodi-21.0-r1/ If it works then that could be added to the ebuild in a new revision. From the looks of things this should be addressed in the next kodi 21 minor release, but I dont know when that is.
Alright, just tested the patch and it works, both with DVDs and BluRays. And I agree, this should go in the ebuild of a new revision. Should I marked it resolved?
Dont mark it as resolved, if the version is bumped or the patch is added in a new revision should it be closed. Ill make a PR for it.
Best to close this once an ebuild that addresses this has been stabilised.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4012f0c17431071322b37b09006a6f6aa7334735 commit 4012f0c17431071322b37b09006a6f6aa7334735 Author: Alfred Wingate <parona@protonmail.com> AuthorDate: 2024-06-01 16:58:08 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-06-02 07:09:28 +0000 media-tv/kodi: fix issue that breaks playing DVDs and BluRays Bug: https://bugs.gentoo.org/933370 Signed-off-by: Alfred Wingate <parona@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org> media-tv/kodi/files/kodi-21-fix-dvd-playing.patch | 50 +++ media-tv/kodi/kodi-21.0-r2.ebuild | 516 ++++++++++++++++++++++ 2 files changed, 566 insertions(+)
(In reply to Alfred Wingate from comment #4) > Best to close this once an ebuild that addresses this has been stabilised. okay then.