How do you cast content to chromecast with Jellyfin?
from Jimmycrackcrack@lemmy.ml to jellyfin@lemmy.ml on 19 Aug 2024 08:23
https://lemmy.ml/post/19325221

Excuse the basic questions but I’m not having much luck web searching for answers. I have the server running on my laptop which is also where the content itself if and I have an android phone with the mobile client installed via f-droid.

I can’t seem to cast to chromecast with Jellyfin from either the laptop itself, or the android client app. The client app lists streaming to chromecast specifically as one of it’s features in the description on f-droid.

#jellyfin

threaded - newest

gerg@hachyderm.io on 19 Aug 2024 08:41 next collapse

@Jimmycrackcrack

Android app not have the Chromecast icon like this?

otter@lemmy.ca on 19 Aug 2024 08:51 next collapse

I can’t test right now, but I do see a cast button on both the app and the web interface. Can you cast normally from other apps?

Jimmycrackcrack@lemmy.ml on 19 Aug 2024 09:03 collapse

hmm okay, it almost sort of works with desktop web ui. There is the familiar square with radio waves in the lower left corner icon, when controlling jellyfin from my laptop, but it said Google casting not supported, however I realised now it was because I was using firefox, and using Chrome for this purpose does reveal the theoretical ability to cast to chrome. Unfortunately if you do this, it takes a very long time to begin casting and when it finally does, it simply displays the words Jellyfin for Chromecast but not any media. Trying to start or stop any kind of media doesn’t not work until I disconnect from the chromecast.

On the app, there is simply no ability to use the chromecast from the casting menu. Does it matter that I got it from f-droid? I thought it might, but it specifically said you could cast the chromecast there so I thought it’d be fine after all.

AbidanYre@lemmy.world on 19 Aug 2024 11:32 collapse

Try connecting to jellyfin’s IP address instead of the hostname. Google forces the Chromecast to use their own DNS that doesn’t know how to find your jf instance. I saw that exact same behavior when I was connecting to jellyfin.domain, it works when I connect to 192.168… though.

fernandu00@lemmy.ml on 19 Aug 2024 09:26 next collapse

Are you using a custom ROM? I couldn’t cast anything after installing lineage with microg on my phone. Maybe it’s something related to google services.

Jimmycrackcrack@lemmy.ml on 19 Aug 2024 09:39 collapse

Yeh it looks like you need the play store version. I think they just copied their description of the app there on to f-droid or something. It seems like based on some older forum posts that you can do without play store as I’ve seen people talking about reverse proxies and nginx servers but I really didn’t want to be going to all that trouble.

Diplomjodler3@lemmy.world on 19 Aug 2024 10:14 next collapse

You can simply install the Jellyfin app on the Chromecast. Then you can operate it with the remote without using your phone.

Jimmycrackcrack@lemmy.ml on 19 Aug 2024 10:42 collapse

It’s a chromecast 1, from 2014, can you install apps on those?

Diplomjodler3@lemmy.world on 19 Aug 2024 11:05 next collapse

I don’t know. I have the most recent one. But I’d guess probably not.

possiblylinux127@lemmy.zip on 19 Aug 2024 12:58 collapse

You might be able to install Lineage OS on it

besstiolle@lemmy.world on 19 Aug 2024 11:01 next collapse

OK, i know how to. But it’s a difficult one as english is not my first language.

Chromecast has some internal security. One of them require to have a valid HTTPS certificat on the website (your self hosted jellyfin instance) plus be able to resolving the DNS of the website (your self …) through the DNS on Google.

Have fun…

The solution is to buy a domain, customizing the DNS to your internal ip (192.168.x.y). AND using a revers proxy like traefik to setup a certificat with let’s encrypt.

It’s hard but i made it so you will be able to do it too.

Edit : for more precision, i’m speaking about a situation meet and resolved few months ago.

I can’t make any assumptions about the situation today with the latest dev in the jellyfin app, let alone with the possible differences between the google play version and fdroid.

Appoxo@lemmy.dbzer0.com on 19 Aug 2024 11:29 next collapse

Weird. I believe I can cast to mine while only accessing it through http and without my external domain.

besstiolle@lemmy.world on 19 Aug 2024 13:32 collapse

Maybe not the same version of chromcast ? I can assure you that i spent a lot of time and effort to make it works and this solution wasn’t invented by me. 😆

So, basically, the problem exist and this is a solution.

Appoxo@lemmy.dbzer0.com on 19 Aug 2024 21:32 collapse

I juat tried casting from my phone (Android 14) to my Chromecast with GoogleTV.
Though my jellyfin has a public facing domain, it’s hidden behind a proxy. ATM I only use http internally without whitelisting.
So I am fairly certain I am casting from a http source for whatever reason.
And I can assure you my chromecast is reported as a casted device. Jellyfin reports this string on the connected client page: “Google Cast Chromecast 3.0.0-<a long string of numbers>”

ryannathans@aussie.zone on 19 Aug 2024 11:53 collapse

You don’t need a reverse proxy, jellyfin server supports https

besstiolle@lemmy.world on 19 Aug 2024 13:33 collapse

Please read me again. The problem is not the jellyfin server 😉

As a said to another user : I can assure you that i spent a lot of time and effort to make it works and this solution wasn’t invented by me. 😆

So, basically, the problem exist and this is a solution.

ryannathans@aussie.zone on 19 Aug 2024 22:17 collapse

Mine works, no reverse proxy needed

kvadd@lemmy.world on 19 Aug 2024 16:51 collapse

So I actually had this exact issue about a month ago.

Solution: You have to connect to chromecast through your phone app. However, the jellyfin app have to be installed through play store. If you install it through f-droid or similar it won’t work.

Took me about a month of troubleshooting to find that answer. :D

Jimmycrackcrack@lemmy.ml on 20 Aug 2024 02:56 collapse

yep figured out the same thing in the end. Not quite sure why I can’t do it from the desktop, it’s obviously supposed to work, and nearly did given the text on my TV screen. I think with enough finagling one could get there, but if it works with the phone which is always on me anyway then whatever.

Limeade3425@lemmy.one on 23 Aug 2024 21:12 collapse

Firefox user?

Jimmycrackcrack@lemmy.ml on 24 Aug 2024 02:23 collapse

Not in this particular scenario, used Chrome specifically to to cast from jellyfin. The option is there but it didn’t work. I think it might actually work if I tried a few more times because I noticed it seems temperamental like that, but that’s not really any good because I don’t want to be asking nicely for casting and maybe getting it if it feels like it. I’ve also noticed that with jellyfin, if the source media is decent quality to begin with, it casts at much poorer quality than with emby and takes longer to eventually end up screen. Sounds like a transcoding problem but I wish I knew why exactly because the horsepower is there and it’s handled with aplomb in emby. It works okay with the android app on the live tv function which is mostly SD anyway but it craps out after about every 10 minutes of watching.