about summary refs log tree commit diff stats
path: root/pkgs/by-name/mp
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/mp')
-rwxr-xr-xpkgs/by-name/mp/mpp-searchadd/mpp-searchadd.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/by-name/mp/mpp-searchadd/mpp-searchadd.sh b/pkgs/by-name/mp/mpp-searchadd/mpp-searchadd.sh
index d76e73b8..020d18d0 100755
--- a/pkgs/by-name/mp/mpp-searchadd/mpp-searchadd.sh
+++ b/pkgs/by-name/mp/mpp-searchadd/mpp-searchadd.sh
@@ -10,6 +10,12 @@
 # You should have received a copy of the License along with this program.
 # If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
 
+
+# Run `beets` once, to trigger eventual beets migrations.
+# Otherwise, these might screw with our file adding (because `beets` prints them on stdout,
+# for some reason !?)
+beet --version >/dev/null
+
 beet list "$@" --path | while read -r track; do
     mpc add "$track"
 done