aboutsummaryrefslogtreecommitdiff
path: root/tools/music-organizer/README.org
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-06-18 14:41:47 -0700
committerFranck Cuny <franck@fcuny.net>2022-06-18 14:43:39 -0700
commit4b3f9bf48ad2d0dd959bb68e0728a9a9bc625568 (patch)
tree335918a26d056583e74f59cc388d78084f700f35 /tools/music-organizer/README.org
parentfeat(tools/git-blame-stats): add the CLI with default git configuration (diff)
downloadinfra-4b3f9bf48ad2d0dd959bb68e0728a9a9bc625568.tar.gz
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 <franck@fcuny.net>
Diffstat (limited to '')
-rw-r--r--tools/music-organizer/README.org21
1 files changed, 21 insertions, 0 deletions
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