#!/usr/bin/env dash # nixos-config - My current NixOS configuration # # Copyright (C) 2025 Benedikt Peetz # SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of my nixos-config. # # You should have received a copy of the License along with this program. # If not, see . # 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 mpc playlist # vim: ft=sh