assorted yml: only provide music parms that are actually supported in indexers #9895

these were existing music-search modes that incorectly specified the complete parm list despite, in most cases only actually using artist and occasionally album
This commit is contained in:
Garfield69
2020-10-19 15:01:48 +13:00
parent 1e42016546
commit 4682615257
17 changed files with 24 additions and 25 deletions

View File

@@ -130,7 +130,7 @@ caps:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
music-search: [q, album, artist, label, year]
music-search: [q, album, artist]
book-search: [q]
settings:

View File

@@ -16,7 +16,7 @@ caps:
modes:
search: [q]
music-search: [q, album, artist, label, year]
music-search: [q, artist]
settings:
- name: sort

View File

@@ -14,7 +14,7 @@ caps:
modes:
search: [q]
music-search: [q, album, artist, label, year]
music-search: [q, album, artist]
settings:
- name: username

View File

@@ -16,7 +16,7 @@ caps:
modes:
search: [q]
music-search: [q, album, artist, label, year]
music-search: [q, artist]
login:
path: login.php

View File

@@ -54,7 +54,7 @@ caps:
modes:
search: [q]
movie-search: [q]
music-search: [q, album, artist, label, year]
music-search: [q, artist]
book-search: [q]
login:
@@ -93,8 +93,8 @@ search:
category:
optional: true
case:
a[href="/browse.php?ext=1&bitrate=Lossless"]: "3040"
a[href="/browse.php?ext=1&format=MP3"]: "3010"
a[href="/browse.php?ext=1&bitrate=Lossless"]: 3040
a[href="/browse.php?ext=1&format=MP3"]: 3010
details:
selector: a[href^="details.php?id="]
attribute: href
@@ -113,15 +113,14 @@ search:
selector: td:nth-child(7)
filters:
- name: append
args: " +0000"
args: " +00:00" # GMT
- name: dateparse
args: "2006-01-0215:04:05 -0700"
args: "2006-01-0215:04:05 -07:00"
grabs:
selector: td:nth-child(9)
downloadvolumefactor:
case:
img[alt="Free Leech"]: "0"
"*": "1"
img[alt="Free Leech"]: 0
"*": 1
uploadvolumefactor:
case:
"*": "1"
text: 1

View File

@@ -25,7 +25,7 @@ caps:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
music-search: [q, album, artist, label, year]
music-search: [q, artist]
login:
path: login.php

View File

@@ -14,7 +14,7 @@ caps:
modes:
search: [q]
music-search: [q, album, artist, label, year]
music-search: [q, artist]
login:
path: takelogin.php

View File

@@ -18,7 +18,7 @@ caps:
modes:
search: [q]
music-search: [q, album, artist, label, year]
music-search: [q, album, artist]
book-search: [q]
settings:

View File

@@ -37,7 +37,7 @@ caps:
modes:
search: [q]
music-search: [q, album, artist, label, year]
music-search: [q, artist]
login:
path: takelogin.php

View File

@@ -26,7 +26,7 @@ caps:
search: [q]
tv-search: [q]
movie-search: [q]
music-search: [q, album, artist, label, year]
music-search: [q, artist]
book-search: [q]
settings:

View File

@@ -20,7 +20,7 @@ caps:
modes:
search: [q]
music-search: [q, album, artist, label, year]
music-search: [q, artist]
settings:
- name: cookie

View File

@@ -14,7 +14,7 @@ caps:
modes:
search: [q]
music-search: [q, album, artist, label, year]
music-search: [q, album, artist]
settings:
- name: username

View File

@@ -16,7 +16,7 @@ caps:
modes:
search: [q]
music-search: [q, album, artist, label, year]
music-search: [q, artist]
login:
path: login.php

View File

@@ -14,7 +14,7 @@ caps:
modes:
search: [q]
music-search: [q, album, artist, label, year]
music-search: [q, artist]
login:
path: takelogin.php

View File

@@ -14,7 +14,7 @@ caps:
modes:
search: [q]
music-search: [q, album, artist, label, year]
music-search: [q, artist]
login:
path: takelogin.php

View File

@@ -35,7 +35,7 @@ caps:
modes:
search: [q]
music-search: [q, album, artist, label, year]
music-search: [q, artist]
settings:
- name: username

View File

@@ -80,7 +80,7 @@ caps:
modes:
search: [q]
music-search: [q, album, artist, label, year]
music-search: [q, album, artist]
settings:
- name: username