mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-22 15:53:23 +00:00
Updated Custom Post Processing Scripts (markdown)
parent
49ba970a0f
commit
e82ee22bcb
1 changed files with 11 additions and 1 deletions
|
@ -102,3 +102,13 @@ Additional command line line arguments that are passed to your script, such as r
|
||||||
The information from Lidarr will not be added to $_ENV as one might expect but should be included in the [$_SERVER variable](https://secure.php.net/manual/en/reserved.variables.server.php). A sample script to use this information to convert a file can be found [here](https://gist.github.com/karbowiak/7fb38d346e368edc9d1a).
|
The information from Lidarr will not be added to $_ENV as one might expect but should be included in the [$_SERVER variable](https://secure.php.net/manual/en/reserved.variables.server.php). A sample script to use this information to convert a file can be found [here](https://gist.github.com/karbowiak/7fb38d346e368edc9d1a).
|
||||||
#### PowerShell ####
|
#### PowerShell ####
|
||||||
Sample script using the Lidarr environment variables to create EDL files for all albumss is [here](https://gist.github.com/RedsGT/e1b5f28e7b5b81e1e45378151e73ba5c).
|
Sample script using the Lidarr environment variables to create EDL files for all albumss is [here](https://gist.github.com/RedsGT/e1b5f28e7b5b81e1e45378151e73ba5c).
|
||||||
|
#### Beets ####
|
||||||
|
An example script to trigger beets is [here](https://gist.github.com/ta264/77443a3de790babbd4f5ce6b9af64f4d). You need to have your beets config file setup correctly. An example is [here](https://gist.github.com/ta264/2cb2de25755976bf3f5e7901835209d5).
|
||||||
|
|
||||||
|
Key points:
|
||||||
|
- This will not work on Lidarr `0.5.0.583`. It requires nightly or a (yet to be released) `0.6.0` build.
|
||||||
|
- `directory` must be your (only) root directory in Lidarr
|
||||||
|
- `import\copy` must be `no` to prevent beets moving files
|
||||||
|
- You should configure beets file naming to match your lidarr file naming to avoid nasty surprises
|
||||||
|
- You must set `BEET_CONFIG` to point to your beets config file in `beet_import.sh`
|
||||||
|
- You should trigger the custom script on Album Import.
|
Loading…
Reference in a new issue