Live data from Hacker News

Jellyfin as a Spotify alternative

coppolaemilio.com

251–260 of 497 posts

Re: Jellyfin as a Spotify alternative

#251
post #232

Earlier quoted context omitted.

Do you mean daily mix playlists? From the first 20 songs 17 are something which I added to my library, or listen them regularly. The rest of the 3 songs? 2 of them are from artists whom I listen to regularly. 1 clearly new song. I have very similar rate with “daytime mix”. So which one do you mean? “Discover weekly” and ”release radar” have new songs, yeah. But “radios” are like the previously mentioned playlists.

No none of those. Is a special dynamic playlist, starting to wonder if its not a standard playlist everyone has.. sort of like the DJ mix without the annoying voice. https://open.spotify.com/playlist/37i9dQZF1EP6YuccBxUcC1

If I look at mine today (00s indie britpop Thursday early morning) I know pretty much every song and artist on it

Re: Jellyfin as a Spotify alternative

#252

At least in the case of a music player, self-hosting simply isn't good enough for me. I'm not willing to accept a single second of added latency or buffering or downtime because I don't have multimillion dollar server farms. The fact is that the vast majority of us don't have the resources to self-host a Jellyfin instance that can provide near-instantaneous access anywhere in the world to every song ever made at 320k…

> The fact is that the vast majority of us don't have the resources to self-host a Jellyfin instance that can provide near-instantaneous access anywhere in the world to every song ever made at 320kbps.

The fact also is that the vast majority of us don't have a requirement to be able to access our media from anywhere in the world. Most people aren't traveling the world on a regular basis, they stay in one area except for maybe an occasional vacation.

> And of course I never have to worry about managing a library of mp3 files. When an artist I like drops a new album, it'll be on Spotify at 12:00am exactly and work perfectly. This isn't possible with self-hosting.

If that's important to you, then indeed self-hosting will never be able to match it. But for me at least, my music listening has been 95% static since about 20 years ago. On occasion I hear something new that I add to the collection, but for the most part I listen to the same music I did some time ago. Paying $6/mo to Spotify just to listen to the same things I already have in my collection would be a gross waste of money. So for me it's the exact opposite: self hosting is a no-brainer because I simply would not get any value for my $6/mo.

Re: Jellyfin as a Spotify alternative

#253
post #85

Self-hosting stuff is awesome if you have the skills. I have been on a mission for the last 2 years to replace as many subscriptions as possible with self-hosted solutions. The subscriptions really had gotten out of hand, it had gotten to about $200 (AUD) a month. Quick napkin math is that I have cancelled about ~$150 a month worth of subscriptions so far. The $500 office desktop I got for a home server is struggling…

This reflects a lot of what I've been through as well. My subscriptions exploded when AU got a lot of different streaming platforms, and I think when paramount+ came out and took Star Trek off of another one I drew the line. I realised I still owned all the physical media, so time to make backups. Previous to that I moved off Gmail, that was by far the hardest, and still somewhat ongoing after 8+ years. The hardest t…

I've been on this mission but unfortunately also trying to defend my PhD in a month. But I do have a lot more Linux experience. Here's stuff that I think will really help.

yt-dlp: a video downloaded. Originally designed for YouTube but supports a lot of sites. I suggest heavily aliasing this with options like sleep intervals, aria2, and make sure you download the user agent switcher. For YouTube you probably need to import cookies from a browser. But you'll be able to watch the videos without the ads.

Btrfs: it's a file system, like ext4 or ntfs. Has a lot of useful things like being able to create subvolumes, raid, cache drives (or volumes), quotas, snapshots, etc. Think anything that you'd do with zfs but it's been easier to use and it has a copy on write system that helps dedupe. You can also compress the file system! I use duperemover. If it finds dupes it replaces one file with a link (which btrfs natively supports). It'll hash the files so run it early and then set up a job (use a systemd timer)

Tailscale: take your network anywhere. God, tailscale is so fucking useful. You can even put it on a raspberry pi or your phones. It's nice to have it on an old phone which you can throw termux on and have a little server. I've used these to jump to another machine that has had issues where it could connect locally but not outside. You can also set up exit nodes so you can do things like push all your traffic through a vpn, make all your traffic use pihole, or just make it appear like you're somewhere else. You could use this to even make it effectively impossible for streaming services to know you're sharing an account. The data is going through whoever's house pays. If you get fancy you can set up rules to port specific traffic through specific locations but this is still a bit above my head. I just know it's possible. Unfortunately with iPhones you have less control. They can even break out of all this and you don't have full control. I need to get someone to explain more networking to me.

Systemd: it's annoying at first but damn there's so much to it that is helpful. Use systemctl edit to edit your service files. The ones that come with services like jellyfin aren't nearly as locked down as they should be (I intend to push to them in a few months). You should also use systemd mount for your drives. You need a companion automount file but your drives will go offline when not being used. This will really help with reducing energy costs. Be sure to note that there's even configs for you gpus. It also lets you control a systems resources. There's also nspawn and vmspawn. I wish these were a bit more popular because they can do everything docker can and more. Nspawn is a suped up chroot so you can really containerize things and even run different Linux flavors (I've even been play around with running an arm container on my x86 machine). Using machinectl you can enable these as services and even create triggers to spin up or down. There's also importctl so if you create an image (or someone else does) you can just pull that! Which kinda makes it easier than docker in many cases other than the fact that not many people have made images (or publicly available). Docker's big win is popularity but systemd has felt nicer in every other way (documentation sucks). There's so much more to systemd and that's why it's loved and hated. There's a reason it stuck, it just is too damn useful (don't forget to check out homectl too)

Ffmpeg: you probably know this one but it's also worth spending some time to learn it more and write some scripts. If you care more about storage I encode most stuff to av1 with nvenc. It's not archival but honestly I'm often getting 50% storage reductions and I can't tell the difference. Your source file probably wasn't archival grade anyways. Good enough for me. Hevc is also giving me good success.

There's a bunch of other little tools that help. For example, I have my main computer sitting behind my TV. If I'm working on it I'm in it via ssh. Otherwise games and movies are on the TV. I use ydotool as a keyboard and just made a shortcut on my iPhone and a trivial script on my Android so I can push commands that way and use a wireless mouse. There's kconnect but it's been more a hassle than help ime. I did the same for backing up photos on from my phones (they wake the drives first). Android can rsync but for iPhone I can't find a good free solution other than writing the hackiest shortcut you've seen (ssh in, check if file exists, if not then write. You can't rsync, the fucking thing will timeout and despite there being terminal emulators for iPhone you can't access your photos from them. I've found zero ways to link them and I'm upset). Check out things like fail2ban to jail users that do too many logins. You can also use nspawn to containerize these services, spin up and down, and between btrfs, homectl, and pam it is really easy to containerize users. You can mount their volumes on demand and get their accounts syncing across your intranet. It's kinda crazy what you can do.

My goal is to get some images so many of these things can start becoming plug and play. I'm getting close but obviously bigger priorities right now. I'd love help if anyone is interested. I'm not an expert in these domains so I'm sure I'm doing some things wrong but I'm learning a ton

Re: Jellyfin as a Spotify alternative

#254
post #85

Earlier quoted context omitted.

This reflects a lot of what I've been through as well. My subscriptions exploded when AU got a lot of different streaming platforms, and I think when paramount+ came out and took Star Trek off of another one I drew the line. I realised I still owned all the physical media, so time to make backups. Previous to that I moved off Gmail, that was by far the hardest, and still somewhat ongoing after 8+ years. The hardest t…

>The hardest to kick for me now is YouTube Premium.. And in AU it's like $33/month AUD, but I just can't stand ads. Any reason you're not just running network level AdGuard and Firefox with Ublock Origin to block all ads on your home network? Even just FF+UBO would block YouTube ads. The selfhosted subreddit is also a really good resource to use for interesting things to run.

DNS blockers aren't good enough to block all ads. Especially YouTube. Plus, many browsers will ignore DNS without configuration and same for phone apps. While this can be fine for me it's not for everyone else in my family nor guests. And that's before we talk about Apple...

If anyone has a solution I'd love to learn.

Re: Jellyfin as a Spotify alternative

#255

What’s wrong with Spotify?

I got a smartwatch with a cell connection, some good earbuds and started going to the gym, then I learned that their watch app is complete garbage. It refuses to play the music I want, either playing something else or nothing at all. It will play it out loud on my phones speaker in the locker instead of through my earbuds. It refuses to download the playlists I want. It refuses to stream the music.

None of that is a problem with the Apple Music app, so it's 100% a Spotify problem.

Also, Music sometimes disappears from my playlists.

Re: Jellyfin as a Spotify alternative

#256
I went through a similar phase where I thought, how hard can it be to just manage my own music like it's 2008 again? Turns out, kind of annoyingly hard. The part about music players being stuck in time really hit. Winamp nostalgia aside, most local players feel like they haven't evolved in a decade

Re: Jellyfin as a Spotify alternative

#257

I went through a similar phase where I thought, how hard can it be to just manage my own music like it's 2008 again? Turns out, kind of annoyingly hard. The part about music players being stuck in time really hit. Winamp nostalgia aside, most local players feel like they haven't evolved in a decade

That's why the author moved beyond that stage and to apps that connect to existing music libraries hosted on jellyfin. Apparently there are a lot more options out there than I knew about.

Re: Jellyfin as a Spotify alternative

#258

Earlier quoted context omitted.

Don't forget the electricity cost come with home server. A quick math will show that it's not insignificant

Run it on Raspberry Pi. It brings down electric consumption significantly.

Or a cluster if old phones with postmarketos

Re: Jellyfin as a Spotify alternative

#259

I personally use Jellyfin ONLY for Video stuff. AudioBookShelf[1] is for audiobooks and podcasts. For music I use navidrome [2] The smart playlist feature[5] is awesome. Having 3 services instead of one seems overkill, but specialized apps instead of one generic one feels different. One interesting aspect of navidrome is, that it has implemented the Subsonic API, which MANY Apps make use of. My personal favorite is S…

Neat! Can you stream navidrome to a smart TV? I have speakers connected to them and I usually stream to it using airplay on iOS.

Re: Jellyfin as a Spotify alternative

#260

This article fails to mention the absolute butchering of features that takes place moving from a typical music streaming subscription to a self hosted Jellyfin library. A large part of my listening on YouTube Music is going to a particular song or band I like and clicking "Radio", which generates a playlist of similar sounding songs. You can then fine tune it with a filter i.e "Popular songs, deep cuts" or specific e…

I think for some people the goal shifts from discovery to ownership - knowing your library, building it intentionally, and not being nudged by what the algorithm thinks you should be into
Post reply on HN