artemanufrij / playmyvideos

An elementary OS app
http://anufrij.org/cinema
26 stars 18 forks source link

Chromecast support #17

Open junocomp opened 6 years ago

junocomp commented 6 years ago

First of all - Loving the app, good work!

I don't know how easy or hard this is to implement, but it would be really cool if we could have chromecast support.

artemanufrij commented 6 years ago

I don't have one to test it. And I guess an official API doesn't exists. :man_shrugging:

kvdz commented 6 years ago

Use either DIAL protocol (old) preferably mDNS. Libavahi has mDNS resolve in it. to be able to cast to a chrome cast.

https://en.wikipedia.org/wiki/Multicast_DNS https://en.wikipedia.org/wiki/Avahi_(software) https://valadoc.org/avahi-gobject/index.htm

if you want i can test it i have several chrome casts as smart tv's which support cast directly