emilsvennesson / script.module.inputstreamhelper

A simple Kodi module that makes life easier for add-on developers relying on InputStream based add-ons and DRM playback.
MIT License
136 stars 48 forks source link

Version parser trips over dashes, eg 22.0-ALPHA1 #569

Closed HiassofT closed 2 months ago

HiassofT commented 2 months ago

Using the current inputstreamhelper master version (e5bc154525bcf1dea11138c30f602f441a361d79) with kodi master results in an "Unsupported Kodi version" error message.

It looks a lot like the version parser implemented in #561 can't cope with dashes in the version string:

2024-09-20 15:53:37.360 T:1884    error <general>: [script.module.inputstreamhelper] Version string 22.0-ALPHA1 can't be interpreted! Contains non-numerics.
2024-09-20 15:53:37.360 T:1884  critical <general>: [script.module.inputstreamhelper] Unsupported Kodi version for Widevine: 22.0-ALPHA1

Full kodi debug log is here: https://paste.libreelec.tv/divine-sheepdog.log

emilsvennesson commented 2 months ago

Can you test if https://github.com/emilsvennesson/script.module.inputstreamhelper/pull/571 solves it?

emilsvennesson commented 2 months ago

Fixed on 0.7.0.