fix(pvr): only support v3 arrs (#30)

* fix(pvr): only support v3 apis

* fix(pvr): support v3 sonarr add series
This commit is contained in:
l3uddz
2021-06-11 08:21:38 +01:00
committed by GitHub
parent 5091d78acf
commit 3044c96445
13 changed files with 208 additions and 124 deletions

15
pvr.go
View File

@@ -7,13 +7,14 @@ import (
/* pvr config / filters */
type PvrConfig struct {
Name string `yaml:"name"`
Type string `yaml:"type"`
URL string `yaml:"url"`
ApiKey string `yaml:"api_key"`
QualityProfile string `yaml:"quality_profile"`
RootFolder string `yaml:"root_folder"`
Options struct {
Name string `yaml:"name"`
Type string `yaml:"type"`
URL string `yaml:"url"`
ApiKey string `yaml:"api_key"`
QualityProfile string `yaml:"quality_profile"`
LanguageProfile string `yaml:"language_profile"`
RootFolder string `yaml:"root_folder"`
Options struct {
// add options
AddMonitored *bool `yaml:"add_monitored"`
SearchMissing *bool `yaml:"search_missing"`