this post was submitted on 27 Apr 2025
98 points (97.1% liked)

Selfhosted

46376 readers
1353 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 2 years ago
MODERATORS
 

Hello everyone,

Over the past few years, I've tried various music player solutions, but none of them met my specific needs. So, I decided to create my own music player with the following key features:

  • Access to my entire music library remotely
  • A directory structure view, rather than just Album/Artist/Genre views
  • Transcoding while streaming to minimize mobile data usage
  • Syncing parts of my library for offline usage

My previous attempts at finding a solution involved manually copying files from my server to my phone and playing them with a local player, or using Polaris with a manually transcoded version of my library. However, these methods were cumbersome, especially when I wanted to add new music.

I require a directory listing for several reasons:

  • My library is too large to be manageable with a flat Artist/Album listing
  • Some of my music is too niche to be properly indexed by current databases
  • Many of my albums and songs have inconsistent metadata, with artist names spelled differently each time
  • I've grown accustomed to my specific folder structure, which makes it easier for me to find specific songs

My friend and I have been using the app for the past two weeks, and I've addressed the most obvious UI issues and performance problems. The app seems to work well on both desktop and mobile devices.

There are still some features in the pipeline, such as displaying song metadata (e.g., embedded covers, ID3v2 title tags), filtering files by name, and possibly even video support. However, getting transcoding to work smoothly for video will be a significant challenge.

I'd appreciate any feedback on bugs you encounter, simple missing features (keeping in mind that I aim to maintain a low complexity for ease of maintenance), and code improvement suggestions, especially if you're familiar with SolidJS, as this is my first major project using the framework.

P.S: This was also my first project actively using LLMs for coding, big shoutout to DeepSeek-V3-0324 for generally understanding what I want and giving concise solutions, even when it doesn't always work, and big anti-shoutout to Gemini-2.5-pro, who insists on copy pasting my whole files in the output for even single line changes and always tries to rewrite every line of code in my repo even after explicitly instructing it not to.

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

Interesting idea, but I feel anyone who wants this already has the tools available.
Personally, I use Syncthing to synchronize a Media folder across my desktops, phones and tablets.
Media/Music contains my active music collection, mostly ogg conversions of the source flac files. I use .m3u/.m3u8 files as good old playlists, saved to the Media/Music root folder with relative paths. This allows players like AIMP on windows to play/edit those playlists, and players like GoneMAD on Android to play them without any kind of active internet connection.
There's also Media/Audiobooks, Media/Comics, Media/Movies, etc... Yes, they're subsets of the full collections on my NAS, but I've never seen that as a disadvantage.

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

off topic, but out of curiosity - why ogg (presumably vorbis) in favor of opus? maybe old devices or players, or just haven't made the change yet?

opus is also a xiph project, and is almost entirely transparent at "128kbps" (it's a misnomer for the q4 of vorbis), so it uses way less space for the same quality. I warmly recommend giving it a try if you haven't already.

[–] [email protected] 4 points 15 hours ago (1 children)

I love the way this looks! Is that some kind of UI library, or did you design it that way?

I have my music collection in Funkwhale now, which relies on metadata for organizing the library. But I want to check this out anyway -- maybe I'll create a few folders for specific listening cases.

[–] [email protected] 3 points 11 hours ago

Thank you! Completely hand-written CSS, no UI library of any kind used

[–] [email protected] 5 points 18 hours ago

Looks neat, but Navidrome+Tempo have been working great for me.

[–] [email protected] 2 points 16 hours ago

someone should make a self hosted google play music clone

[–] [email protected] 0 points 23 hours ago* (last edited 22 hours ago) (2 children)

Have you tried Plexamp? It supports all the features in your list. You need a Plex Pass for most of its features though.

I'm not mentioning it to suggest your project is bad or to discourage you; I'm mentioning it since it might give you some inspiration for features to implement in your one :)

[–] [email protected] 5 points 15 hours ago (1 children)

https://github.com/jmshrv/finamp

Jellyfin equivalent which doesn’t require a subscription for your own media library.

[–] [email protected] 2 points 14 hours ago* (last edited 13 hours ago)

It was missing a bunch of features last time I tried it - no crossfades, no automatic playlists (for things like liked songs, decades, etc), no artist radio (play an artist plus similar artists), no way to play sonically similar songs (based on server-side analysis), no loudness leveling, no Android Auto. Maybe it's improved now - I'll have to give it another shot.

Unfortunately I'm not sure I know enough about audio processing and similarity analysis to be able to implement those features myself.

[–] [email protected] 15 points 23 hours ago (1 children)

Plexamp seems to be closed source and also paid? In that case that's definitely not an option for me, but at least nice to know that something like this actually exists.

I'll try to look at the screenshots to glean something useful to copy, but I'm already doing that with other projects anyway.

Thanks for the mention though! I did hear about Plex but not Plexamp yet

[–] [email protected] 6 points 23 hours ago

Yeah, unfortunately it's closed-source. It's a good app though! If you build something similar that's fully open source, with an Android app and Android Auto support, then I'd definitely be interested in trying it.