aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2023-02-24 11:18:11 -0500
committerRyan Kavanagh <rak@rak.ac>2023-02-24 11:18:11 -0500
commit8a3e1f6b2cd1b65dd1967289524bd6086c0c17ee (patch)
tree96a77db11536054ac707d5386b123b7bf91ef7a4
parentdrop tilde.team from gnus (diff)
update mpd playlist generation
-rw-r--r--bin/executable_Internet.m3u.sh2
-rw-r--r--dot_config/beets/config.yaml.tmpl4
2 files changed, 3 insertions, 3 deletions
diff --git a/bin/executable_Internet.m3u.sh b/bin/executable_Internet.m3u.sh
index b417f07..62d83d0 100644
--- a/bin/executable_Internet.m3u.sh
+++ b/bin/executable_Internet.m3u.sh
@@ -3,7 +3,7 @@
# Updates the internet radio playlists for MPD
# Best run from a cronjob
-BASE=/var/lib/mpd/playlists/
+BASE=/var/lib/mpd/playlists.radio/
playlist() {
cat<<EOF > "${BASE}/radio-$1.m3u"
diff --git a/dot_config/beets/config.yaml.tmpl b/dot_config/beets/config.yaml.tmpl
index 7816823..50e9c40 100644
--- a/dot_config/beets/config.yaml.tmpl
+++ b/dot_config/beets/config.yaml.tmpl
@@ -7,8 +7,8 @@ plugins:
- mbcollection
- badfiles
- info
- - smartplaylist
- playlist
+ - smartplaylist
- mpdupdate
import:
@@ -44,7 +44,7 @@ playlist:
smartplaylist:
relative_to: /media/t/music_clean
- playlist_dir: /var/lib/mpd/playlists
+ playlist_dir: /var/lib/mpd/playlists.smart
playlists:
- name: bagpipesolo.m3u
query: [ 'album:"The Piper And The Maker"'