I had a use case with a m3u8 file using the following format to specify an external license_key for KODI:
#KODIPROP:inputstream.adaptive.license_key=https://example.com/license.php?id=example
The current implementation uses
const [key, value] = trackInformation.split('=');
in order to get the key, value pair.
In this example the parsed data would be value = https://example.com/license.php?id, removing everything after the second '='.
The current pull request fixes this issue, and the corresponding test has also been updated.
I had a use case with a m3u8 file using the following format to specify an external license_key for KODI:
#KODIPROP:inputstream.adaptive.license_key=https://example.com/license.php?id=example
The current implementation uses
const [key, value] = trackInformation.split('=');
in order to get the key, value pair.In this example the parsed data would be
value = https://example.com/license.php?id
, removing everything after the second '='.The current pull request fixes this issue, and the corresponding test has also been updated.