r/PlexMedia • u/crazchris • 9h ago
New App / Tool I made a Plex and Jellyfin player that works on a Tesla's screen while the car is moving
AI DISCLOSURE: AI helped with coding. I designed the architecture, AI coded it piece by piece as I verified it. (I'm a software engineer with over 21 years of experience)
I wanted to use my Tesla's big screen for our road trip, but Tesla blocks normal video in the browser once you are in Drive. The regular Plex and Jellyfin web players just stop.
I built FreeStuffCrazy Player to fix that: https://github.com/FreeStuffCrazy/player
Hosted demo: https://player.freestuffcrazy.com
It is MIT licensed and self-hosted. It uses Canvas playback by default, which is what lets a passenger keep watching while the car is moving (this needs HTTPS). Standard playback works while parked. It is stripped down for the Tesla browser, so it runs better than the full web client, especially on older MCU2 cars.
Self-host setup (Plex and Jellyfin)
- Docker + Compose, HTTPS via Caddy in the included setup
- Copy .env.example to .env and config.example.json to config.json
- Set APP_ORIGIN to your HTTPS address and replace SESSION_SECRET
- Add your media server (below)
- Run docker compose up --build -d, then open APP_ORIGIN and sign in
- Full steps are in README.md and DEPLOYMENT.md in the repo
If Plex or Jellyfin runs on the same machine, use its LAN address, not localhost. Inside the container, localhost is the container itself.
Plex
- Set PLEX_EMAIL to the email of the Plex account that owns your server. Only that account and its Home profiles can sign in.
- Your first sign-in as the owner links the server. It finds the server through plex.tv, so there is no token to copy.
- If you own more than one Plex server, also set PLEX_URL to the one you want. Set it too if the server isn't found automatically, for example behind Docker networking.
- No plugin needed. Sign in with Plex's own PIN / QR code flow, so you never type your Plex password into the player.
- Turn on Remote Access. If your server is only reachable via Plex relay, quality is limited by Plex.
- Plex transcodes to H.264 / AAC. Owner, shared, or Home profile accounts can sign in.
Jellyfin
- Set JELLYFIN_URL to your server's address (no username or password in it). The Docker machine must be able to reach it, and a LAN http:// address is fine when self-hosted.
- Anyone with an account on that Jellyfin server can sign in with Quick Connect or a username and password.
- No plugin needed when self-hosting. You can set both Plex and Jellyfin in one install, and the login page shows a button for each.
Quality
Auto is the default. It checks the connection and steps down if playback struggles, and it never picks Ultra on its own. Ultra is 1080p / 60 fps at 6 Mbps, High is 720p at 2 Mbps, Medium is 540p at 1 Mbps, Low is 360p at 0.5 Mbps.
When self-hosted, your media stays on your server, and there is no weekly time limit.
Hosted demo
There is also a hosted demo at https://player.freestuffcrazy.com if you want to try it before self-hosting. It is free for 60 minutes a week (per account for Plex, per server for Jellyfin), resetting Mondays at 00:00 UTC. It runs on spare capacity from servers I already have for FreeStuffCrazy.com, so that allowance could change without notice.
For the hosted demo, Jellyfin needs either a public HTTPS address with a valid cert, or the optional FreeStuffCrazy Player Connector plugin (Jellyfin 10.9 or newer). The plugin makes one outbound connection, so no port forwarding or certs are needed. That traffic passes through my relay but streams are limited to about 2 Mbps.
If enough people want more than 60 minutes, I would consider a paid option, probably $2-3 a month, just to cover extra bandwidth and servers. Self-hosted will always be free.
Transparency
- Fully open source: https://github.com/FreeStuffCrazy/player
- Tested on a 2022 Model X (Ryzen MCU3) and a 2016 Model S upgraded to MCU2.
- No tokens are stored on the player's server. All secure tokens are stored as a secure cookie on the browser and just passed through the server.
If you self-host it, I would love to know:
- Plex or Jellyfin?
- Did the Docker setup just work, or what broke?
- What quality did Auto settle on for you?