From 4b3f9bf48ad2d0dd959bb68e0728a9a9bc625568 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 18 Jun 2022 14:41:47 -0700 Subject: feat(tools/music-organizer): add a CLI to organize my music This CLI can be used on the NAS to import an album in my music collection. Change-Id: I5749e34b55bead846e9341fca29e648d3859fc8f Reviewed-on: https://cl.fcuny.net/c/world/+/448 Tested-by: CI Reviewed-by: Franck Cuny --- tools/music-organizer/README.org | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tools/music-organizer/README.org (limited to 'tools/music-organizer/README.org') diff --git a/tools/music-organizer/README.org b/tools/music-organizer/README.org new file mode 100644 index 0000000..a42a196 --- /dev/null +++ b/tools/music-organizer/README.org @@ -0,0 +1,21 @@ +#+TITLE: music organizer + +the tool takes a couple of arguments: +- ~-dest~: where will the music be stored +- a list of directories to scan + +all files that have tags that can be read will be processed and moved to the specified destination. + +files are organized like this: ={artist}/{album}/{track number} {track title}.{track format}= + +the tool ensures that files are not already present in the destination. if there's already a file with the same name, it checks that the md5 sum of the files are identical. if they are not, it logs a message. + +* build +#+BEGIN_SRC sh +go build +#+END_SRC + +* install +#+BEGIN_SRC sh +go install +#+END_SRC -- cgit v1.2.3