mirror of
https://github.com/Jackett/Jackett
synced 2025-03-09 13:52:03 +00:00
uploadcx: add tv support (#15220)
This commit is contained in:
parent
39506fdf2c
commit
7eae98ae9a
1 changed files with 11 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
id: uploadcx
|
id: uploadcx
|
||||||
name: upload.cx
|
name: upload.cx
|
||||||
description: "upload.cx is a Private Torrent Tracker for MOVIES"
|
description: "upload.cx is a Private Torrent Tracker for MOVIES / TV"
|
||||||
language: en-US
|
language: en-US
|
||||||
type: private
|
type: private
|
||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
|
@ -11,9 +11,10 @@ links:
|
||||||
caps:
|
caps:
|
||||||
categorymappings:
|
categorymappings:
|
||||||
- {id: 1, cat: Movies, desc: "Movies"}
|
- {id: 1, cat: Movies, desc: "Movies"}
|
||||||
|
- {id: 2, cat: TV, desc: "TV"}
|
||||||
modes:
|
modes:
|
||||||
search: [q]
|
search: [q]
|
||||||
|
tv-search: [q, season, ep, imdbid, tvdbid, tmdbid]
|
||||||
movie-search: [q, imdbid, tmdbid]
|
movie-search: [q, imdbid, tmdbid]
|
||||||
|
|
||||||
settings:
|
settings:
|
||||||
|
@ -72,8 +73,11 @@ search:
|
||||||
# if we have an id based search, add Season and Episode as query in name for UNIT3D < v6. Else pass S/E Params for UNIT3D >= v6
|
# if we have an id based search, add Season and Episode as query in name for UNIT3D < v6. Else pass S/E Params for UNIT3D >= v6
|
||||||
$raw: "{{ range .Categories }}&categories[]={{.}}{{end}}"
|
$raw: "{{ range .Categories }}&categories[]={{.}}{{end}}"
|
||||||
name: "{{ .Keywords }}"
|
name: "{{ .Keywords }}"
|
||||||
|
seasonNumber: "{{ .Query.Season }}"
|
||||||
|
episodeNumber: "{{ .Query.Ep }}"
|
||||||
imdbId: "{{ .Query.IMDBIDShort }}"
|
imdbId: "{{ .Query.IMDBIDShort }}"
|
||||||
tmdbId: "{{ .Query.TMDBID }}"
|
tmdbId: "{{ .Query.TMDBID }}"
|
||||||
|
tvdbId: "{{ .Query.TVDBID }}"
|
||||||
"free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}"
|
"free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}"
|
||||||
sortField: "{{ .Config.sort }}"
|
sortField: "{{ .Config.sort }}"
|
||||||
sortDirection: "{{ .Config.type }}"
|
sortDirection: "{{ .Config.type }}"
|
||||||
|
@ -107,6 +111,8 @@ search:
|
||||||
selector: imdb_id
|
selector: imdb_id
|
||||||
tmdbid:
|
tmdbid:
|
||||||
selector: tmdb_id
|
selector: tmdb_id
|
||||||
|
tvdbid:
|
||||||
|
selector: tvdb_id
|
||||||
genre:
|
genre:
|
||||||
selector: meta.genres
|
selector: meta.genres
|
||||||
filters:
|
filters:
|
||||||
|
@ -116,6 +122,8 @@ search:
|
||||||
args: ["(?i)(Science Fiction)", "Science_Fiction"]
|
args: ["(?i)(Science Fiction)", "Science_Fiction"]
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["(?i)(TV Movie)", "TV_Movie"]
|
args: ["(?i)(TV Movie)", "TV_Movie"]
|
||||||
|
- name: replace
|
||||||
|
args: [" & ", "_&_"]
|
||||||
description:
|
description:
|
||||||
text: "{{ .Result.genre }}"
|
text: "{{ .Result.genre }}"
|
||||||
files:
|
files:
|
||||||
|
|
Loading…
Add table
Reference in a new issue