Tag guessing config
This commit is contained in:
parent
1df976bcae
commit
298f6f1c60
@ -7,5 +7,11 @@ getConfigSource() {
|
||||
'skip')
|
||||
skippeddirectories+=( "$value" )
|
||||
;;
|
||||
'tag-guessing')
|
||||
tagguessing="$value"
|
||||
;;
|
||||
'tag-guessing-triggers')
|
||||
tagguessingtriggers="$value"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
@ -21,6 +21,9 @@ printConfig() {
|
||||
printed=1
|
||||
done
|
||||
unset printed
|
||||
echo " |Tag guessing expression|$tagguessing"
|
||||
echo " |Tag guessing triggers|$tagguessingtriggers"
|
||||
|
||||
for destination in ${destinations[@]}
|
||||
do
|
||||
cat <<-EOF
|
||||
|
||||
@ -51,6 +51,25 @@ path $sourcepath
|
||||
cat <<-EOCfg
|
||||
|
||||
|
||||
# Tag guessing expresssion. Uses same values as "rename" below. This is used to
|
||||
# guess tags from filenames and paths. This is useful for files with no tags but
|
||||
# can lead to issues if a strict naming scheme is not used.
|
||||
# Tag guessing disabled if unset (default).
|
||||
# %{album},
|
||||
# %{albumartist},
|
||||
# %{artist},
|
||||
# %{disc} (1 digit),
|
||||
# %{genre},
|
||||
# %{releasecountry} (2 letter code),
|
||||
# %{title},
|
||||
# %{track} (2 digits),
|
||||
# %{year}.
|
||||
#tag-guessing %{genre}/%{albumartist}/%{year}-%{album}-%{releasecountry}/%{disk}%{track}--%{artist}-%{title}
|
||||
|
||||
# Guess tags on missing infos:
|
||||
#tag-missing-triggers artist,albumartist,title,track,year,genre
|
||||
|
||||
|
||||
EOCfg
|
||||
for destination in "${destinations[@]}"
|
||||
do
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user