mvgroup: optional cat config support for torznab app compatibility

This commit is contained in:
Garfield69
2020-10-21 16:56:20 +13:00
parent cdf473e250
commit ce378eec69
2 changed files with 26 additions and 14 deletions

View File

@@ -11,8 +11,10 @@ legacylinks:
- http://forums.mvgroup.org/ - http://forums.mvgroup.org/
caps: caps:
categorymappings: categories:
- {id: 1, cat: TV, desc: "TV"} 1: TV
2: Movies
3: Other
modes: modes:
search: [q] search: [q]
@@ -26,6 +28,14 @@ settings:
- name: password - name: password
type: password type: password
label: Password label: Password
- name: category-id
type: select
label: The MVGroup web site does not provide categories. Select the category you want Jackett to set on all results returned.
default: 3
options:
1: TV
2: Movies
3: Other
- name: hidef - name: hidef
type: checkbox type: checkbox
label: Show MVGroup HiDef Releases only label: Show MVGroup HiDef Releases only
@@ -98,10 +108,6 @@ settings:
type: checkbox type: checkbox
label: Strip the S01E01 from the Torznab search requests label: Strip the S01E01 from the Torznab search requests
default: false default: false
- name: info
type: info
label: Category for Sonarr and Radarr
default: MVGroup does not use categories. In your Sonarr or Radarr Torznab Indexer settings, set the category to 100001.
- name: sort - name: sort
type: select type: select
label: Sort requested from site label: Sort requested from site
@@ -156,7 +162,7 @@ search:
fields: fields:
category: category:
text: 1 text: "{{ .Config.category-id }}"
title: title:
# fallback title (to prevent abend if optional is not found) # fallback title (to prevent abend if optional is not found)
text: "title not found" text: "title not found"

View File

@@ -11,8 +11,10 @@ legacylinks:
- http://forums.mvgroup.org/ - http://forums.mvgroup.org/
caps: caps:
categorymappings: categories:
- {id: 1, cat: TV, desc: "TV"} 1: TV
2: Movies
3: Other
modes: modes:
search: [q] search: [q]
@@ -26,6 +28,14 @@ settings:
- name: password - name: password
type: password type: password
label: Password label: Password
- name: category-id
type: select
label: The MVGroup web site does not provide categories. Select the category you want Jackett to set on all results returned.
default: 3
options:
1: TV
2: Movies
3: Other
- name: hidef - name: hidef
type: checkbox type: checkbox
label: Show MVGroup HiDef Releases only label: Show MVGroup HiDef Releases only
@@ -98,10 +108,6 @@ settings:
type: checkbox type: checkbox
label: Strip the S01E01 from the Torznab search requests label: Strip the S01E01 from the Torznab search requests
default: false default: false
- name: info
type: info
label: Category for Sonarr and Radarr
default: MVGroup does not use categories. In your Sonarr or Radarr Torznab Indexer settings, set the category to 100001.
- name: sort - name: sort
type: select type: select
label: Sort requested from site label: Sort requested from site
@@ -156,7 +162,7 @@ search:
fields: fields:
category: category:
text: 1 text: "{{ .Config.category-id }}"
title: title:
# fallback title (to prevent abend if optional is not found) # fallback title (to prevent abend if optional is not found)
text: "title not found" text: "title not found"