this post was submitted on 12 Aug 2024
102 points (85.4% liked)

Selfhosted

40359 readers
381 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

The toddler loves having Kodi full of all their faves but I haven’t been able to iron out all the buffering I’m getting streaming from my mini-pc NFS mounted shares to the pi4 libreelec hooked up via Ethernet in the living room. Everything is wired, so I wouldn’t think that would be an issue but here I am about to put down a couple hundred dollars for a Synology router that looks like the monolith from 2001. Is this going to do the trick, you think? Is there another router recommended to keep a distributed little homelab (any 10tb spread between various usb hdd, raspberry pi’s and mini PCs all hosting a variety of containers and services) running smoothly? Budget I’m hoping to keep under 300 and lower the better but happy toddler and buttery smooth streaming over lan is the priority.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 11 points 3 months ago (6 children)

FWIW I have jellyfin as well already, it’s also on the machine serving the nfs shares. I would expect streaming over lan to always be a lighter load then sending a transcoding request through the internet and back to the machine four feet away, but I could be wrong. I am always curious though what people are using as jellyfin clients for their TVs. How are you actually getting jellyfin into your living room? I had hoped to use a dedicated pi4, and I’ve already gone down the route of trying to boot to a light desktop with an auto loading chrome kiosk window to my jellyfin server, but those results were less than ideal too.

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

Traffic for a local Jellyfin server should definitely not be going over the internet. Also any reasonably modern client should be able to direct play most media without transcoding.

As for my own Jellyfin setup, one TV has an Nvidia shield plugged in and is using the standard Android TV client. The other is a Samsung smart TV onto which I have side-loaded the Jellyfin Tizen app.

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

Using the local address for the jellyfin instance solved things. I have no idea why whatever jellyfin is doing via jellycon is somehow more performant than just streaming via smb or nfs in vanilla kodi but 🤷‍♂️. Good pull.

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

You know once I expose a service to the internet and get a nice easy to remember url I practically forget that I can still access locally. I should check that out.

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

There are a few options there.

As someone else mentioned if you're using IPv6 then it doesn't matter, you're already routing internally even if you're using the public DNS name, no extra work required.

All the rest are for IPv4.

If you're not behind CGNAT some routers/gateways are also smart enough with their routing to recognise when they need to route back to their own external IP and will loop back locally instead of making any hops out to the internet. Again, if this is the case for you then no additional work is required other than perhaps running a traceroute to confirm.

Another option is to add a local DNS entry for the name you're using to resolve to a local IP address instead of your public address. The complexity (or even possibility) of this is going to vary considerably with your setup. If you're running your own local DNS e.g. pihole or similar then it's trivial. This is how mine is set up.

If all your clients are going to be on PCs (or devices you have more than the typical manufacturer allowed modicum of control over) then you can do something kind of like the previous, just with all your local hosts files.

If none of the above are options, then you'll unfortunately have to fall back on using a local name/address, which means a slightly different client setup for devices you use exclusively in your home versus ones you might use elsewhere.

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

If you set up ipv6 on the jellyfin server, you’ll be connected locally to your server because with ipv6 even if you use a domain name, if the server is in your lan it’ll connect locally to it.

[–] [email protected] -1 points 3 months ago* (last edited 3 months ago)

Transcoding reduces bandwidth usage significantly

Also video traffic doesn't pull that much by todays standards

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

I use Chromecast to watch jellyfin on my TV. My host PC is hardwired, and obviously the Chromecast is through WiFi

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

We’re a googleless house as much as possible. I did consider going down the chrome cast route but it’s less than ideal on iOS.

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

I use the Jellyfin for Kodi addon. It's quite easy to set up and it sounds like you pretty much have everything you need already. Not sure if it could fix your issue but it works great for me.

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

Why would your Jellyfin traffic need to go over the Internet if it's on your local network? You should be able to install the Jellyfin app on your smart TV/Roku/etc or use the web client from a computer, point it at the Jellyfin local IP address, and view it over your LAN.

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

And at best reroute the traffic before going outside

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

Yeah, a lot of routers support custom DNS routes, so just set your device to use your router for DNS and set routes to forward traffic to your NAS. Boom, problem solved and you still get to use HTTPS inside your house.

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

There are dedicated Jellyfin clients but I mainly just use the web client that is part of the server 90% of the time.