notes-on-sorting-music.md (3237B)
1 2 --- 3 title: "Notes on sorting music" 4 date: 2026-10-23T09:55:00 5 tags: ["Linux", "Notes", "Software"] 6 --- 7 8 # Background 9 10 As a bit of background, I used to have an enormous music library (some 650GB of mixed quality MP3 files) stored on a local server that I could akwardly stream from (if the stars aligned). 11 12 Now this kind of setup is great, however there are a good few downsides to this approach, namely... 13 14 * Audio quality is fixed at whatever you originally sourced the files at 15 * Organisation and metadata is an ongoing nightmare 16 * [Bitrot](https://en.wikipedia.org/wiki/Data_degradation) is definitely a thing 17 * Tastes change, but the library is mostly static 18 * Keeping up with new releases is a full time job 19 * Pruning files is yet another job in itself 20 * Most of it just isn't listened to regularly 21 * There's no good middle ground between singles and albums 22 * Music is kind of awkward to _obtain_ versus TV shows and movies 23 24 So, with this what I decided to do was to work my way through each and every artist in my library, adding what I liked to a Spotify playlist that I'd [export out](/music/) every few months as a form of backup just in case anything happened with my account or Spotify at large. 25 26 # Exporting 27 28 Exporting your liked lists isn't the simplest of things. 29 30 There are a number of tools out there but the one I keep coming back to is [exportify](https://watsonbox.github.io/exportify/). Once you're logged in you're presented with your playlists and then you simply download the 'Liked' list and you're given a handy-dandy `liked.csv` that we're able to actually work on. 31 32 # Processing 33 34 As with most data and lists I work on, I've streamlined (ish) this process into [an unweildy script](https://github.com/breadcat/nix-configs/blob/main/scripts/blog-music.nix). Inside this you'll find how it converts CSV input into a reasonably coherent, sorted markdown table. 35 36 # Future expansion 37 38 Currently my library file holds no details regarding track metadata outside of Artist, Title and a link, it's just a list (hey, we like those!). At some point however I'd like to be able to append genres and styles to the list such as the following. 39 40 <details><summary>Genres</summary> 41 <ul> 42 <pre> 43 Blues\Electric 44 Blues\Rock 45 Blues\Traditional 46 Classical\Minimal 47 Classical\Traditional 48 Electronic\Aggrotech 49 Electronic\Ambient 50 Electronic\Downtempo 51 Electronic\Drum & Bass 52 Electronic\Electronica 53 Electronic\Glitch 54 Electronic\House 55 Electronic\IDM 56 Electronic\Industrial 57 Electronic\Minimal 58 Electronic\Neurofunk 59 Electronic\Psybient 60 Electronic\Synthpop 61 Electronic\Trance 62 Electronic\Trip-hop 63 Hip-Hop\Alternative 64 Hip-Hop\Electronic 65 Hip-Hop\Rap 66 Metal\Blackgaze 67 Metal\Drone 68 Metal\Glam 69 Metal\Groove 70 Metal\Heavy 71 Metal\Melodic Death 72 Metal\Nu 73 Metal\Post 74 Metal\Rap 75 Metal\Sludge 76 Metal\Symphonic 77 Metal\Thrash 78 Pop\Dance 79 Pop\Electro 80 Pop\Rock 81 Pop\Synth 82 Rock\Acid 83 Rock\Alt 84 Rock\Brit 85 Rock\Emo 86 Rock\Folk 87 Rock\Garage 88 Rock\Goth 89 Rock\Grunge 90 Rock\Hard 91 Rock\Indie 92 Rock\Industrial 93 Rock\Kraut 94 Rock\Math 95 Rock\Post 96 Rock\Post-Punk 97 Rock\Post-Rock 98 Rock\Progressive 99 Rock\Psychedelic 100 Rock\Punk 101 Rock\Shoegaze 102 Rock\Ska 103 Rock\Space 104 Rock\Stoner 105 Rock\Surf 106 Soundtrack\Anime 107 Soundtrack\Game 108 Soundtrack\Movie 109 Soundtrack\Remix 110 Soundtrack\Score 111 Soundtrack\Television 112 </pre> 113 </details>