Kodi Community Forum

Full Version: Issues with DVD folders not always played in Kodi v17
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
I am running Kodi over an Apple FireTV stick and I could rather easily scrape my 7000+ videos (movies and TV series) over an SMB share connected to a router with an USB port.
I have then started to add my personal homemade videos, which consist of some Divx, many SVCD and DVD (all created during 1999-2004).
For all of them I have created ad-hoc poster and fanart images, plus an NFO file. I have instructed Kodi to use the local scraper (.nfo), and haven't set any checkmarks (no recursive scanning, no nothing).
The DivX are all recognized immediately, the SVCD are also recognized (although no menu is displayed - the file plays as is) but for the DVD it's a fight.
They are added to the library but sometimes, they play, and sometimes, Kodi can't find them.
Look at the two examples below, which refer to the same video:

15:42:13.002 T:18446744072511990544  NOTICE: VideoPlayer: Opening: smb://192.168.1.253/Disk_a1/HomeMovies/Messico DVD (2001)/VIDEO_TS/VIDEO_TS.IFO
15:42:13.002 T:18446744072511990544   DEBUG: LinuxRendererGL: Cleaning up GL resources
15:42:13.003 T:18446744072541411800   DEBUG: Thread VideoPlayer start, auto delete: false
15:42:13.005 T:18446744072541411800  NOTICE: Creating InputStream
15:42:13.010 T:18446744072513684128    INFO: CActiveAESink::OpenSink - initialize sink
15:42:13.010 T:18446744072513684128   DEBUG: Draining Audio
15:42:13.011 T:18446744072513684128   DEBUG: CActiveAESink::OpenSink - trying to open device AUDIOTRACK:AudioTrack
15:42:13.011 T:18446744072513684128   DEBUG: CAESinkAUDIOTRACK::Initialize requested: sampleRate 44100; format: AE_FMT_FLOAT; channels: 2
15:42:13.012 T:18446744072513684128   DEBUG: Updated SampleRate: 32000 Distance: 108900
15:42:13.012 T:18446744072513684128   DEBUG: Updated SampleRate: 44100 Distance: 0
15:42:13.012 T:18446744072513684128  NOTICE: Trying to open: 44100 samplerate 12 channelMask 4 encoding
15:42:13.013 T:18446744072513684128   DEBUG: Minimum size we need for stream: 30104
15:42:13.014 T:18446744072513684128   DEBUG: Created Audiotrackbuffer with playing time of 170.657596 ms min buffer size: 60208 bytes
15:42:13.019 T:18446744072513684128  NOTICE: CAESinkAUDIOTRACK::Initializing with: m_sampleRate: 44100 format: AE_FMT_FLOAT (AE) method: PCM stream-type: PCM-STREAM min_buffer_size: 60208 m_frames: 3763 m_frameSize: 8 channels: 2
15:42:13.019 T:18446744072513684128   DEBUG: CActiveAESink::OpenSink - AUDIOTRACK Initialized:
15:42:13.020 T:18446744072513684128   DEBUG:   Output Device : android
15:42:13.020 T:18446744072513684128   DEBUG:   Sample Rate   : 44100
15:42:13.020 T:18446744072513684128   DEBUG:   Sample Format : AE_FMT_FLOAT
15:42:13.020 T:18446744072513684128   DEBUG:   Channel Count : 2
15:42:13.020 T:18446744072513684128   DEBUG:   Channel Layout: FL,FR
15:42:13.020 T:18446744072513684128   DEBUG:   Frames        : 3763
15:42:13.021 T:18446744072513684128   DEBUG:   Frame Size    : 8
15:42:13.025 T:18446744072541411800    INFO:   msg: libdvdnav: Using dvdnav version 5.0.4
15:42:13.028 T:18446744072541411800   DEBUG:   msg: libdvdread: Couldn't find device name.
15:42:13.028 T:18446744072513653736   DEBUG: CActiveAE::ClearDiscardedBuffers - buffer pool deleted
15:42:13.042 T:18446744072541411800   DEBUG: Previous line repeats 1 times.
15:42:13.042 T:18446744072541411800   DEBUG: CSMBFile::Open - opened smb://192.168.1.253/Disk_a1/HomeMovies/Messico DVD (2001)/VIDEO_TS/VIDEO_TS.IFO, fd=10001
15:42:13.072 T:18446744072541411800    INFO:   msg: libdvdnav: Unable to open device file smb://192.168.1.253/Disk_a1/HomeMovies/Messico DVD (2001).
15:42:13.073 T:18446744072541411800   DEBUG:   msg: libdvdnav: vm: dvd_read_name failed
15:42:13.073 T:18446744072541411800    INFO:   msg: libdvdnav: vm: DVD Title:
15:42:13.073 T:18446744072541411800    INFO:   msg: libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions:
15:42:13.073 T:18446744072541411800    INFO:   msg:  1
15:42:13.073 T:18446744072541411800    INFO:   msg:  2
15:42:13.073 T:18446744072541411800    INFO:   msg:  3
15:42:13.074 T:18446744072541411800    INFO:   msg:  4
15:42:13.074 T:18446744072541411800    INFO:   msg:  5
15:42:13.074 T:18446744072541411800    INFO:   msg:  6
15:42:13.074 T:18446744072541411800    INFO:   msg:  7
15:42:13.074 T:18446744072541411800    INFO:   msg:  8
15:42:13.075 T:18446744072541411800   DEBUG:   msg:
15:42:13.082 T:18446744072541411800   DEBUG: CSMBFile::Open - opened smb://192.168.1.253/Disk_a1/HomeMovies/Messico DVD (2001)/VIDEO_TS/VIDEO_TS.VOB, fd=10000


Here above, the video played OK, while ten seconds after, it all went wrong

15:42:24.774 T:18446744072511990544  NOTICE: VideoPlayer: Opening: smb://192.168.1.253/Disk_a1/HomeMovies/Messico DVD (2001)/VIDEO_TS/VIDEO_TS.IFO
15:42:24.774 T:18446744072511990544   DEBUG: LinuxRendererGL: Cleaning up GL resources
15:42:24.775 T:18446744072530431864   DEBUG: Thread VideoPlayer start, auto delete: false
15:42:24.780 T:18446744072530431864  NOTICE: Creating InputStream
15:42:24.781 T:18446744072513684128    INFO: CActiveAESink::OpenSink - initialize sink
15:42:24.781 T:18446744072513684128   DEBUG: Draining Audio
15:42:24.783 T:18446744072513684128   DEBUG: CActiveAESink::OpenSink - trying to open device AUDIOTRACK:AudioTrack
15:42:24.783 T:18446744072513684128   DEBUG: CAESinkAUDIOTRACK::Initialize requested: sampleRate 44100; format: AE_FMT_FLOAT; channels: 2
15:42:24.783 T:18446744072513684128   DEBUG: Updated SampleRate: 32000 Distance: 108900
15:42:24.783 T:18446744072513684128   DEBUG: Updated SampleRate: 44100 Distance: 0
15:42:24.784 T:18446744072513684128  NOTICE: Trying to open: 44100 samplerate 12 channelMask 4 encoding
15:42:24.785 T:18446744072513684128   DEBUG: Minimum size we need for stream: 30104
15:42:24.785 T:18446744072513684128   DEBUG: Created Audiotrackbuffer with playing time of 170.657596 ms min buffer size: 60208 bytes
15:42:24.793 T:18446744072513684128  NOTICE: CAESinkAUDIOTRACK::Initializing with: m_sampleRate: 44100 format: AE_FMT_FLOAT (AE) method: PCM stream-type: PCM-STREAM min_buffer_size: 60208 m_frames: 3763 m_frameSize: 8 channels: 2
15:42:24.793 T:18446744072513684128   DEBUG: CActiveAESink::OpenSink - AUDIOTRACK Initialized:
15:42:24.793 T:18446744072513684128   DEBUG:   Output Device : android
15:42:24.793 T:18446744072513684128   DEBUG:   Sample Rate   : 44100
15:42:24.794 T:18446744072513684128   DEBUG:   Sample Format : AE_FMT_FLOAT
15:42:24.794 T:18446744072513684128   DEBUG:   Channel Count : 2
15:42:24.794 T:18446744072513684128   DEBUG:   Channel Layout: FL,FR
15:42:24.794 T:18446744072513684128   DEBUG:   Frames        : 3763
15:42:24.794 T:18446744072513684128   DEBUG:   Frame Size    : 8
15:42:24.800 T:18446744072513653736   DEBUG: CActiveAE::ClearDiscardedBuffers - buffer pool deleted
15:42:24.802 T:18446744072530431864   DEBUG: Previous line repeats 1 times.
15:42:24.802 T:18446744072530431864    INFO:   msg: libdvdnav: Using dvdnav version 5.0.4
15:42:24.814 T:18446744072530431864   DEBUG:   msg: libdvdread: Couldn't find device name.
15:42:24.821 T:18446744072530431864    INFO:   msg: libdvdread: Could not open smb://192.168.1.253/Disk_a1/HomeMovies/Messico DVD (2001)/VIDEO_TS/VIDEO_TS.IFO with libdvdcss.
15:42:24.821 T:18446744072530431864    INFO:   msg: libdvdreadBig GrinVDOpenFilePath:dvdinput_open smb://192.168.1.253/Disk_a1/HomeMovies/Messico DVD (2001)/VIDEO_TS/VIDEO_TS.IFO failed
15:42:24.827 T:18446744072530431864    INFO:   msg: libdvdread: Could not open smb://192.168.1.253/Disk_a1/HomeMovies/Messico DVD (2001)/VIDEO_TS/VIDEO_TS.BUP with libdvdcss.
15:42:24.828 T:18446744072530431864    INFO:   msg: libdvdreadBig GrinVDOpenFilePath:dvdinput_open smb://192.168.1.253/Disk_a1/HomeMovies/Messico DVD (2001)/VIDEO_TS/VIDEO_TS.BUP failed
15:42:24.828 T:18446744072530431864   DEBUG:   msg: libdvdread: Can't open file VIDEO_TS.IFO.
15:42:24.828 T:18446744072530431864   DEBUG:   msg: libdvdnav: vm: failed to read VIDEO_TS.IFO
15:42:24.828 T:18446744072530431864   ERROR: Error on dvdnav_open
15:42:24.828 T:18446744072530431864   ERROR: CVideoPlayer::OpenInputStream - error opening [smb://192.168.1.253/Disk_a1/HomeMovies/Messico DVD (2001)/VIDEO_TS/VIDEO_TS.IFO]
15:42:24.829 T:18446744072530431864  NOTICE: CVideoPlayer::OnExit()
15:42:24.829 T:18446744072530431864   DEBUG: OnPlayBackStopped: play state was 1, starting 1
15:42:24.829 T:18446744072511990544   DEBUG: OnPlayBackStopped: play state was 3, starting 0
15:42:24.829 T:18446744072530431864   DEBUG: Thread VideoPlayer 18446744072530431864 terminating
15:42:24.869 T:18446744072511990544   ERROR: Playlist Player: skipping unplayable item: 0, path [smb://192.168.1.253/Disk_a1/HomeMovies/Messico DVD (2001)/VIDEO_TS/VIDEO_TS.IFO]

And now I can't play it anymore. Kodi asks me if I want to delete it from the library, since this movie does not exist anymore.

I also don't understand why libdvdcss is triggered, since there is no needed decryption. Maybe tomorrow it will work again, who knows... It's a matter of trying and trying. I have 10 DVD which all had this issue. None of them would play, but yesterday and today they all play fine, and I haven't done anything.... Today I have added this Mexico video and it won't play.

This strange behavioiur only happens with IFO files - the rest always plays nice, 100% of the time.

Any suggestions on how I may be able to fix the problem?
Thanks and ciao.
I'm just curious...

Which part of the big fat text When posting text snippets or log files, use a text upload website like https://paste.ubuntu.com/, just above the Post Reply button, was not clear to you?

Also, we always prefer FULL en DEBUG-ENABLED kodi log files provided via pastebin.com , and not just the part(s) that you find interesting. Bugs can start at any time in an application.
Thanks for helping, Klojum !

Full logs can be found under https://paste.ubuntu.com/p/9H8VCcmvw3/ and https://paste.ubuntu.com/p/FmRQJJ75z3/