Add music (artists and albums) to your Lidarr library.
Create ~/.clawdbot/credentials/lidarr/config.json:
{
"url": "http://192.168.1.50:8686",
"apiKey": "efbd6c29db184911a7b0f4707ae8f10f",
"defaultQualityProfile": 2,
"defaultMetadataProfile": 7
}
defaultQualityProfile: Quality profile ID (FLAC, MP3, etc. — run config to see options)defaultMetadataProfile: Metadata profile ID (albums only, discography, etc. — run config to see options)Typically you'll want FLAC:
bash scripts/lidarr.sh search "Artist Name"
Returns numbered list with MusicBrainz links.
bash scripts/lidarr.sh exists <foreignArtistId>
bash scripts/lidarr.sh add <foreignArtistId>
If artist already exists, this will monitor them instead of failing.
Options:
--discography — add full discography instead of albums only--no-search — don't search immediatelybash scripts/lidarr.sh list-artist-albums <artistId>
Shows all albums with their IDs and monitored status.
bash scripts/lidarr.sh monitor-album <albumId>
Monitor and optionally search for a specific album.
Options:
--no-search — monitor but don't search yetbash scripts/lidarr.sh search "KMFDM"
bash scripts/lidarr.sh exists 45074d7c-5307-44a8-854f-ae072e1622ae
bash scripts/lidarr.sh add 45074d7c-5307-44a8-854f-ae072e1622ae
bash scripts/lidarr.sh add 45074d7c-5307-44a8-854f-ae072e1622ae --discography
bash scripts/lidarr.sh list-artist-albums 382
bash scripts/lidarr.sh monitor-album 11116
bash scripts/lidarr.sh list
bash scripts/lidarr.sh refresh <artistId>
bash scripts/lidarr.sh remove <artistId> # keep files
bash scripts/lidarr.sh remove <artistId> --delete-files # delete files too
bash scripts/lidarr.sh config
共 1 个版本