Added extra debug data
This commit is contained in:
parent
512e2f40c6
commit
c1dc5d00c1
5 changed files with 7 additions and 3 deletions
2
setup.py
2
setup.py
|
|
@ -64,7 +64,7 @@ except:
|
|||
setup(
|
||||
name='devedeng',
|
||||
|
||||
version='4.7.0',
|
||||
version='4.7.1',
|
||||
|
||||
description='A video DVD creator',
|
||||
long_description = "A program that allows to create video DVDs",
|
||||
|
|
|
|||
|
|
@ -89,6 +89,7 @@ class avprobe(devedeng.avbase.avbase):
|
|||
self.original_fps = 0
|
||||
self.original_aspect_ratio = 0
|
||||
|
||||
self.config.append_static_log("Getting data for {:s} with avprobe".format(file_name))
|
||||
try:
|
||||
video_data = json.loads(stdout2)
|
||||
except:
|
||||
|
|
@ -150,4 +151,5 @@ class avprobe(devedeng.avbase.avbase):
|
|||
self.original_length = self.get_time(line[10:])
|
||||
break
|
||||
|
||||
self.config.append_static_log("Estimated length: {:d}; Resolution: {:s}".format(self.original_length,self.original_size))
|
||||
return False # no error
|
||||
|
|
|
|||
|
|
@ -247,4 +247,4 @@ class configuration(GObject.GObject):
|
|||
|
||||
def get_log(self):
|
||||
|
||||
return self.static_log + "\n" + self.log
|
||||
return "Static data:\n\n" + self.static_log + "\n\nDynamic data:\n\n" + self.log
|
||||
|
|
|
|||
|
|
@ -88,6 +88,7 @@ class ffprobe(devedeng.executor.executor):
|
|||
self.original_fps = 0
|
||||
self.original_aspect_ratio = 0
|
||||
|
||||
self.config.append_static_log("Getting data for {:s} with ffprobe".format(file_name))
|
||||
try:
|
||||
video_data = json.loads(stdout2)
|
||||
except:
|
||||
|
|
@ -149,4 +150,5 @@ class ffprobe(devedeng.executor.executor):
|
|||
self.original_length = self.get_time(line[10:])
|
||||
break
|
||||
|
||||
self.config.append_static_log("Estimated length: {:d}; Resolution: {:s}".format(self.original_length,self.original_size))
|
||||
return False # no error
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
[DEFAULT]
|
||||
Depends3 = python3, python-support, python3-urllib3, python3-gi, python3-cairo, python3-gi-cairo, libgtk-3-0 (>=2.16.0), ffmpeg (>= 7:1.2.6) | libav-tools(>= 6:9.16), mplayer, mpv | vlc, dvdauthor, mkisofs | genisoimage, vcdimager, libvorbis0a, libvorbisfile3, python3-pkg-resources
|
||||
Depends3 = python3, python3-urllib3, python3-gi, python3-cairo, python3-gi-cairo, libgtk-3-0 (>=2.16.0), ffmpeg (>= 7:1.2.6) | libav-tools(>= 6:9.16), mplayer, mpv | vlc, dvdauthor, mkisofs | genisoimage, vcdimager, libvorbis0a, libvorbisfile3, python3-pkg-resources
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue