{"skill":{"slug":"sonarr-fixed","displayName":"Sonarr Fixed","summary":"Search and add TV shows to Sonarr. Supports monitor options, search-on-add. FORK of jordyvandomselaar/sonarr with fixed metadata.","description":"---\nname: sonarr-fixed\nversion: 1.0.2\ndescription: Search and add TV shows to Sonarr. Supports monitor options, search-on-add. FORK of jordyvandomselaar/sonarr with fixed metadata.\nmetadata:\n  openclaw:\n    emoji: \"📺\"\n    requires:\n      bins:\n        - curl\n        - jq\n      config:\n        - path: ~/.openclaw/credentials/sonarr/config.json\n          description: \"Sonarr API configuration with url, apiKey, and defaultQualityProfile\"\n      env:\n        - name: SONARR_URL\n          optional: true\n          description: \"Sonarr instance URL (overrides config file)\"\n        - name: SONARR_API_KEY\n          optional: true\n          description: \"Sonarr API key (overrides config file)\"\n    fork:\n      original: jordyvandomselaar/sonarr\n      original_url: https://clawhub.com/jordyvandomselaar/sonarr\n      reason: \"Fixed metadata to properly declare required credentials and config paths\"\n---\n\n# Sonarr (Fixed)\n\n**⚠️ FORK NOTICE:** This is a fork of [jordyvandomselaar/sonarr](https://clawhub.com/jordyvandomselaar/sonarr) with corrected metadata declarations.\n\nAdd TV shows to your Sonarr library.\n\n## Setup\n\nCreate `~/.openclaw/credentials/sonarr/config.json`:\n```json\n{\n  \"url\": \"http://localhost:8989\",\n  \"apiKey\": \"your-api-key\",\n  \"defaultQualityProfile\": 1\n}\n```\n- `defaultQualityProfile`: Quality profile ID (run `config` to see options)\n\n### Alternative: Environment Variables\nInstead of config file, you can use:\n- `SONARR_URL` - Sonarr instance URL\n- `SONARR_API_KEY` - Sonarr API key\n\n## Workflow\n\n1. **Search**: `search \"Show Name\"` - returns numbered list\n2. **Present results with TVDB links** - always show clickable links\n3. **Check**: User picks a number\n4. **Add**: Add show and start search\n\n## Important\n- **Always include TVDB links** when presenting search results to user\n- Format: `[Title (Year)](https://thetvdb.com/series/SLUG)`\n- Uses `defaultQualityProfile` from config; can override per-add\n\n## Commands\n\n### Search for shows\n```bash\nbash scripts/sonarr.sh search \"Breaking Bad\"\n```\n\n### Check if show exists in library\n```bash\nbash scripts/sonarr.sh exists <tvdbId>\n```\n\n### Add a show (searches immediately by default)\n```bash\nbash scripts/sonarr.sh add <tvdbId>              # searches right away\nbash scripts/sonarr.sh add <tvdbId> --no-search  # don't search\n```\n\n### Remove a show\n```bash\nbash scripts/sonarr.sh remove <tvdbId>                # keep files\nbash scripts/sonarr.sh remove <tvdbId> --delete-files # delete files too\n```\n**Always ask user if they want to delete files when removing!**\n\n### Get root folders & quality profiles (for config)\n```bash\nbash scripts/sonarr.sh config\n```\n\n---\n*Original skill by [jordyvandomselaar](https://clawhub.com/jordyvandomselaar). Fork maintained with permission under open source principles.*\n","tags":{"latest":"1.0.2"},"stats":{"comments":0,"downloads":891,"installsAllTime":33,"installsCurrent":0,"stars":0,"versions":1},"createdAt":1771933701406,"updatedAt":1778992859588},"latestVersion":{"version":"1.0.2","createdAt":1771933701406,"changelog":"- Forked from jordyvandomselaar/sonarr; metadata declarations are fixed.\n- Corrected required config paths and credentials in metadata.\n- Enhanced documentation for setup, config, and workflow instructions.\n- No functional changes; update primarily clarifies setup and ensures proper credential handling.","license":null},"metadata":{"setup":[{"key":"[object Object]","required":true}],"os":null,"systems":null},"owner":{"handle":"frannunpal","userId":"s175x39kqqthb0607nz1przacs8855pe","displayName":"frannunpal","image":"https://avatars.githubusercontent.com/u/168190082?v=4"},"moderation":null}