No description
Find a file
2026-04-09 19:57:47 -04:00
.github/workflows bleh 2026-04-02 19:14:36 -04:00
static better release search. artist search just ok 2026-04-09 19:57:47 -04:00
audio.go bleh 2026-04-02 19:14:36 -04:00
CLAUDE.md mbz discover + auto import 2026-04-08 23:42:35 -04:00
cmd.go bleh 2026-04-02 19:14:36 -04:00
discover.go better release search. artist search just ok 2026-04-09 19:57:47 -04:00
Dockerfile bleh 2026-04-02 19:14:36 -04:00
files.go i don't remember 2026-04-09 00:39:59 -04:00
go.mod embed & move covers, remove m4a support 2025-11-15 13:06:33 -05:00
go.sum embed & move covers, remove m4a support 2025-11-15 13:06:33 -05:00
importer.go better release search. artist search just ok 2026-04-09 19:57:47 -04:00
index.html.tmpl mbz discover + auto import 2026-04-08 23:42:35 -04:00
lrc.go i love slop 2026-04-04 00:21:03 -04:00
main.go mbz discover + auto import 2026-04-08 23:42:35 -04:00
media.go better release search. artist search just ok 2026-04-09 19:57:47 -04:00
metadata.go better release search. artist search just ok 2026-04-09 19:57:47 -04:00
monitor.go better release search. artist search just ok 2026-04-09 19:57:47 -04:00
README.md i love slop 2026-04-04 00:21:03 -04:00
slskd.go better release search. artist search just ok 2026-04-09 19:57:47 -04:00

music-importer

Goes through a folder with a bunch of loose .flac/.mp3 files, or with album folders containing music files, then fetches metadata with beets/musicbrainz, downloads lyrics via LRClib, embeds discovered cover art, and moves them into the library with the format {Artist}/[{Year}] {Title} [{Format-Quality}]

this thing is like 95% AI code. use at your own risk

i didn't feel like spending the time to do it all right and i figured its simple enough that chatgpt couldn't possible screw it up that bad

Usage

docker compose

services:
  music-importer:
    image: gabehf/music-importer:latest
    container_name: music-importer
    ports:
      - "8080:8080"
    volumes:
      - /my/import/dir:/import
      - /my/library/dir:/library
    environment:
      IMPORT_DIR: /import
      LIBRARY_DIR: /library
      COPYMODE: true # copies files instead of moving. NOT NON-DESTRUCTIVE!!

Quirks

  • only works for .flac and .mp3
  • not configurable at all, other than dirs