Fixes Issue #2 #4

Merged
dafo5502 merged 59 commits from developer into master 2021-10-25 14:41:37 +02:00
Showing only changes of commit f42ac62131 - Show all commits

View File

@ -65,9 +65,9 @@ class Mediasite:
with open(demux_file, 'w') as f:
for slide in data['slides']:
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('duration {}\n'.format(slide['duration']))
f.write('duration {}\n'.format(slide['time']))
mypackage['slides'].append(myslide)
# to accomodate for an ffmpeg quirk that needs the last slide twice