{"id":49439176,"url":"https://github.com/a0a7/publicbroadcastarr","last_synced_at":"2026-04-29T19:09:08.781Z","repository":{"id":303336829,"uuid":"1015130757","full_name":"a0a7/publicbroadcastarr","owner":"a0a7","description":"*arr stack integration for public broadcaster streaming services","archived":false,"fork":false,"pushed_at":"2025-07-07T20:48:12.000Z","size":38,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-05T21:46:35.116Z","etag":null,"topics":["arr","jellyfin","plex"],"latest_commit_sha":null,"homepage":"https://a0a7.github.io/publicbroadcastarr/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/a0a7.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-07T03:53:27.000Z","updated_at":"2025-07-08T07:10:51.000Z","dependencies_parsed_at":"2025-07-07T05:22:42.374Z","dependency_job_id":"0ef76db2-fcb4-45f4-b2a5-bdd5fca861c3","html_url":"https://github.com/a0a7/publicbroadcastarr","commit_stats":null,"previous_names":["a0a7/publicbroadcastarr"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/a0a7/publicbroadcastarr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a0a7%2Fpublicbroadcastarr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a0a7%2Fpublicbroadcastarr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a0a7%2Fpublicbroadcastarr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a0a7%2Fpublicbroadcastarr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a0a7","download_url":"https://codeload.github.com/a0a7/publicbroadcastarr/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a0a7%2Fpublicbroadcastarr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32439495,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T18:12:22.909Z","status":"ssl_error","status_checked_at":"2026-04-29T18:11:33.322Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arr","jellyfin","plex"],"created_at":"2026-04-29T19:09:07.998Z","updated_at":"2026-04-29T19:09:08.773Z","avatar_url":"https://github.com/a0a7.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# svtplayarr\n*arr stack integration for SVT Play and NRK (Swedish and Norwegian public broadcaster streaming services)\n\n## Overview\n\nSVTPlayArr is a service that integrates SVT Play and NRK (the respective public broadcaster streaming services for Sweden and Norway) with your *arr stack. When content is requested through Jellyseerr or Overseerr and is available on SVT Play or NRK, it will be automatically downloaded using svtplay-dl.\n\n## Features\n\n- Automatic content detection on SVT Play and NRK\n- Integration with Jellyseerr and Overseerr webhooks\n- Full svtplay-dl configuration support\n- Automatic Sonarr/Radarr notification after download\n- Daily updates of svtplay-dl from GitHub releases\n- RESTful API for manual operations\n- Configurable download settingsrr stack integration for SVT Play and NRK (Swedish and Norwegian public broadcaster streaming services)\n\n## Installing\n\n### Docker Compose: \n\nChose a container registry: \n\n**Docker Hub:**\n```yaml\nservices:\n  svtplayarr:\n    image: username/svtplayarr:latest\n    # ... rest of config\n```\n\n**GitHub Container Registry:**\n```yaml\nservices:\n  svtplayarr:\n    image: ghcr.io/username/svtplayarr:latest\n    # ... rest of config\n```\n\n## Quick Start\n\n1. Copy the environment file:\n   ```bash\n   cp .env.example .env\n   ```\n\n2. Edit `.env` with your *arr stack configuration:\n   ```bash\n   # Required\n   SONARR_API_KEY=your_api_key\n   RADARR_API_KEY=your_api_key\n   \n   # Paths\n   MOVIES_PATH=/path/to/movies\n   TV_PATH=/path/to/tv\n   ```\n\n3. Start the service:\n   ```bash\n   docker-compose up -d\n   ```\n\n4. Configure Jellyseerr/Overseerr webhook (see Webhook Setup section below)\n\n## Webhook URL Configuration\n\nThe webhook URL depends on your setup:\n\n- **Docker Compose (same network)**: `http://svtplayarr:2626/webhook`\n- **Docker with host networking**: `http://localhost:2626/webhook`\n- **Different networks**: `http://\u003ccontainer-ip\u003e:2626/webhook`\n- **External Jellyseerr**: `http://\u003chost-ip\u003e:2626/webhook`\n\n## Configuration\n\n### Environment Variables\n\n| Variable | Description | Default |\n|----------|-------------|---------|\n| `SONARR_API_KEY` | Sonarr API key | Required |\n| `SONARR_URL` | Sonarr URL | `http://sonarr:8989` |\n| `RADARR_API_KEY` | Radarr API key | Required |\n| `RADARR_URL` | Radarr URL | `http://radarr:7878` |\n| `MOVIES_PATH` | Movies download path | `/downloads/movies` |\n| `TV_PATH` | TV shows download path | `/downloads/tv` |\n| `LOG_LEVEL` | Logging level | `INFO` |\n\n### SVTPlay-dl Options\n\nsvtplay-dl options are configurable via the `config/config.yml` file:\n\n```yaml\nsvtplay_dl:\n  quality: \"best\"          # Video quality\n  subtitle: true           # Download subtitles\n  force_subtitle: false    # Force subtitle download\n  remux: false            # Remux to mkv\n  merge_subtitle: false   # Merge subtitles into video\n  thumbnail: false        # Download thumbnails\n```\n\n## API Endpoints\n\n### GET /health\nHealth check endpoint\n\n### POST /webhook\nJellyseerr/Overseerr webhook endpoint\n\n### GET /webhook/test\nShows webhook format examples and test information\n\n### GET /search?title=\u003ctitle\u003e\u0026type=\u003ctv|movie\u003e\nSearch for content manually\n\n### GET /config\nGet current configuration\n\n### POST /config\nUpdate configuration\n\n## Docker Compose Integration\n\n```yaml\nversion: '3.8'\n\nservices:\n  svtplayarr:\n    build: .\n    container_name: svtplayarr\n    restart: unless-stopped\n    ports:\n      - \"2626:2626\"\n    volumes:\n      - ./config:/config\n      - /path/to/movies:/downloads/movies\n      - /path/to/tv:/downloads/tv\n    environment:\n      - SONARR_API_KEY=your_key\n      - RADARR_API_KEY=your_key\n    networks:\n      - arr-network\n\nnetworks:\n  arr-network:\n    external: true\n```\n\n## Jellyseerr/Overseerr Webhook Setup\n\nThe webhook URL depends on your Docker setup:\n\n### Scenario 1: All services in same Docker Compose network (Recommended)\n1. Go to Jellyseerr/Overseerr Settings → Notifications\n2. Add a new Webhook notification\n3. Set URL to: `http://svtplayarr:2626/webhook`\n4. Enable for \"Media Requested\" events\n5. Set request types to both Movies and TV Shows\n\n### Scenario 2: Jellyseerr/Overseerr on host, SVTPlayArr in Docker\n1. Use URL: `http://localhost:2626/webhook`\n2. Ensure port 2626 is exposed (already configured in docker-compose.yml)\n\n### Scenario 3: Different Docker networks\n1. Use URL: `http://\u003chost-ip\u003e:2626/webhook` where `\u003chost-ip\u003e` is your Docker host IP\n2. Alternative: Connect containers to same network\n\n### Scenario 4: Testing webhook manually\n```bash\ncurl -X POST http://localhost:2626/webhook \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"media\":{\"title\":\"Example Show\",\"mediaType\":\"tv\"}}'\n```\n\n\n## Requirements\n\n- Docker and Docker Compose\n- *arr stack (Jellyseerr/Overseerr, Sonarr, Radarr)\n- Network connectivity to Swedish/Norwegian streaming services\n\n## Troubleshooting\n\n### Logs\n```bash\ndocker-compose logs -f svtplayarr\n```\n\n### Test Connection\n```bash\ncurl http://localhost:2626/health\n```\n\n### Test Webhook Format\n```bash\ncurl http://localhost:2626/webhook/test\n```\n\n### Manual Search\n```bash\ncurl \"http://localhost:2626/search?title=Example%20Show\u0026type=tv\"\n```\n\n## Building\n\n### Local Build\n```bash\n# Build locally\nmake build\n\n# Test locally\nmake test\n\n# Run production\nmake run\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa0a7%2Fpublicbroadcastarr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa0a7%2Fpublicbroadcastarr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa0a7%2Fpublicbroadcastarr/lists"}