{"id":22309105,"url":"https://github.com/yevrag35/poshsonarr","last_synced_at":"2025-07-29T06:31:34.334Z","repository":{"id":38067377,"uuid":"146218392","full_name":"Yevrag35/PoshSonarr","owner":"Yevrag35","description":"A project aimed at creating a PowerShell module for querying and managing Sonarr PVR.","archived":false,"fork":false,"pushed_at":"2024-12-21T01:27:58.000Z","size":4186,"stargazers_count":12,"open_issues_count":6,"forks_count":3,"subscribers_count":3,"default_branch":"realDev","last_synced_at":"2025-04-05T09:03:14.470Z","etag":null,"topics":["powershell","pvr","shows","sonarr","tv"],"latest_commit_sha":null,"homepage":"https://www.powershellgallery.com/packages/PoshSonarr","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Yevrag35.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}},"created_at":"2018-08-26T21:39:23.000Z","updated_at":"2024-12-15T19:50:13.000Z","dependencies_parsed_at":"2024-12-11T01:21:54.252Z","dependency_job_id":"18ee4d0d-327a-4b50-8cbb-812b204b8f74","html_url":"https://github.com/Yevrag35/PoshSonarr","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/Yevrag35/PoshSonarr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yevrag35%2FPoshSonarr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yevrag35%2FPoshSonarr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yevrag35%2FPoshSonarr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yevrag35%2FPoshSonarr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Yevrag35","download_url":"https://codeload.github.com/Yevrag35/PoshSonarr/tar.gz/refs/heads/realDev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yevrag35%2FPoshSonarr/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267639569,"owners_count":24119780,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["powershell","pvr","shows","sonarr","tv"],"created_at":"2024-12-03T20:16:54.709Z","updated_at":"2025-07-29T06:31:33.877Z","avatar_url":"https://github.com/Yevrag35.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003cimg height=\"30px\" src=\"./.img/PoshSonarr.png\" alt=\"PoshSonarr\"\u003e\u003c/img\u003e PoshSonarr-NEXT\n\n[![version](https://img.shields.io/powershellgallery/v/PoshSonarr.svg?include_prereleases)](https://www.powershellgallery.com/packages/PoshSonarr)\n[![downloads](https://img.shields.io/powershellgallery/dt/PoshSonarr.svg?label=downloads)](https://www.powershellgallery.com/stats/packages/PoshSonarr?groupby=Version)\n[![Codacy Badge](https://app.codacy.com/project/badge/Grade/607129c30165413e816aa0cdad1845d0)](https://app.codacy.com/gh/Yevrag35/PoshSonarr/dashboard?utm_source=gh\u0026utm_medium=referral\u0026utm_content=\u0026utm_campaign=Badge_grade)\n\nIntroducing a completely, redesigned, overhauled version of PoshSonarr.  In order to become the flexible module that I envisioned, I had to take a completely new approach.  Gone are the static types and the needlessly complex, rigid architecture of the previous cmdlets.  The NEXT cmdlets are lighter, more error-resistant, and more flexible in accounting for the changes the [Sonarr PVR API](https://sonarr.tv/docs/api) brings in every update.\n\n## COMPATIBILITY\n\nIn addition to this, I am making the executive decision to only write the NEXT versions of the module for [PowerShell 7](https://github.com/PowerShell/PowerShell/releases/latest) and up (previously known as PowerShell Core).  Doing so will allow me to focus on making the library easier to develop and to take advantage of some key functionality that PowerShell 7's SDK brings to the table.\n\n## Using\n\nTo get started, connect to Sonarr with \"Connect-SonarrInstance\" _(Connect-Sonarr)_ cmdlet:\n\n```powershell\n# By Server and Port -- (8989 is the default port)\nConnect-Sonarr -Server \"MEDIASERVER\" -ApiKey \"xxxxxxxxxxxxxxxx\"\n\n   Version Authentication Url                        StartupPath\n   ------- -------------- ---                        -----------\n2.0.0.5322      forms      http://MEDIASERVER:8989/   C:\\ProgramData\\NzbDrone\\bin\n\n# By explicit URL\nConnect-Sonarr -Url \"https://sonarr-api.cloud.com\" -ApiKey \"xxxxxxxxxxxx\"\n\n# If you have a reverse proxy that strips away the \"/api\" path, use the \"-NoApiPrefix\" switch.\n\nConnect-Sonarr -Url \"http://sonarr:8989/sonarr\" ...\n```\n\n[See the wiki](https://github.com/Yevrag35/PoshSonarr/wiki) for more information about reverse proxy situations.\n\nAn example of some commands in action:\n\n```powershell\n# Set Season 3 of a series to 'Not Monitored'\n$series = Get-SonarrSeries -Name 24\n$series.Seasons[2].Monitored = $false\n$series | Update-SonarrSeries\n\n# Search for a particular series and add it to Sonarr\nSearch-SonarrSeries \"The X-Files\" | Add-SonarrSeries -RootFolderPath \"\\\\NAS\\Shows\" -IgnoreEpisodesWithFiles -SearchForMissingEpisodes -UseSeasonFolders\n```\n\n---\n\n## Cmdlets\n\nThe following is the list of the working cmdlets:\n\n1. Add-SonarrRelease\n1. Add-SonarrSeries\n1. Add-SonarrTag\n1. Clear-SonarrLog\n1. [Connect-SonarrInstance](https://github.com/Yevrag35/PoshSonarr/wiki/Connect-SonarrInstance) - _(Connect-Sonarr)_\n1. [Get-SonarrBackup](https://github.com/Yevrag35/PoshSonarr/wiki/Get-SonarrBackup)\n1. Get-SonarrCalendar\n1. Get-SonarrCommand - _(Get-SonarrJob)_\n1. Get-SonarrDelayProfile\n1. Get-SonarrDiskspace\n1. Get-SonarrDownloadClient\n1. Get-SonarrEpisode\n1. Get-SonarrEpisodeFile\n1. Get-SonarrHistory\n1. Get-SonarrHostConfig\n1. Get-SonarrLog\n1. Get-SonarrLogFile\n1. Get-SonarrMapping\n1. Get-SonarrMediaManagement\n1. Get-SonarrMetadata\n1. Get-SonarrNotification - _(Get-SonarrConnection)_\n1. Get-SonarrQualityProfile - _(Get-SonarrProfile)_\n1. Get-SonarrQueue\n1. Get-SonarrRelease - * _renamed to Search-SonarrRelease (left behind as alias...)_\n1. Get-SonarrRestriction\n1. Get-SonarrRootFolder\n1. Get-SonarrSeries\n1. Get-SonarrStatus\n1. Get-SonarrTag\n1. Get-SonarrUpdate\n1. Get-SonarrWantedMissing\n1. Invoke-SonarrBackup - _(Backup-Sonarr)_\n1. Invoke-SonarrEpisodeSearch\n1. Invoke-SonarrRssSync\n1. Invoke-SonarrSeasonSearch\n1. Invoke-SonarrSeriesRefresh\n1. Invoke-SonarrSeriesRescan\n1. Invoke-SonarrSeriesSearch\n1. New-SonarrDelayProfile\n1. New-SonarrMapping\n1. New-SonarrPlexNotification - _(New-PlexNotification)_\n1. New-SonarrQualityProfile - _(New-SonarrProfile)_\n1. New-SonarrReleasePush\n1. New-SonarrRestriction\n1. New-SonarrTag\n1. Register-SonarrRootFolder _(New-SonarrRootFolder)_\n1. Remove-SonarrEpisodeFile\n1. Remove-SonarrMapping\n1. Remove-SonarrQualityProfile - _(Remove-SonarrProfile)_\n1. Remove-SonarrQueueItem\n1. Remove-SonarrRestriction\n1. Remove-SonarrRootFolder\n1. Remove-SonarrSeries\n1. Remove-SonarrTag\n1. Rename-SonarrTag - _* (was Set-SonarrTag)_\n1. Restart-SonarrInstance - _(Restart-Sonarr)_\n1. Save-SonarrLogFile\n1. Search-SonarrDirectory\n1. Search-SonarrRelease\n1. Search-SonarrSeries\n1. Set-SonarrDelayProfile\n1. Set-SonarrEpisode\n1. Set-SonarrHostConfig\n1. Set-SonarrMapping\n1. Set-SonarrRestriction\n1. Set-SonarrSeries - _* (was Update-SonarrSeries)_\n1. Set-SonarrTag - _* (renamed to Rename-SonarrTag; left behind as alias)_\n1. Update-SonarrDownloadClient\n1. Update-SonarrMediaManagement\n1. Update-SonarrMetadata\n1. Update-SonarrQualityProfile _(Set-SonarrQualityProfile/Update-SonarrProfile/Set-SonarrProfile)_\n1. Update-SonarrRestriction\n1. Update-SonarrSeries - _* (renamed to Set-SonarrSeries; left behind as alias)_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyevrag35%2Fposhsonarr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyevrag35%2Fposhsonarr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyevrag35%2Fposhsonarr/lists"}