this post was submitted on 19 Aug 2024
11 points (100.0% liked)

Jellyfin: The Free Software Media System

5720 readers
10 users here now

Current stable release: 10.10.0

Community Standards

Website

Forum

GitHub

Documentation

Feature Requests

Matrix (General Information & Help)

Matrix (Announcements)

Matrix (General Development)

Matrix (Off-Topic) - Come get to know the team and blow off steam!

Matrix Space - List of all the available rooms on Matrix.

Discord - Bridged to our Matrix rooms

founded 4 years ago
MODERATORS
 

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.

top 21 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 2 months ago (1 children)

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.

[–] [email protected] 3 points 2 months ago

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.

[–] [email protected] 3 points 2 months ago

@Jimmycrackcrack

Android app not have the Chromecast icon like this?

[–] [email protected] 3 points 2 months ago* (last edited 2 months ago) (2 children)

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.

[–] [email protected] 1 points 2 months ago (1 children)

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

[–] [email protected] 1 points 2 months ago (1 children)

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.

[–] [email protected] 1 points 2 months ago

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-"

[–] [email protected] 0 points 2 months ago* (last edited 2 months ago) (1 children)

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

[–] [email protected] 0 points 2 months ago (1 children)

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.

[–] [email protected] 1 points 2 months ago

Mine works, no reverse proxy needed

[–] [email protected] 2 points 2 months ago (1 children)

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?

[–] [email protected] 3 points 2 months ago (1 children)

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.

[–] [email protected] 1 points 2 months ago

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.

[–] [email protected] 1 points 2 months ago (1 children)

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

[–] [email protected] 1 points 2 months ago (1 children)

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.

[–] [email protected] 1 points 2 months ago (1 children)
[–] [email protected] 1 points 2 months ago

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.

[–] [email protected] -1 points 2 months ago (1 children)

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

[–] [email protected] 2 points 2 months ago (2 children)

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

[–] [email protected] 1 points 2 months ago

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

[–] [email protected] 1 points 2 months ago

You might be able to install Lineage OS on it