An open API service indexing awesome lists of open source software.

https://github.com/Eskander/kodi-mpv-hook

Parse Kodi streaming URLs with 'protocol options' when using MPV as an External Player.
https://github.com/Eskander/kodi-mpv-hook

kodi lua mpv mpv-script

Last synced: 6 months ago
JSON representation

Parse Kodi streaming URLs with 'protocol options' when using MPV as an External Player.

Awesome Lists containing this project

README

          

# **kodi-mpv-hook**

[mpv](https://mpv.io/) is an excellent choice as an [External Player](https://kodi.wiki/view/External_players) for [Kodi](https://kodi.tv/), combining Kodi’s content management with mpv’s advanced playback features. However, when using streaming add-ons, this setup can break because Kodi embeds **protocol options** into its URLs using a [custom format](https://kodi.wiki/view/HTTP).

This mpv script resolves that issue by parsing Kodi's streaming URLs and extracting the necessary options so that mpv can handle them correctly.

### **Implemented Features**
- [x] **URL** extraction
- [x] **User-Agent** support
- [x] **Referer** handling
- [x] **Origin** header parsing

### **To-Do**
- [ ] Support for **Cookies**