config/puddletag: add some actions

This commit is contained in:
xeruf 2021-10-31 20:22:56 +01:00
parent e11f98bc6f
commit 5d8648916e
4 changed files with 120 additions and 20 deletions

View File

@ -21,21 +21,23 @@
" ", " ",
"Mr FijiWiji, Soulero - Nebula.flac", "Mr FijiWiji, Soulero - Nebula.flac",
"Mr FijiWiji, Direct, & Aruna", "Mr FijiWiji, Direct, & Aruna",
";" "\\\\",
"\\\\\\\\",
"DnB"
] ]
}, },
"&Output": { "&Output": {
"values": [ "values": [
"", "",
"%1", "%1",
"%1" ""
] ]
}, },
"&Text": { "&Text": {
"values": [ "values": [
"", "",
"%date%", "%date%",
"%date%" ""
] ]
}, },
"&Field list (; separated):": { "&Field list (; separated):": {
@ -44,7 +46,7 @@
"comment;__image", "comment;__image",
"comment;creation_time;__image", "comment;creation_time;__image",
"comment;software;creation_time;__image", "comment;software;creation_time;__image",
"comment;__image" ""
] ]
}, },
"filter_text": { "filter_text": {
@ -77,7 +79,39 @@
"fijiwiji", "fijiwiji",
"Richards", "Richards",
"I Remember You", "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": { "&Pattern": {
@ -87,7 +121,8 @@
"[%year%-%dummy%-%dummy%] %album% - %title% (%artist%)", "[%year%-%dummy%-%dummy%] %album% - %title% (%artist%)",
"[%date%] %album% - %title% (%artist%)", "[%date%] %album% - %title% (%artist%)",
"%1-%2", "%1-%2",
"%1-%2-%3" "%1-%2-%3",
"[year]"
] ]
}, },
"&Replace": { "&Replace": {
@ -114,7 +149,11 @@
" ", " ",
"Mr FijiWiji, Soulero - Nebula.flac", "Mr FijiWiji, Soulero - Nebula.flac",
"Mr FijiWiji, Direct, & Aruna", "Mr FijiWiji, Direct, & Aruna",
",;" ",;",
" \\\\",
",\\\\",
"\\\\ ",
"Drum & Bass"
] ]
}, },
"&Format string": { "&Format string": {
@ -126,7 +165,14 @@
"https://soundcloud.com/icf-berlin-fhain/%year%-fh\n", "https://soundcloud.com/icf-berlin-fhain/%year%-fh\n",
"Podcast", "Podcast",
"https://soundcloud.com/icf-berlin-fhain/%year%-fh", "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": { "&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|/|\\+) |/|, )(.*)", "(.*)( (&|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:": { "Replace &matches with:": {
@ -151,7 +209,31 @@
"$1; $4", "$1; $4",
"ICF", "ICF",
"$1; $5", "$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%"
] ]
} }
} }

View File

@ -30,3 +30,15 @@ Ambient; Canto
Chillstep; Canto Chillstep; Canto
Canto; Acoustic Canto; Acoustic
Future House 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

View File

@ -12,7 +12,7 @@
"value": true "value": true
}, },
"&Preserve file modification times (if supported)": { "&Preserve file modification times (if supported)": {
"value": true "value": false
}, },
"Show tooltips in file-view:": { "Show tooltips in file-view:": {
"value": true "value": true

View File

@ -5,13 +5,17 @@
"order": [ "order": [
"/home/janek/.local/share/puddletag/actions/standard.action", "/home/janek/.local/share/puddletag/actions/standard.action",
"/home/janek/.local/share/puddletag/actions/caseconversion.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": { "main": {
"lang": "auto", "lang": "auto",
"lastfolder": "/home/janek/data/music/Electronic/LauraBrehm", "lastfolder": "/home/janek/data/music/Electronic/SpacecraftNation",
"maximized": true "maximized": false
}, },
"playlist": { "playlist": {
"extinfo": 1, "extinfo": 1,
@ -37,7 +41,7 @@
"fontsize": 10, "fontsize": 10,
"rowsize": 43, "rowsize": 43,
"sort_fields": [ "sort_fields": [
"album" "__dirpath"
], ],
"sort_reverse": false "sort_reverse": false
}, },
@ -82,7 +86,8 @@
"BPM", "BPM",
"Comment", "Comment",
"Bitrate", "Bitrate",
"Path" "Path",
"Album Artist"
], ],
"tags": [ "tags": [
"__dirpath", "__dirpath",
@ -97,7 +102,8 @@
"bpm", "bpm",
"comment", "comment",
"__bitrate", "__bitrate",
"__path" "__path",
"albumartist"
] ]
}, },
"editor": { "editor": {
@ -110,11 +116,11 @@
"index": 0 "index": 0
}, },
"functions": { "functions": {
"last_used": "autonumbering" "last_used": "regex"
}, },
"actions": { "actions": {
"checked": [ "checked": [
"Artist splitting" "Genre: Canto"
] ]
}, },
"quick_actions": { "quick_actions": {