dont delete subtitles except for 0xdb, needs to be fixed by moving parts by offset
This commit is contained in:
parent
e8322f276d
commit
ede2fbc99a
1 changed files with 1 additions and 1 deletions
|
@ -1299,7 +1299,7 @@ class Item(models.Model):
|
||||||
|
|
||||||
def load_subtitles(self):
|
def load_subtitles(self):
|
||||||
subtitles = utils.get_by_key(settings.CONFIG['layers'], 'isSubtitles', True)
|
subtitles = utils.get_by_key(settings.CONFIG['layers'], 'isSubtitles', True)
|
||||||
if not subtitles:
|
if not settings.USE_IMDB or not subtitles:
|
||||||
return False
|
return False
|
||||||
with transaction.commit_on_success():
|
with transaction.commit_on_success():
|
||||||
layer = subtitles['id']
|
layer = subtitles['id']
|
||||||
|
|
Loading…
Reference in a new issue