HLS M3U8 VOD/EVENT is treated as live stream

It looks like a BUG.

When ever playing a VOD or EVENT m3u8 playlist that looks like this:

Code:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-ALLOW-CACHE:NO
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-PLAYLIST-TYPE:VOD
#EXTINF:7.038556,
file000.ts
#EXTINF:3.486000,
file001.ts
#EXTINF:7.138000,
file002.ts
#EXTINF:2.988000,
...

While the content is being transcoded on-fly Kodi treat this as LIVE stream (because of lack of #EXT-X-ENDLIST) which is wrong, because of specification of m3u8

Quote:#EXT-X-PLAYLIST-TYPE:VOD or #EXT-X-PLAYLIST-TYPE:EVENT

, but Kodi play the current encoded fragment (last added segment in playlist).

Is there a way to make Kodi play this VOD/EVENT stream properly without waiting till

Code:
#EXT-X-ENDLIST

is added ?