Skip to content

Stop setting the deprecated manifest_type property on InputStream Adaptive 21+ - #715

Open
einanderson wants to merge 1 commit into
anxdpanic:masterfrom
einanderson:fix/deprecated-manifest-type
Open

Stop setting the deprecated manifest_type property on InputStream Adaptive 21+#715
einanderson wants to merge 1 commit into
anxdpanic:masterfrom
einanderson:fix/deprecated-manifest-type

Conversation

@einanderson

Copy link
Copy Markdown
Contributor

InputStream Adaptive 21 detects the manifest type by itself and logs this on every playback:

Warning "inputstream.adaptive.manifest_type" property is deprecated and will be removed
next Kodi version, the manifest type is now automatically detected

Kodi 22 removes the property entirely, so playback would break there.

The change

The property is not dropped outright, because the add-on still supports Kodi 20, whose
InputStream Adaptive does not detect the type yet. It is now set only below ISA 21, through the
existing inputstream_adpative_supports() helper — same shape as the existing
EXT-X-DISCONTINUITY feature check.

Verification

The helper returns False for ISA 2.6.20 and 20.3.19 and True for 21.0.0, 21.5.21, 21.5.23.1
and 22.3.20; the existing EXT-X-DISCONTINUITY behaviour is unchanged.

Live on Kodi 21.3 with ISA 21.5.21: the property is no longer set, the deprecation warning is gone
(three occurrences before, none after) and playback is unaffected.

…am Adaptive

Since Kodi 21 InputStream Adaptive detects the manifest type by itself and logs

  Warning "inputstream.adaptive.manifest_type" property is deprecated and will
  be removed next Kodi version, the manifest type is now automatically detected

for every playback. Kodi 22 removes the property entirely, so playback would
break there.

It is not dropped outright, because the add-on still supports Kodi 20, whose
InputStream Adaptive does not detect the type yet. The property is now set only
when the installed version is older than 21, using the existing
inputstream_adpative_supports() version helper.

Verified: the helper returns False for ISA 2.6.20 and 20.3.19 and True for
21.0.0, 21.5.21, 21.5.23.1 and 22.3.20, with the existing EXT-X-DISCONTINUITY
feature unchanged. Live on Kodi 21.3 with ISA 21.5.21 the property is no longer
set and the deprecation warning is gone (three occurrences before, none after),
with playback unaffected.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant