mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-10-08 01:42:05 +00:00
Add version gate to strHdrType field
The strHdrType field is new to Kodi 20. Fixes jellyfin/jellyfin-kodi#852
This commit is contained in:
parent
b585377476
commit
842729b158
2 changed files with 16 additions and 3 deletions
|
@ -262,6 +262,13 @@ INSERT INTO streamdetails(idFile, iStreamType, strVideoCodec, fVideoAspect,
|
|||
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)
|
||||
"""
|
||||
add_stream_video_obj = ["{FileId}", 0, "{codec}", "{aspect}", "{width}", "{height}", "{Runtime}", "{3d}", "{hdrtype}"]
|
||||
# strHdrType is new to Kodi 20
|
||||
add_stream_video_19 = """
|
||||
INSERT INTO streamdetails(idFile, iStreamType, strVideoCodec, fVideoAspect, iVideoWidth,
|
||||
iVideoHeight, iVideoDuration, strStereoMode)
|
||||
VALUES (?, ?, ?, ?, ?, ?, ?, ?)
|
||||
"""
|
||||
add_stream_video_obj_19 = ["{FileId}", 0, "{codec}", "{aspect}", "{width}", "{height}", "{Runtime}", "{3d}"]
|
||||
add_stream_audio = """
|
||||
INSERT INTO streamdetails(idFile, iStreamType, strAudioCodec, iAudioChannels, strAudioLanguage)
|
||||
VALUES (?, ?, ?, ?, ?)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue