Fixes Issue #2 #4
@ -65,9 +65,9 @@ class Mediasite:
|
|||||||
with open(demux_file, 'w') as f:
|
with open(demux_file, 'w') as f:
|
||||||
for slide in data['slides']:
|
for slide in data['slides']:
|
||||||
myslide = { 'url': os.path.join(slides_path, self._download(slides_path, slide['url'], session)),
|
myslide = { 'url': os.path.join(slides_path, self._download(slides_path, slide['url'], session)),
|
||||||
'duration': slide['duration'] }
|
'duration': slide['time'] }
|
||||||
f.write('file \'{}\'\n'.format(myslide['url']))
|
f.write('file \'{}\'\n'.format(myslide['url']))
|
||||||
f.write('duration {}\n'.format(slide['duration']))
|
f.write('duration {}\n'.format(slide['time']))
|
||||||
mypackage['slides'].append(myslide)
|
mypackage['slides'].append(myslide)
|
||||||
|
|
||||||
# to accomodate for an ffmpeg quirk that needs the last slide twice
|
# to accomodate for an ffmpeg quirk that needs the last slide twice
|
||||||
|
Loading…
x
Reference in New Issue
Block a user