• 11 Posts
  • 316 Comments
Joined 2 years ago
cake
Cake day: November 24th, 2023

help-circle








  • My latest setup is probably too complicated for what I need… But it works.

    • The music server is a Navidrome server

    • I play those files using ListenBrainz so that I have centralised public playlists and being able to play tracks rereleased in multiple albums.

    • To add files to Navidrome, I use a local copyparty for a webui, as well syncthing to have a subset of the library always locally available in case of the server crashing or internet outage

    • When I don’t have the mood for any particular playlist, I use Alistral to generate a radio based on my listening habits

    • Of course 99% of the files are tagged using MusicBrainz Picard

    Best part, the whole stack is foss software! And self host able too. I just don’t self host listenBrainz as I prefer the public instance



  • I am guilty of this but for a different reason: setting up debugging for clis in rust is hard

    I love the debugger. I use it all the time I can. But when debugging cli it’s a pain as you need to go back in the launch.json file, remake the argument list, then come back to run debug, find out why tf it doesn’t find cargo when it’s the PATH… again, then actually debug.


  • I oversimplified it but the actual process was to zip files to send to an FTP server

    The cron zipped the files to send in the same directory as the zipped files, then sent the zip, then deleted the zip

    Looks fine, right? But what if the FTP server is slow and uploading take more time than the hourly cron dispatch? You now have a second script that zip all the folder, with the previous zip file, which will slow down the upload, etc…

    I believe may have been started by an FTP upload erroring out and forcing an early return without having a cleanup, and progressively got worse

    … I suppose this happened. The logs were actually broken and didn’t actually add the message part of the error object, and only logging the memory address to it