-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add ytimport, store state+config within vol
* Add ytimport plugin. * To remember previous import decisions, store the state within the volume directory. * The config.yaml has to be stored within same directory as the state. That keeps it consistent with the storage layout at the time of library creation. * Change the storage path layout.
- Loading branch information
1 parent
eb4c044
commit 7d99bd7
Showing
3 changed files
with
21 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
set -eu | ||
|
||
mkdir -p /data/beets-state | ||
mkdir -p "$BEETSDIR" | ||
[ -f "$BEETSDIR/config.yaml" ] || cp /etc/beets/default-config.yaml "$BEETSDIR/config.yaml" | ||
|
||
exec beet "$@" |