Compare commits

..

3 Commits

View File

@@ -366,10 +366,12 @@ let
enabledInstances = lib.filterAttrs (_: inst: inst.enable) cfg;
mkBazarrProviderSection = type: provider:
mkBazarrProviderSection =
type: provider:
let
ltype = lib.toLower type;
in ''
in
''
# ${type} provider
echo "Checking ${type} provider..."
PROVIDER_API_KEY=$(${grep} -oP '(?<=<ApiKey>)[^<]+' ${lib.escapeShellArg "${provider.dataDir}/config.xml"})