mpv icon indicating copy to clipboard operation
mpv copied to clipboard

mplv play encrypted channels from m3u playlist

Open dbojan opened this issue 1 month ago • 1 comments

Expected behavior of the wanted feature

-playing encrypted channels, m3u looks like this, single key:


#EXTINF:-1 tvg-logo="", name1
#EXTVLCOPT:http-user-agent=Android
#KODIPROP:inputstreamaddon=inputstream.adaptive
#KODIPROP:inputstream.adaptive.manifest_type=dash
#KODIPROP:inputstream.adaptive.license_type=clearkey
#KODIPROP:inputstream.adaptive.license_key=a18b6aa739be4c0b114605fcfb5d6b68:b41c3a6f7511b2e3a828d9580124c89d
https://.../index.mpd

or with multple keys, 3 or 5 keys

#EXTINF:-1 tvg-logo="", name2
#EXTVLCOPT:http-user-agent=Android
#KODIPROP:inputstreamaddon=inputstream.adaptive
#KODIPROP:inputstream.adaptive.manifest_type=dash
#KODIPROP:inputstream.adaptive.license_type=clearkey
#KODIPROP:inputstream.adaptive.license_key={15965a6dbafd12c4af6aca127b271d5b:23dd40b93306de23ec667fb17a61f322,3decf356cc9351019fb1b627b089446d:4f7e516d3253d964e55b5c36f7f65d4a,511e929c12e0596bab59b11452de49a8:6f17d11eb6e069f4165bf48b425f9ea3}
https://.../index.mpd

there is also this, but not widespread, so it is lower priority, I guess

#EXTINF:-1 ,name3
#EXTVLCOPT:http-user-agent=Android
#KODIPROP:inputstream.adaptive.license_type=com.widevine.alpha
#KODIPROP:inputstream.adaptive.license_key=https://....?drm-type=widevine
https://something....

I believe shaka player (open source) can play these

Numbers are changed obviously

Thanks

Alternative behavior of the wanted feature

No response

Log File

No response

Sample Files

No response

dbojan avatar Nov 21 '25 12:11 dbojan

You probably could write a script, download playlist, parse keys and set properties in mpv for them. I don't think we want to support KODIPROP directly in mpv.

kasper93 avatar Nov 21 '25 17:11 kasper93