Fix API typo and a regression 'archivefirstmatch'.

This commit is contained in:
JackDandy 2018-02-03 23:46:28 +00:00
parent 9a7d853267
commit 50b7551d91
2 changed files with 6 additions and 4 deletions

View file

@ -94,6 +94,8 @@
[develop changelog]
* Fix API typo and a regression 'archivefirstmatch'
### 0.14.1 (2018-02-03 22:40:00 UTC)

View file

@ -2922,8 +2922,8 @@ class CMD_SickGearShow(ApiCall):
showDict["network"] = ""
showDict["status"] = showObj.status
showDict["scenenumbering"] = showObj.is_scene
showDict["archivefirstmatch"] = showObj.upgrade_once
showDict["irgnorewords"] = showObj.rls_ignore_words
showDict["upgrade_once"] = showObj.upgrade_once
showDict["ignorewords"] = showObj.rls_ignore_words
showDict["requirewords"] = showObj.rls_require_words
if self.overview:
showDict["overview"] = showObj.overview
@ -4127,8 +4127,8 @@ class CMD_SickGearShows(ApiCall):
"status": curShow.status,
"subtitles": curShow.subtitles,
"scenenumbering": curShow.is_scene,
"archivefirstmatch": curShow.upgrade_once,
"irgnorewords": curShow.rls_ignore_words,
"upgrade_once": curShow.upgrade_once,
"ignorewords": curShow.rls_ignore_words,
"requirewords": curShow.rls_require_words,
"tag": curShow.tag,
"imdb_id": curShow.imdbid,