mirror of
https://github.com/moparisthebest/SickRage
synced 2024-11-16 06:15:09 -05:00
Merge pull request #973 from Hellowlol/apishowmore2
Add more info to api command show
This commit is contained in:
commit
dcd4a0c602
@ -1951,6 +1951,20 @@ class CMD_Show(ApiCall):
|
|||||||
showDict["sports"] = showObj.sports
|
showDict["sports"] = showObj.sports
|
||||||
showDict["anime"] = showObj.anime
|
showDict["anime"] = showObj.anime
|
||||||
showDict["airs"] = str(showObj.airs).replace('am', ' AM').replace('pm', ' PM').replace(' ', ' ')
|
showDict["airs"] = str(showObj.airs).replace('am', ' AM').replace('pm', ' PM').replace(' ', ' ')
|
||||||
|
showDict["dvdorder"] = showObj.dvdorder
|
||||||
|
|
||||||
|
if showObj.rls_require_words:
|
||||||
|
showDict["rls_require_words"] = showObj.rls_require_words.split(", ")
|
||||||
|
else:
|
||||||
|
showDict["rls_require_words"] = []
|
||||||
|
|
||||||
|
if showObj.rls_ignore_words:
|
||||||
|
showDict["rls_ignore_words"] = showObj.rls_ignore_words.split(", ")
|
||||||
|
else:
|
||||||
|
showDict["rls_ignore_words"] = []
|
||||||
|
|
||||||
|
showDict["scene"] = showObj.scene
|
||||||
|
showDict["archive_firstmatch"] = showObj.archive_firstmatch
|
||||||
|
|
||||||
showDict["indexerid"] = showObj.indexerid
|
showDict["indexerid"] = showObj.indexerid
|
||||||
showDict["tvdbid"] = helpers.mapIndexersToShow(showObj)[1]
|
showDict["tvdbid"] = helpers.mapIndexersToShow(showObj)[1]
|
||||||
|
Loading…
Reference in New Issue
Block a user