Compare commits
5 Commits
155ebbafcd
...
1facd8a764
| Author | SHA1 | Date | |
|---|---|---|---|
| 1facd8a764 | |||
| 8ced6a530c | |||
| a57570ce80 | |||
| 0f5ce875a9 | |||
| 37176413cc |
@@ -366,12 +366,10 @@ let
|
|||||||
|
|
||||||
enabledInstances = lib.filterAttrs (_: inst: inst.enable) cfg;
|
enabledInstances = lib.filterAttrs (_: inst: inst.enable) cfg;
|
||||||
|
|
||||||
mkBazarrProviderSection =
|
mkBazarrProviderSection = type: provider:
|
||||||
type: provider:
|
|
||||||
let
|
let
|
||||||
ltype = lib.toLower type;
|
ltype = lib.toLower type;
|
||||||
in
|
in ''
|
||||||
''
|
|
||||||
# ${type} provider
|
# ${type} provider
|
||||||
echo "Checking ${type} provider..."
|
echo "Checking ${type} provider..."
|
||||||
PROVIDER_API_KEY=$(${grep} -oP '(?<=<ApiKey>)[^<]+' ${lib.escapeShellArg "${provider.dataDir}/config.xml"})
|
PROVIDER_API_KEY=$(${grep} -oP '(?<=<ApiKey>)[^<]+' ${lib.escapeShellArg "${provider.dataDir}/config.xml"})
|
||||||
|
|||||||
Reference in New Issue
Block a user