v18 LibreELEC Testbuilds for RaspberryPi (Kodi 18.0)
(2018-05-22, 12:34)Catscrash Wrote: I contacted Yatse developer, to get to the root of the kodi crash when browsing folders with srt-files in yatse.

Turns out, Kodi returns mimetype "application/octet-stream" for srt-files, which it also uses for image files, so yatse tries to access the file as an image, which leads to the kodi crash since the currently used ffmpeg version.

How can we make sure, that kodi in the future either returns a proper mimetype, or ffmpeg handles it better (like before build 20171020)?
Presumably the subs have an extension of "srt" or similar? And displaying an "srt" file as an image is unlikely to be useful, so I'd have thought yatse could handle this better.
Sure, kodi shouldn't crash, but equally you shouldn't ask to display non-image files as an image.

Note: octet-stream just means binary data. You should other means (such as extension) to determine the type of binary data. See here


Messages In This Thread
WD MyCloud - by crisp waffles - 2017-09-06, 03:11
No 3D Playback since Version - by Mike74 - 2017-10-09, 19:25
Migrating from RPi2 to RPi1 - by RappaSan - 2017-11-10, 14:45
RE: Migrating from RPi2 to RPi1 - by Milhouse - 2017-11-10, 21:06
RE: Migrating from RPi2 to RPi1 - by RappaSan - 2017-11-11, 09:17
Resolution broken after 0415 - by lozbrown85 - 2018-04-20, 11:48
RE: LibreELEC Testbuilds for RaspberryPi (Kodi 18.0) - by popcornmix - 2018-05-22, 16:29
popt 1.16 - by n0n4m3 - 2018-06-29, 00:28
RE: popt 1.16 - by Milhouse - 2018-06-29, 06:39
A plugin to be resurrected - by ArminiusTux - 2018-10-22, 22:02
RE: A plugin to be resurrected - by Milhouse - 2018-10-23, 02:46
Logout Mark Read Team Forum Stats Members Help
LibreELEC Testbuilds for RaspberryPi (Kodi 18.0)24