mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +00:00
Merge pull request #160 from adam111316/feature/FixBlackWhiteInit
Fix black and white list initialization on new show creation
This commit is contained in:
commit
94724779a3
2 changed files with 5 additions and 0 deletions
|
@ -14,6 +14,7 @@
|
|||
* Change adjust menu delay and hover styling
|
||||
* Fix provider list color
|
||||
* Add handling of exceptional case with missing network name (NoneType) in Episode View
|
||||
* Fix black and white list initialization on new show creation
|
||||
|
||||
[develop changelog]
|
||||
|
||||
|
|
|
@ -29,6 +29,7 @@ from sickbeard import exceptions, logger, ui, db
|
|||
from sickbeard import generic_queue
|
||||
from sickbeard import name_cache
|
||||
from sickbeard.exceptions import ex
|
||||
from sickbeard.blackandwhitelist import BlackAndWhiteList
|
||||
|
||||
|
||||
class ShowQueue(generic_queue.GenericQueue):
|
||||
|
@ -293,6 +294,9 @@ class QueueItemAdd(ShowQueueItem):
|
|||
self.show.scene = self.scene if self.scene != None else sickbeard.SCENE_DEFAULT
|
||||
self.show.paused = self.paused if self.paused != None else False
|
||||
|
||||
if self.show.anime:
|
||||
self.show.release_groups = BlackAndWhiteList(self.show.indexerid)
|
||||
|
||||
# be smartish about this
|
||||
if self.show.genre and "talk show" in self.show.genre.lower():
|
||||
self.show.air_by_date = 1
|
||||
|
|
Loading…
Reference in a new issue