From b8f3fb78bb794489be059bee1a70b43d9b0b74f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?tr=C3=A9meur?= Date: Wed, 25 Dec 2019 11:43:08 +0000 Subject: [PATCH] =?UTF-8?q?Add=20refresh=20cmus=20script=20=F0=9F=8E=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/cmus-refresh.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 scripts/cmus-refresh.sh diff --git a/scripts/cmus-refresh.sh b/scripts/cmus-refresh.sh new file mode 100755 index 0000000..4945ea2 --- /dev/null +++ b/scripts/cmus-refresh.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +# see https://github.com/cmus/cmus/issues/233 + +cmus-remote -C clear +cmus-remote -C "add ~/Music" +cmus-remote -C "update-cache -f"