DLNA/UPNP content browsing

Hi,

I there any away to browse the contents of DLNA/UPNP devices and choose what to play in a media_player?

Sorry to reference a competitive solution, but homegenie has a component to do that http://www.homegenie.it/docs/upnp.php. I’m asking, if it is possible to do the same with Home-assistant.

Thanks.

1 Like

This would be perfect to automatically start newly added tv shows via a automation rule

Not possible.

Moving this topic to feature requests.

Is it possible to have an iframe with a webpage for the media_player web UI? This way, you could integrate already made web UI for that media_player in a home-assistant card.

@vswraith,
Regarding automatic start the tv show in an automation rule. If you are using Kodi and the newly added tv shows are in a specific playlist, you might use the shell_command component to call a script with the following code:

curl -s --data-binary ‘{“jsonrpc”:“2.0”,“id”:“1”,“method”:“Player.Open”,“params”:{“item”:{“playlistid”:ID_OF_THE_PLAYLIST}}}’ -H ‘content-type: application/json;’ http://KODI_IP:8080/jsonrpc

Thanks.

Rgds.

It is ok.

It works I guess, but there’s absolutely no documentation whatsoever