Writing my own Jellyfin Music Client

I’ve learned about Jellyfin about a year ago from the LinusTechTips video. I immediately tried it out on my NAS as I had been looking for a free Plex alternative for a long time. (I need none of their networking magic sauce since I have a public IP to host my own public facing service)

From the start, I’ve noticed that Music isn’t really a first class citizen in Jellyfin. Here are a non exhaustive list of issues I’ve hit with music on Jellyfin:

  • ALAC Audio won’t play in non-safari browsers on macOS
  • FLAC might break in Chromium based browsers or Firefox if the source file is malformed in certain ways
  • Vorbis sounds broken on iOS and in Safari
  • Default web client cannot handle albums with more than 300 tracks (Straw that broke my camel’s back)

Because of this, I’ve decided to write my own Jellyfin client.

Project scope:
I will be focusing on making a desktop app for playing Jellyfin music. I have never written any complicated applications with multiple pages so I wouldn’t want to make that huge step into mobile just yet. (I do plan on doing so in the future but that will be a separate project)
I would like to support Windows, macOS and Linux, as I personally use all 3.

Current Game Plan:
I plan to use Python for development as that is what I am most familiar with. Specifically, I plan to use Python 3.12 as it is the current latest version, allowing me to use all the latest and greatest features.
For the GUI, I plan to use NiceGUI as it seems like a good way to make a GUI that is cross platform. (I had previously encountered issues trying to use PyQt6 on Raspberry Pi)
For the playback engine, I plan to use libMPV because of its support for a wide range of media formats.

What I am lacking right now:

  • Actually starting to write the program
  • A cool name for the app (suggestions are welcome)
  • A way to interface with system media controls (research on how to do that in python came back basically empty)
4 Likes

A few days in and I’m regretting my choice of GUI framework. While it is simple to write, it lacks native support for the routing related features that single page apps often need. There is an open draft PR for that but that’s about it.

I don’t think it would be realistic for me to patch and maintain a framework for a single app so I am switching my approach to how I am going to architect the App.

Currently, I plan to write the interface in either Vue or React, then host a lightweight web server on the program side to handle interfacing with it.

For possible names, the unspoken word is to make it jellyfin themed.

For example, there is another 3rd party music client called FinAmp.

For what it’s worth, how about Navidrome? GitHub - navidrome/navidrome: 🎧☁️ Modern Music Server and Streamer compatible with Subsonic/Airsonic