Change the contents of a M3U8 file (need decode URLs for segments) before the parsing stage and subsequent loading of segments #6645
-
DescriptionPlease tell me if a plugin can change the contents of a M3U8 file (need decode URLs for segments) before the parsing stage and subsequent loading of segments? Problem: There is a site that uses its custom M3U8 extension (#EXT-X-MOUFLON) and therefore the URL to the segments must be decoded to download the segment. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Create a new plugin (which you can side-load, otherwise you'll have to fork and re-build), subclass the However, none of these APIs are public, which means none of them are considered stable, so anything might change at any time. You'll have to figure this out on your own though. Good luck. |
Beta Was this translation helpful? Give feedback.
Create a new plugin (which you can side-load, otherwise you'll have to fork and re-build), subclass the
M3U8ParserandHLSStreamclasses, extend yourM3U8Parsersubclass with the necessary tag-parsing logic and set the__parser__classvar on yourHLSStreamsubclass accordingly. See the Twitch plugin for reference.However, none of these APIs are public, which means none of them are considered stable, so anything might change at any time.
You'll have to figure this out on your own though. Good luck.