How to Chromecast?

Added by Gabs Man over 6 years ago

I have a Chromecast 2. I also have a Media server running OpenMediaVault and TVHeadEnd with a dual tuner. I think it's great, works really well I have been using TVHClient on my phone, Kodi, Plex and the web interface.

I can watch Live TV or Recordings via Kodi no problem, and the Guide looks really good in Kodi too; but alas, there's no way to cast it to my TV from Kodi.

I have also set up channels in Plex for TVHeadEnd. I can view the Live TV adn also Recordings, although the Recordings won't play in the browser with Plex. I have worked out with a Movie library I can play the Recordings though. Unfortunately, although they play in the browser, Chromecast just wont play it properly, not sure if it's transcoding settings or what, it either say s Cannot play video or shows half the picture blurry. Similary using the Plex app on my phone.

With teh TVHClient it uses an external player. But when I go to the external player, it won't allow Chromecst; not sure if that's being limited by the app or TVH?

So has anyone got this working? If so, how do you do it? It's really frustrated as I just want to be able to watch TV recording on my TV, not just on my phone and tablet :(


Replies (52)

RE: How to Chromecast? - Added by Flole Systems almost 2 years ago

If you haven't already done so you should report that issue to the developer so it can get fixed ;)

RE: How to Chromecast? - Added by David G almost 2 years ago

David G wrote:

Last week I needed to build another SD card for my RPI/TVH EPG setup and everything worked again until I got to Chromecast, which would not find any device and produced an error as attached. Luckily I had a backup of my old card so I copied over the original pychromecast directory and it started to work again, ie, find my Chromecast device without any errors. By swapping between the two pychromecast directories I now have, I've determined that the latest version available from repo produces this error.

Thanks to support from emontnemery (pychromecast github) the problem & fix below has been determined;

Updating to the latest version of pychromecast +7.x.x, prevents thv_epg from finding Chromecast devices. To fix this the code change below is needed in tvh_epg;

FROM- chromecasts = pychromecast.get_chromecasts()

        chromecasts = pychromecast.get_chromecasts()
        if isinstance(chromecasts , tuple):
            chromecasts, browser = chromecasts