Add lidarr-cleanup-singles package and integration
- Introduced a new package `lidarr-cleanup-singles` to identify and manage duplicate single tracks in Lidarr. - Updated `flake.nix` to include the new package in outputs and modified app definitions to support it. - Created a new script in `src-cleanup` for the main functionality, including audio fingerprint verification. - Added necessary dependencies and configuration in `pyproject.toml` for the new package. - Removed unused `flake-utils` and `systems` entries from `flake.lock` to streamline the configuration.
This commit is contained in:
11
flake.nix
11
flake.nix
@@ -13,13 +13,17 @@
|
||||
inherit pkgs;
|
||||
src = lib.cleanSource ./src;
|
||||
};
|
||||
lidarr-cleanup-singles = import ./nix/package-cleanup.nix {
|
||||
inherit pkgs;
|
||||
src = lib.cleanSource ./src-cleanup;
|
||||
};
|
||||
in
|
||||
{
|
||||
nixosModules.lidarr-mb-gap = import ./nixos/lidarr-mb-gap.nix;
|
||||
|
||||
packages.${system} = {
|
||||
default = lidarr-mb-gap;
|
||||
inherit lidarr-mb-gap;
|
||||
inherit lidarr-mb-gap lidarr-cleanup-singles;
|
||||
};
|
||||
|
||||
apps.${system} = {
|
||||
@@ -31,6 +35,10 @@
|
||||
type = "app";
|
||||
program = "${lidarr-mb-gap}/bin/lidarr-mb-gap";
|
||||
};
|
||||
lidarr-cleanup-singles = {
|
||||
type = "app";
|
||||
program = "${lidarr-cleanup-singles}/bin/lidarr-cleanup-singles";
|
||||
};
|
||||
};
|
||||
|
||||
devShells.${system} = {
|
||||
@@ -43,6 +51,7 @@
|
||||
]
|
||||
))
|
||||
pkgs.black
|
||||
pkgs.chromaprint
|
||||
];
|
||||
shellHook = ''
|
||||
echo "Python environment ready!"
|
||||
|
||||
Reference in New Issue
Block a user