mirror of
https://github.com/sstent/vmimages.git
synced 2026-01-25 14:41:44 +00:00
sync
This commit is contained in:
@@ -18,6 +18,7 @@ in {
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = [
|
||||
pkgs.ffmpeg # for replaygain
|
||||
|
||||
];
|
||||
|
||||
sops = {
|
||||
@@ -25,8 +26,10 @@ in {
|
||||
path = "${config.xdg.configHome}/beets/discogs_token.json";
|
||||
};
|
||||
};
|
||||
|
||||
programs.beets = {
|
||||
enable = true;
|
||||
package = (pkgs.beets.override { pluginOverrides = { originquery = {enable = true; propagatedBuildInputs = [ pkgs.beets-originquery ]; }; };});
|
||||
settings = {
|
||||
album_fields = {
|
||||
artist_grouping = ''
|
||||
@@ -128,10 +131,26 @@ in {
|
||||
format_item = "$albumartist - $album [$albumtype]$atype: $track/$tracktotal $title";
|
||||
};
|
||||
musicbrainz = {
|
||||
extra_tags= ["year" "catalognum" "country" "media" "label"];
|
||||
pass = "7ANCLPczDNFn6Sf65vdZ";
|
||||
user = "shapechecker";
|
||||
};
|
||||
original_date = true;
|
||||
originquery = {
|
||||
origin_file = "origin.yaml";
|
||||
|
||||
tag_patterns = {
|
||||
media = ''$.Media'';
|
||||
year = ''$."Edition year"'';
|
||||
label = ''$."Record label"'';
|
||||
catalognum = ''$."Catalog number"'';
|
||||
albumdisambig = ''$.Edition'';
|
||||
};
|
||||
|
||||
use_origin_on_conflict = true;
|
||||
};
|
||||
|
||||
|
||||
paths = {
|
||||
"albumtype:soundtrack" = "Soundtracks/$albumartist - $album%aunique{} ($year)/$myDisc$track - $artist - $title";
|
||||
comp = "Compilations/$albumartist/($year) $album%aunique{}/$myDisc$track - $artist - $title";
|
||||
@@ -151,6 +170,8 @@ in {
|
||||
"mbcollection"
|
||||
"replaygain"
|
||||
"info"
|
||||
"mbsync"
|
||||
"originquery"
|
||||
];
|
||||
replaygain = {
|
||||
backend = "ffmpeg";
|
||||
|
||||
Reference in New Issue
Block a user