config: music additions
This commit is contained in:
parent
8493d6d416
commit
7fd5137121
|
@ -49,3 +49,4 @@ Electronic; Vocal
|
||||||
Christian; Hip-Hop
|
Christian; Hip-Hop
|
||||||
Theme; Ambient
|
Theme; Ambient
|
||||||
Theme; Ambiente
|
Theme; Ambiente
|
||||||
|
Minecraft; Theme; Liquid
|
|
@ -9,7 +9,7 @@
|
||||||
"value": true
|
"value": true
|
||||||
},
|
},
|
||||||
"Su&bfolders": {
|
"Su&bfolders": {
|
||||||
"value": false
|
"value": true
|
||||||
},
|
},
|
||||||
"&Preserve file modification times (if supported)": {
|
"&Preserve file modification times (if supported)": {
|
||||||
"value": false
|
"value": false
|
||||||
|
|
|
@ -16,8 +16,8 @@
|
||||||
},
|
},
|
||||||
"main": {
|
"main": {
|
||||||
"lang": "auto",
|
"lang": "auto",
|
||||||
"lastfolder": "/home/janek/data/music/Canto/Minecraft",
|
"lastfolder": "/home/janek/data/music/Ambient/C418",
|
||||||
"maximized": false
|
"maximized": true
|
||||||
},
|
},
|
||||||
"playlist": {
|
"playlist": {
|
||||||
"extinfo": 1,
|
"extinfo": 1,
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
"fontsize": 10,
|
"fontsize": 10,
|
||||||
"rowsize": 43,
|
"rowsize": 43,
|
||||||
"sort_fields": [
|
"sort_fields": [
|
||||||
"__path"
|
"album"
|
||||||
],
|
],
|
||||||
"sort_reverse": false
|
"sort_reverse": false
|
||||||
},
|
},
|
||||||
|
@ -118,7 +118,7 @@
|
||||||
"$num(%track%,2) %title%",
|
"$num(%track%,2) %title%",
|
||||||
"%title%"
|
"%title%"
|
||||||
],
|
],
|
||||||
"index": 0
|
"index": 3
|
||||||
},
|
},
|
||||||
"functions": {
|
"functions": {
|
||||||
"last_used": "regex"
|
"last_used": "regex"
|
||||||
|
|
|
@ -1,11 +1,15 @@
|
||||||
|
REPLAYGAIN_TRACK_GAIN
|
||||||
album
|
album
|
||||||
|
albumartist
|
||||||
albumsortorder
|
albumsortorder
|
||||||
arranger
|
arranger
|
||||||
artist
|
artist
|
||||||
|
artists
|
||||||
audiodelay
|
audiodelay
|
||||||
audiolength
|
audiolength
|
||||||
audiosize
|
audiosize
|
||||||
author
|
author
|
||||||
|
band
|
||||||
bpm
|
bpm
|
||||||
comment
|
comment
|
||||||
composer
|
composer
|
||||||
|
@ -27,7 +31,6 @@ isrc
|
||||||
itunesalbumsortorder
|
itunesalbumsortorder
|
||||||
itunescompilationflag
|
itunescompilationflag
|
||||||
itunescomposersortorder
|
itunescomposersortorder
|
||||||
just nothing to do with this
|
|
||||||
language
|
language
|
||||||
lyricist
|
lyricist
|
||||||
mediatype
|
mediatype
|
||||||
|
@ -47,6 +50,7 @@ radioowner
|
||||||
radiostationname
|
radiostationname
|
||||||
recordingdates
|
recordingdates
|
||||||
releasetime
|
releasetime
|
||||||
|
replaygain_track_gain
|
||||||
setsubtitle
|
setsubtitle
|
||||||
taggingtime
|
taggingtime
|
||||||
time
|
time
|
||||||
|
|
|
@ -9,8 +9,10 @@ then mp -q "$PLAYLISTS/focus.m3u"
|
||||||
else
|
else
|
||||||
(find -L $PLAYLISTS -iname "focus-$1.m3u" -print0 | grep --null-data . ||
|
(find -L $PLAYLISTS -iname "focus-$1.m3u" -print0 | grep --null-data . ||
|
||||||
find -L $PLAYLISTS -iname "$1.m3u*" -print0 | grep --null-data . ||
|
find -L $PLAYLISTS -iname "$1.m3u*" -print0 | grep --null-data . ||
|
||||||
find -L $MUSIC $(echo "$@" | sed 's/\w\+/-iname *\0*/g') -prune -exec find {} -size +2M -type f -not -iregex ".*.\(jpe?g\|png\)" -print0 \; ) |
|
find -L $MUSIC $(echo "$@" | sed 's/\w\+/-iname *\0*/g') -prune -exec find {} -size +1M -type f -not -iregex ".*.\(jpe?g\|png\)" -print0 \; ) |
|
||||||
xargs -0 mp -q
|
xargs -0 mp -q
|
||||||
fi
|
fi
|
||||||
|
if test $(mpc playlist | wc -l) -gt 1; then
|
||||||
mpc -q shuffle
|
mpc -q shuffle
|
||||||
mpc next
|
mpc next
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in New Issue