sommerfeld on Nostr: I managed to turn my kodi box into a DYI chromecast by autoretrieving the m3u8 stream ...
I managed to turn my kodi box into a DYI chromecast by autoretrieving the m3u8 stream URL from any website and using kodi's jsonrpc interface to play it.
A simple bash script using curl can do this. I even managed to perfect the UX when casting on android by calling a script from termux. That script can be set as launcher shortcut so it's literally 1-click to cast to kodi.
Published at
2023-10-04 01:45:14Event JSON
{
"id": "511847cee185c7a87e9048ef4d47ca106c63e4a28552080c5d5b79145b36526e",
"pubkey": "d0debf9fb12def81f43d7c69429bb784812ac1e4d2d53a202db6aac7ea4b466c",
"created_at": 1696383914,
"kind": 1,
"tags": [],
"content": "I managed to turn my kodi box into a DYI chromecast by autoretrieving the m3u8 stream URL from any website and using kodi's jsonrpc interface to play it.\n\nA simple bash script using curl can do this. I even managed to perfect the UX when casting on android by calling a script from termux. That script can be set as launcher shortcut so it's literally 1-click to cast to kodi.",
"sig": "b6b91737c2759c1c228c9aa13740f9523134f821563c6577d3dbcc4c093b7d31b07f789489cbbcec1c560f249fbbf0fe242676aeafc048494ad7381d4c2c28a6"
}