duration not needed for subtitle updates
This commit is contained in:
parent
8268166b77
commit
f8bb75cd5b
2 changed files with 0 additions and 2 deletions
|
@ -13,7 +13,6 @@ class Command(BaseCommand):
|
||||||
|
|
||||||
def add_arguments(self, parser):
|
def add_arguments(self, parser):
|
||||||
parser.add_argument('--prefix', action='store', dest='prefix', default="/srv/t_for_time", help='prefix to build clips in')
|
parser.add_argument('--prefix', action='store', dest='prefix', default="/srv/t_for_time", help='prefix to build clips in')
|
||||||
parser.add_argument('--duration', action='store', dest='duration', default="3600", help='target duration of all fragments in seconds')
|
|
||||||
parser.add_argument('--offset', action='store', dest='offset', default="1024", help='inital offset in pi')
|
parser.add_argument('--offset', action='store', dest='offset', default="1024", help='inital offset in pi')
|
||||||
parser.add_argument('--lang', action='store', dest='lang', default=None, help='subtitle language')
|
parser.add_argument('--lang', action='store', dest='lang', default=None, help='subtitle language')
|
||||||
|
|
||||||
|
|
|
@ -606,7 +606,6 @@ def update_subtitles(options):
|
||||||
import item.models
|
import item.models
|
||||||
|
|
||||||
prefix = Path(options['prefix'])
|
prefix = Path(options['prefix'])
|
||||||
duration = int(options['duration'])
|
|
||||||
base = int(options['offset'])
|
base = int(options['offset'])
|
||||||
lang = options["lang"]
|
lang = options["lang"]
|
||||||
if lang and "," in lang:
|
if lang and "," in lang:
|
||||||
|
|
Loading…
Reference in a new issue