2018-04-10, 12:36
(2018-04-09, 22:55)Catscrash Wrote: it seems, that it only happens in folders with .srt files. Is there a way to enable debug logging via console? I only have ssh & yatse access at the moment to the system.
It only happens with yatse, not when browsing the folder on libreelec itself with keyboard / remote
Edit: Here is the debug-enabled crash log of 1020: https://pastebin.com/U0ivnMcK
This looks like a Kodi and/or Yatse bug - Yatse appears to be requesting the SRT file from the Kodi Webserver as an *image*. Consequently Kodi tries to decode the SRT using ffmpeg and then chokes:
text:
21:06:24.699 T:1575101328 DEBUG: CUtil::GetMatchingSource: no matching source found for [/media/Filme/Filme/]
21:06:24.840 T:1575101328 DEBUG: Previous line repeats 1 times.
21:06:24.840 T:1575101328 DEBUG: CWebServer[8080]: request received for /image/image%3A%2F%2F%252Fmedia%252FFilme%252FFilme%252FMr.Holmes.2015.720p.BluRay.x264-DRONES.eng.srt%2F
21:06:24.914 T:1575101328 DEBUG: ffmpeg[5DE22390]: Assertion frame->buf[0] failed at libavcodec/decode.c:610
However I'm not yet able to reproduce myself.
1) Can you show the directory listing for the folder containing the srt.
2) Is this movie in your library - if so can you dump the metadata for the "Mr. Holmes" movie using "texturecache.py jd movies holmes | pastebinit"
3) Do you have any Yatse plugins installed or settings that might be causing trying to access the SRT file?
4) Can you also upload /media/Filme/Filme/Mr.Holmes.2015.720p.BluRay.x264-DRONES.eng.srt (as a zip archive in case there is any peculiar encoding that would be lost in a pastebin upload).
I tried to force the Webserver (using a browser) to download a SRT file but no luck - it didn't crash:
text:11:29:10.395 T:1715012384 DEBUG: CWebServer[8080]: request received for /image/image%3A%2F%2Fsmb%253A%252F%252FNM-WIN7%252FTorrent%252FqTorrent%252FPsych.S05E12.Dual.Spires.HDTV.XviD-FQM.srt%2F
11:29:10.439 T:1715012384 DEBUG: CSMBFile::Open - opened smb://USERNAMEASSWORD@NM-WIN7/Torrent/qTorrent/Psych.S05E12.Dual.Spires.HDTV.XviD-FQM.srt, fd=10000
11:29:10.449 T:1715012384 ERROR: Could not find suitable input format: application/octet-stream
11:29:10.450 T:1715012384 DEBUG: LoadFromFileInternal - Load of smb://NM-WIN7/Torrent/qTorrent/Psych.S05E12.Dual.Spires.HDTV.XviD-FQM.srt failed.
11:29:10.450 T:1715012384 DEBUG: CSMBFile::Close closing fd 10000