findroid icon indicating copy to clipboard operation
findroid copied to clipboard

Start of chromecast support

Open rhysmdnz opened this issue 2 years ago • 8 comments

Added some basic chromecast support.

It's very hacky at the moment. But the basic functionality of playing something and controlling the playback is there.

It currently uses a forked version of the new unreleased jellyfin chromecast receiver app on the chromecast side. This is because the newer receiver app uses the standard google playback controls which makes it easier to implement than building everything from scratch for the custom jellyfin control protocol. Or writing a new receiver from scratch.

rhysmdnz avatar Aug 08 '22 02:08 rhysmdnz

Nice!

But there is a problem: I still plan on publishing the app to F-Droid which prohibits the use of proprietary gms libraries. And the cast library is part of gms...

The way the official Jellyfin app solves this is by creating two separate builds, one with proprietary libraries (for the Google Play Store) and one without (for F-Droid). I think it would require a lot of work to refactor the app into two builds which is why I haven't implemented casting support yet.

jarnedemeulemeester avatar Aug 09 '22 09:08 jarnedemeulemeester

Can I suggest an alternative? Maybe a companion app / plugin with just chromecast support... so that if main findroid app detects it, an intent can be called so that this companion app will actually cast the media? Im asuming that in the end the media is a (semi) public url... I dont have the skils to do this, but it may solve the problem with foss...

hkfuertes avatar Feb 16 '23 08:02 hkfuertes

Is there any news regarding this issue?

henriquelucas avatar May 17 '23 13:05 henriquelucas

Is there any news regarding this issue?

I like to know as well

gerba102 avatar Jun 25 '23 17:06 gerba102

I understand the problem with F-droid, but many who use the app experience this difficulty. Thank you so much for creating this wonderful app.

More would like to see this functionality available in Findroid

henriquelucas avatar Jun 28 '23 20:06 henriquelucas

I still plan on publishing the app to F-Droid which prohibits the use of proprietary gms libraries. And the cast library is part of gms...

The way the official Jellyfin app solves this is by creating two separate builds, one with proprietary libraries (for the Google Play Store) and one without (for F-Droid). I think it would require a lot of work to refactor the app into two builds which is why I haven't implemented casting support yet.

Has anyone looked into how VLC player's F-Droid build is able to interact with Chromecast? I assume the fact that it works means that they figured out a way to include a libre chromecast stack. Maybe Findroid could use it?

herbsmn avatar Jul 07 '23 15:07 herbsmn

Hopefully this can be solved as I agree it's very important. Being able to cast downloaded videos would be amazing when playback is being a bit finicky

damomato avatar Jul 09 '23 22:07 damomato

For those whom want to use this on Chromecast, maybe KODI with Jellyfin integration is the best solution so far. Or if you have a powerful server, the Jellyfin app is also a choice to use your server to decoding. Both apps could be downloaded from play store.

chenweiask avatar Jul 29 '23 08:07 chenweiask