• 11 Posts
  • 188 Comments
Joined 1 year ago
cake
Cake day: June 29th, 2023

help-circle



  • I’m not proud but after 3 hours in part 2 I had to look up help. I was trying to do it using recursion and it was not working at all.

    Even after watching a couple of videos and reading code I’m not sure why part 2 works as it does 😭

    I don’t normally code so this is like my yearly training 😂

















  • This is a copy of an older comment of mine:

    Everything is tagged and organized using Picard. I use a modified version of https://community.metabrainz.org/t/repository-for-neat-file-name-string-patterns-and-tagger-script-snippets/2786/156.

    I’ve been meaning to write a guide for how it works. My current WIP script can be found here: https://gitea.baerentsen.space/FrederikBaerentsen/DataHoarder_scripts/src/branch/master/Picard.txt

    My files is setup like:

    ~/Music/A/Artist/(YYYY) Title [Type - Format] [MusicBrainz ID]/[side] Title [length][Bandwidth].ext

    eg:

    /Music/Q/Queen/(1973) Queen [12 Inch Vinyl - FLAC] [1783da6a-9315-3602-a488-1738eb733a0f]
        /A1. Keep Yourself Alive [3m48s][320+ 48000KHz VBR 2ch].flac
        /B1. Liar [6m26s][320+ 48000KHz VBR 2ch].flac
    /Music/B/Bruce Springsteen/(2019) Western Stars [CD - FLAC] [a50ffce7-0532-41a7-b85b-7d02f8c7af00]
        /01. Hitch Hikin' [3m38s][320+ 96000KHz VBR 2ch].flac 
        /02. The Wayfarer [4m18s][320+ 96000KHz VBR 2ch].flac
    

    if the album isn’t a studio album, theres an extra folder. eg:

    /Music/B/Bruce Springsteen/Compilation/(1996) The Lost Masters I_ Alone in Colts Neck (The Complete Nebraska Session) [CD - FLAC] [8531e427-495a-443a-8fc3-0dd2ef459c93]
        /01. Nebraska [4m27s][320+ 44100KHz VBR 2ch].flac
    /Music/P/Phil Collins/Singles/(1981) In the Air Tonight [7 Inch Vinyl - FLAC] [e805dd53-9257-4c78-8bff-a95f0cdd767e]
        /A. In the Air Tonight [5m29s][320+ 96000KHz VBR 2ch].flac
    

    I have special categories for:

    Compilations
    Cover
    Tribute
    Singles
    Live
    EP
    

    If an album contains multiple disks, there’s an extra folder. Eg:

    /Music/M/Michael Jackson/Compilation/(2004) The Ultimate Collection [CD - FLAC] [2d37b204-ed26-3795-9710-1514f0fd931a]
        /Disc 1
            /01. I Want You Back [3m00s][320+ 44100KHz VBR 2ch].flac
    

    For soundtracks it’s: ~/Music/Soundtrack/T/(YYYY) Title [Type - Format] [MusicBrainz ID]/[side] Title [length][Bandwidth].ext

    eg.

    /Music/Soundtrack/L/(2001) The Lord of the Rings_ The Fellowship of the Ring - The Complete Recordings [Digital Media - FLAC] [cad73ae7-5966-4de1-bad4-4a603891fd27]
        /Disk 1/01. Prologue_ One Ring To Rule Them All [7m15s][320+ 48000KHz VBR 2ch].flac
    

    Been using this for 3+ years and it’s solid.

    I’ll try and make a better write up at some point and share my script.

    This setup also works flawlessly with Plex + Prism. I run Picard in a docker container and access it over web, so it can run on my headless Debian server.