From 5d8648916e2f182572d104401d258646cbedc3ca Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Sun, 31 Oct 2021 20:22:56 +0100 Subject: [PATCH] config/puddletag: add some actions --- .config/puddletag/combos | 102 ++++++++++++++++++++++++++++--- .config/puddletag/genres | 14 ++++- .config/puddletag/gensettings | 2 +- .config/puddletag/puddletag.conf | 22 ++++--- 4 files changed, 120 insertions(+), 20 deletions(-) diff --git a/.config/puddletag/combos b/.config/puddletag/combos index 7d92a4e..f7b82f4 100644 --- a/.config/puddletag/combos +++ b/.config/puddletag/combos @@ -21,21 +21,23 @@ " ", "Mr FijiWiji, Soulero - Nebula.flac", "Mr FijiWiji, Direct, & Aruna", - ";" + "\\\\", + "\\\\\\\\", + "DnB" ] }, "&Output": { "values": [ "", "%1", - "%1" + "" ] }, "&Text": { "values": [ "", "%date%", - "%date%" + "" ] }, "&Field list (; separated):": { @@ -44,7 +46,7 @@ "comment;__image", "comment;creation_time;__image", "comment;software;creation_time;__image", - "comment;__image" + "" ] }, "filter_text": { @@ -77,7 +79,39 @@ "fijiwiji", "Richards", "I Remember You", - "I Remember You" + "pop", + "nomy", + "ben", + "eadmau5", + "brem", + "covex", + "chillout", + "take it in", + "sexual party", + "breathe me in", + "Hip-Hop", + "halftime", + "action", + "complextro", + "sean", + "diamic", + "drift", + "nocturne", + "mashes", + "mixes", + "minecraft", + "laura brehm", + "acoustic", + "instrumental", + "energy", + "tristam", + "hybrid minds", + "League of Legends", + "soundtrack", + "danyka", + "indie", + "ether", + "" ] }, "&Pattern": { @@ -87,7 +121,8 @@ "[%year%-%dummy%-%dummy%] %album% - %title% (%artist%)", "[%date%] %album% - %title% (%artist%)", "%1-%2", - "%1-%2-%3" + "%1-%2-%3", + "[year]" ] }, "&Replace": { @@ -114,7 +149,11 @@ " ", "Mr FijiWiji, Soulero - Nebula.flac", "Mr FijiWiji, Direct, & Aruna", - ",;" + ",;", + " \\\\", + ",\\\\", + "\\\\ ", + "Drum & Bass" ] }, "&Format string": { @@ -126,7 +165,14 @@ "https://soundcloud.com/icf-berlin-fhain/%year%-fh\n", "Podcast", "https://soundcloud.com/icf-berlin-fhain/%year%-fh", - "https://soundcloud.com/icf-berlin-fhain/%date%-fh" + "https://soundcloud.com/icf-berlin-fhain/%date%-fh", + "%artist%", + "%genre%; Canto", + "%genre%; House", + "House", + "%genre%; Acoustic", + "Curtis Schweitzer", + "Curtis Schweitzer" ] }, "&Regular Expression": { @@ -141,7 +187,19 @@ "(.*)( (&|fe?a?t(uring)?.?|x|and) |/|, )(.*)", "(.*)( (&|fe?a?t(uring)?.?|x|and|/) |/|, )(.*)", "(.*)( (&|fe?a?t(uring)?.?|x|and|/|\\+) |/|, )(.*)", - "(.*)( (&|fe?a?t(uring)?.?|x|and|/|\\+) |/|, )(.*)" + "(.*)( (&|fe?a?t(uring)?.?|x|and|/|\\+) |/|, |; )(.*)", + "", + "(.*);(.*)", + "(.*); (.*)", + "(.+)", + "Frac", + "( (&|fe?a?t(uring)?.?|x|and|/|\\+) |/|, |; )", + " ?( (&|fe?a?t(uring)?.?|x|and|/|\\+) |/|, |; ) ?", + ",? ?( (&|fe?a?t(uring)?.?|x|and|/|\\+) |/|, |; ) ?", + ",? ?( (&|fe?a?t(uring)?.?|x|and|/|\\+) |/|, ) ?", + ",? ?( (&|fe?a?t(uring)?.?|x|and|/|\\+) |/|, |\\\\\\\\) ?", + "^; ", + "^; " ] }, "Replace &matches with:": { @@ -151,7 +209,31 @@ "$1; $4", "ICF", "$1; $5", - "$1; $5" + "$1\\\\$5", + "$1\\\\\\\\$5", + "V", + "$1$5", + "$1", + "$2;$1", + "$2; $1", + "sdsf", + "sdf", + "\\\\", + "; ", + "", + "" + ] + }, + "&Separator": { + "values": [ + "", + "; ", + "; " + ] + }, + "&Pattern (can be relative path)": { + "values": [ + "%artist% - %album%" ] } } \ No newline at end of file diff --git a/.config/puddletag/genres b/.config/puddletag/genres index eb7a8ec..2960a9c 100644 --- a/.config/puddletag/genres +++ b/.config/puddletag/genres @@ -29,4 +29,16 @@ Mashup Ambient; Canto Chillstep; Canto Canto; Acoustic -Future House \ No newline at end of file +Future House +Indie Dance / Nu Disco +Indie Dance / Nu Disco; Canto +House; Melodic +Liquid +DnB; Liquid +DnB +House; Mix +Mix; House +Mix; DnB +Mix; DnB; Energy +House; Canto +Soundtrack \ No newline at end of file diff --git a/.config/puddletag/gensettings b/.config/puddletag/gensettings index c949986..51bfcdc 100644 --- a/.config/puddletag/gensettings +++ b/.config/puddletag/gensettings @@ -12,7 +12,7 @@ "value": true }, "&Preserve file modification times (if supported)": { - "value": true + "value": false }, "Show tooltips in file-view:": { "value": true diff --git a/.config/puddletag/puddletag.conf b/.config/puddletag/puddletag.conf index ceba4f3..b654c05 100644 --- a/.config/puddletag/puddletag.conf +++ b/.config/puddletag/puddletag.conf @@ -5,13 +5,17 @@ "order": [ "/home/janek/.local/share/puddletag/actions/standard.action", "/home/janek/.local/share/puddletag/actions/caseconversion.action", - "/home/janek/.local/share/puddletag/actions/Artist splitting.action" + "/home/janek/.local/share/puddletag/actions/Artist splitting.action", + "/home/janek/.local/share/puddletag/actions/Swap artists.action", + "/home/janek/.local/share/puddletag/actions/Genre House.action", + "/home/janek/.local/share/puddletag/actions/Genre Acoustic.action", + "/home/janek/.local/share/puddletag/actions/Genre Canto.action" ] }, "main": { "lang": "auto", - "lastfolder": "/home/janek/data/music/Electronic/LauraBrehm", - "maximized": true + "lastfolder": "/home/janek/data/music/Electronic/SpacecraftNation", + "maximized": false }, "playlist": { "extinfo": 1, @@ -37,7 +41,7 @@ "fontsize": 10, "rowsize": 43, "sort_fields": [ - "album" + "__dirpath" ], "sort_reverse": false }, @@ -82,7 +86,8 @@ "BPM", "Comment", "Bitrate", - "Path" + "Path", + "Album Artist" ], "tags": [ "__dirpath", @@ -97,7 +102,8 @@ "bpm", "comment", "__bitrate", - "__path" + "__path", + "albumartist" ] }, "editor": { @@ -110,11 +116,11 @@ "index": 0 }, "functions": { - "last_used": "autonumbering" + "last_used": "regex" }, "actions": { "checked": [ - "Artist splitting" + "Genre: Canto" ] }, "quick_actions": {