mirror of
https://github.com/moparisthebest/SickRage
synced 2024-11-11 03:45:01 -05:00
Merge branch 'origin/dev'
This commit is contained in:
commit
e4a4d285e8
@ -206,7 +206,7 @@ def set_scene_numbering(indexer_id, indexer, season=None, episode=None, absolute
|
||||
|
||||
myDB = db.DBConnection()
|
||||
|
||||
if season and episode and sceneSeason and sceneEpisode:
|
||||
if season and episode:
|
||||
myDB.action(
|
||||
"INSERT OR IGNORE INTO scene_numbering (indexer, indexer_id, season, episode) VALUES (?,?,?,?)",
|
||||
[indexer, indexer_id, season, episode])
|
||||
@ -214,7 +214,7 @@ def set_scene_numbering(indexer_id, indexer, season=None, episode=None, absolute
|
||||
myDB.action(
|
||||
"UPDATE scene_numbering SET scene_season = ?, scene_episode = ? WHERE indexer = ? and indexer_id = ? and season = ? and episode = ?",
|
||||
[sceneSeason, sceneEpisode, indexer, indexer_id, season, episode])
|
||||
elif absolute_number and sceneAbsolute:
|
||||
elif absolute_number:
|
||||
myDB.action(
|
||||
"INSERT OR IGNORE INTO scene_numbering (indexer, indexer_id, absolute_number) VALUES (?,?,?)",
|
||||
[indexer, indexer_id, absolute_number])
|
||||
|
@ -109,7 +109,7 @@ class ShowQueue(generic_queue.GenericQueue):
|
||||
logger.DEBUG)
|
||||
return
|
||||
|
||||
queueItemObj = QueueItemRefresh(show)
|
||||
queueItemObj = QueueItemRefresh(show, force=force)
|
||||
|
||||
self.add_item(queueItemObj)
|
||||
|
||||
|
@ -2976,9 +2976,6 @@ class Home:
|
||||
|
||||
showObj.exceptions = scene_exceptions.get_scene_exceptions(showObj.indexerid)
|
||||
|
||||
# Update scene numbering in DB
|
||||
sickbeard.scene_numbering.xem_refresh(showObj.indexerid, showObj.indexer)
|
||||
|
||||
myDB = db.DBConnection()
|
||||
|
||||
seasonResults = myDB.select(
|
||||
|
Loading…
Reference in New Issue
Block a user