lidarr-true-singles/README.md

45 lines
2.5 KiB
Markdown
Raw Permalink Normal View History

2023-01-10 23:39:36 +00:00
<div align="center">
2023-04-21 15:25:31 +00:00
<h1>lidarr-true-singles<br>
2023-01-10 23:39:36 +00:00
<a href="https://chse.dev/donate"><img alt="Donate" src="https://badges.chse.dev:/badge/Donate_To_This_Project-brightgreen"></a>
</h1></div>
2023-01-11 19:20:27 +00:00
Automatically unmonitor promotional singles from Lidarr.
2023-01-11 01:16:25 +00:00
2023-01-11 15:19:17 +00:00
## Running
```bash
docker run --rm \
--name lidarr-true-singles \
2023-01-11 19:16:45 +00:00
-e LIDARR_URL=http://localhost:8686 \
2023-01-11 15:19:17 +00:00
-e LIDARR_API_KEY=your_api_key \
2023-01-11 19:16:45 +00:00
-e UNMONITOR=false \
2023-01-26 14:38:23 +00:00
-e DELETE=false \
-e OUTPUT_UNMONITORED=false \
2023-04-21 15:25:31 +00:00
git.chse.dev/chase/lidarr-true-singles:latest
2023-01-11 15:19:17 +00:00
```
| Environment Variable | Description | Default |
| -------------------- | ----------------------------------------------------------------------------------------------- | ----------------------- |
| `LIDARR_URL` | The URL to your Lidarr instance | `http://localhost:8686` |
| `LIDARR_API_KEY` | Your Lidarr API Key | |
| `UNMONITOR` | Whether to unmonitor the tracks or not | `false` |
2023-01-26 14:38:23 +00:00
| `DELETE` | Whether to delete the tracks or not | `false` |
| `OUTPUT_UNMONITORED` | Print unmonitored singles that are downloaded. Note that this overrides the `UNMONITOR` option. | `false` |
2023-01-26 14:38:23 +00:00
| Environment Variable | Outcome |
| ------------------------------------------ | -------------------------------------------------------- |
| `UNMONITOR=false` | See duplicate singles |
| `UNMONITOR=true` | Unmonitor duplicate singles |
| `UNMONITOR=true`<br>`DELETE=true` | Delete duplicate singles |
| `OUTPUT_UNMONITORED=true` | See duplicate unmonitored singles that are downloaded |
| `OUTPUT_UNMONITORED=true`<br>`DELETE=true` | Delete duplicate unmonitored singles that are downloaded |
2023-01-11 19:16:45 +00:00
2023-01-11 15:19:17 +00:00
## Development
2023-01-11 01:16:25 +00:00
```bash
2023-04-21 15:26:03 +00:00
git clone https://git.chse.dev/chase/lidarr-true-singles.git
2023-01-11 01:16:25 +00:00
cd lidarr-true-singles
npm i
cp .env.example .env
2023-01-11 23:38:44 +00:00
# Edit .env with your Lidarr URL and API Key
2023-01-11 01:16:25 +00:00
node .
```