aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl
diff options
context:
space:
mode:
Diffstat (limited to 'share/hydractl')
-rwxr-xr-xshare/hydractl/sync-media5
1 files changed, 5 insertions, 0 deletions
diff --git a/share/hydractl/sync-media b/share/hydractl/sync-media
index c486ff7..a63f782 100755
--- a/share/hydractl/sync-media
+++ b/share/hydractl/sync-media
@@ -35,6 +35,11 @@ function sync_media_identity {
function sync_media_add {
git annex add .
+ # Handle playlists which are generally not managed by git-annex
+ if [ -d "playlists" ]; then
+ git add playlists
+ fi
+
# Adding hidden files and symlinks, git+while version
git status --porcelain -u | sed -e 's/?? //' | while read file; do
if [ -h "$file" ]; then