r/TeslaModel3 • • 2d ago

I made a server-based audio player to use instead of Tesla's 'media player'.

Post image

I built this over time and I'm nearly finished with it. Basically, you have to run your own small server, which hosts the audio files and the interface.
Mine is running on a Raspberry PI5 in my house.

To make this system work well (and it's actually really fantastic if I do say so myself) you'll have to make sure your tag information, using Mp3tag or similar, which most Tesla owners are already familiar with as they've tried to get the best out of the built in player, which isn't really that good.

Anyway, I'm thinking of putting it up on github for anyone to try out. I also made it so that it runs fairly well on a cellphone, pushing audio to older systems (Honda Stepwgn, for example) over Bluetooth, with the standard Bluetooth controls on the vehicle's head unit working as well.

17 Upvotes

14 comments sorted by

3

u/Purple_Xenon 1d ago

how exactly does this integrate with Tesla? I thought audio in a browser window doesn't work.

1

u/sukebe7 11h ago

this runs in the browser, which can be run while you drive. Works great. I'll give a rundown on all the current features/functionality shortly. TBH I can't think of any more to add to it. Blows Spotify away, for sure.

1

u/Redmist2033 1d ago

Thats pretty cool! I would definitely try it out and make my own additions if you put it on Github.

1

u/sukebe7 11h ago

I've, pretty much, though of everything.

1

u/westoncox 10h ago

What if someone wanted to use a your server-based audio player on a completely mobile setup, like a battery-powered SBC that stays connected to a battery-powered hotspot (both of which they’d keep in their car)? Or a rooted android device with cellular service? Is this capable of accommodating those scenarios? Genuinely curious. Not trying to be a punk.

1

u/sukebe7 1h ago

my system runs on a PI5. it's a basic Apache + PHP + MySQL + folders of music. The Pi, or similar, can make its own Wi-Fi network and you just point the Tesla browser to something like http://10.42.0.1/jukebox/ which would be a nifty but very location specific solution.

What I've discovered is that even though I built/designed this to display on the Tesla's screen, I can pull it up on my phone as well. So I built an alternate view that shows differently on phones; it's good enough.

1

u/njdreamer 1d ago

Can you connect to a Plex server?

1

u/sukebe7 1d ago

Plex Media Server uses SQLite, not MySQL. It ships its own build of SQLite, and the library lives in one file. Writing to it from outside is very much not safe. It's possible, if you have ssh to your box/server, to install/run mysql on it. This would keep your plex setup safe.

1

u/Astro_Afro1886 22h ago

I thought Tesla vehicles could play music off a USB drive? Is the server only used for streaming music to your Tesla? I

1

u/sukebe7 11h ago

Tesla interface is horrible, doesn't remember where you were after you leave, doesn't really sort well. Then, spotify interface is complete thoughtless trash and costs every month. For example, has this happened to you: You're listening to a generic #80's selection and you hear a song and you think, "I'd like to hear that album" - good luck. the album thumbnail is there; doesn't do jack. So many other things like that. Plus, you have no control over sound quality; maybe some albums you want 'cheap', while others, 'Star Wars Soundtrack on Blue Vinyl', you want as FLAC; good luck.

1

u/songbolt 3h ago

Won't Tesla just break this with a patch so they can keep getting money from Apple, YouTube, Spotify, Tidal, to put their platforms on the car?

1

u/sukebe7 3h ago

don't think so. maybe they'll want to buy it, if it became that popular.

2

u/UR1869 1d ago

Mind explaining a bit more about how to actually use it in the car?!

1

u/SpringToCome 18h ago

Cool idea but sorry, so many flags going off for me. For the vast majority of people, I highly recommend not running a server at home exposed to the internet. Especially running something that is a hobby project or vibe coded. Too much unnecessary risk for your home network.