mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-12 11:02:21 -05:00
Add location, filesize, subtitles and releasename
to Show.Seasons
This commit is contained in:
parent
8320672669
commit
13ecfd027a
@ -2313,7 +2313,7 @@ class CMD_ShowSeasons(ApiCall):
|
||||
myDB = db.DBConnection(row_type="dict")
|
||||
|
||||
if self.season == None:
|
||||
sqlResults = myDB.select("SELECT name, episode, airdate, status, season FROM tv_episodes WHERE showid = ?",
|
||||
sqlResults = myDB.select("SELECT name, episode, airdate, status, release_name, season, location, file_size, subtitles FROM tv_episodes WHERE showid = ?",
|
||||
[self.indexerid])
|
||||
seasons = {}
|
||||
for row in sqlResults:
|
||||
@ -2332,7 +2332,7 @@ class CMD_ShowSeasons(ApiCall):
|
||||
|
||||
else:
|
||||
sqlResults = myDB.select(
|
||||
"SELECT name, episode, airdate, status FROM tv_episodes WHERE showid = ? AND season = ?",
|
||||
"SELECT name, episode, airdate, status, location, file_size, release_name, subtitles FROM tv_episodes WHERE showid = ? AND season = ?",
|
||||
[self.indexerid, self.season])
|
||||
if len(sqlResults) is 0:
|
||||
return _responds(RESULT_FAILURE, msg="Season not found")
|
||||
|
Loading…
Reference in New Issue
Block a user