• 2 Posts
  • 23 Comments
Joined 2 years ago
cake
Cake day: August 7th, 2024

help-circle

  • I disagree that Nix is a solution in search of a problem, in fact it solves arguably the two biggest problems in software deployment: dependency hell and reproducibility (i.e. the “It works on my machine” problem)

    Every package gets access to the exact version of all the dependencies it needs (without needless replication like Flatpaks would have) and sharing a flake to another machine means you can replicate that exact setup and guarantee it will be exactly the same

    Containers try to solve the same problems, and succeed to a somewhat decent extent, although with some overhead of course.

    I’m not trying to criticize you or your setup at all, if Debian alone works for you, that’s fine. The beauty of open source and self hosting is that we can use whatever tools we want, however we want. I do though think it’s good practice to be aware of what alternatives are out there should our needs change, or should our tools change to no longer align with our needs.




  • Doing this is generally a bad idea, because audio exported from YouTube is pretty poor quality, and music videos often have bits of talking or silence that make sense in context of the video but aren’t part of the actual song (designed to prevent exactly this). There was a cli tool I used last year that could download music from Spotify directly.

    Edit: The tool I was talking about is Zotify

    Make sure to set the --download-quality flag to very_high if you have premium to ensure it downloads in max quality

    If you have long playlists (more than a few hundred songs), you should also use the --skip-previously-downloaded and --song-archive flags as per the docs to make sure you can start again from where you left off, as Spotify will start to rate-limit your connection and downloads will fail (if this happens, just kill the tool, wait a few minutes and start again)



  • Thanks for the recommendation, it certainly seems like an interesting project, although it’s current capabilities are almost backwards from what I actually want. My current workflow is:

    • Listen to my library in Navidrome via Feishin/Tempus
    • Scrobble my listens to ListenBrainz
    • ListenBrainz generates my weekly recommendations playlist (things not in my library)
    • I listen to the playlist on the ListenBrainz site via YouTube embeds
    • Any songs I like, I download high quality FLAC files of using slskd by buying legitimately

    Just being able to see my recommended songs in Tempus would remove some of the barrier of having to log in to ListenBrainz every week (which I often push to the bottom of my to-do list and end up missing recommendations). I don’t even really need to stream them directly in the app, just being able to see them and open the YouTube link would be a good start.

    I get that this might be a bit of a niche way of doing things and everyone will have a slightly different idea though, I don’t really expect my exact personal workflow to be catered for by open source devs.







  • It sounds to me like one (or more) of your containers is referencing something on your storage drive, but Docker is loading before your drive gets mounted. When Docker sees that the folder its trying to access doesn’t exist, it creates it, blocking your drive from taking that name.

    To fix it, you would need to make sure your storage drive is mounted before Docker starts, how you do that is down to you and your particular setup though.



  • I’ve found Android TV to be the most usable TV OS tbh. I use Konstakang’s LineageOS Android TV 15 image on a Pi 5 which is source available (non commercial only licence). And Projectivy Launcher (closed source but is by an indie dev and better than the stock Google one). The Pi is CEC compatible so I can control it with my TV remote no problem, and I use Moonlight to stream games from my PC.

    If you already have hardware, there may be an Android x86 TV release somewhere but I haven’t personally tested any, and you have to make sure the apps you want support x86 (all the open source ones like Jellyfin should)

    Edit to add: I also personally haven’t found a need to install GApps as all the apps I use are either open source, or were made to work also on FireTV so don’t rely on GApps APIs. (Use SmartTube instead of YouTube, it’s a better experience anyway)


  • I’m currently using a raspberry pi 5 flashed with Konstakang’s Android TV image, it works pretty flawlessly and takes less than an hour to set up, assuming you have the APKs of everything you want to install. You don’t need to mess around with Google play services because most TV android apps are also designed to run on firesticks which don’t have it.

    The one issue I have encountered is that the Jellyfin client very occasionally won’t play some 4k HDR media in the default player (all my 1080p stuff works fine) so I also installed MPV and I turn on alternative player in the Jellyfin settings in the rare case something doesn’t work.