Added extra debug data

This commit is contained in:
Sergio Costas 2016-07-17 20:52:38 +02:00
parent 512e2f40c6
commit c1dc5d00c1
5 changed files with 7 additions and 3 deletions

View file

@ -64,7 +64,7 @@ except:
setup( setup(
name='devedeng', name='devedeng',
version='4.7.0', version='4.7.1',
description='A video DVD creator', description='A video DVD creator',
long_description = "A program that allows to create video DVDs", long_description = "A program that allows to create video DVDs",

View file

@ -89,6 +89,7 @@ class avprobe(devedeng.avbase.avbase):
self.original_fps = 0 self.original_fps = 0
self.original_aspect_ratio = 0 self.original_aspect_ratio = 0
self.config.append_static_log("Getting data for {:s} with avprobe".format(file_name))
try: try:
video_data = json.loads(stdout2) video_data = json.loads(stdout2)
except: except:
@ -150,4 +151,5 @@ class avprobe(devedeng.avbase.avbase):
self.original_length = self.get_time(line[10:]) self.original_length = self.get_time(line[10:])
break break
self.config.append_static_log("Estimated length: {:d}; Resolution: {:s}".format(self.original_length,self.original_size))
return False # no error return False # no error

View file

@ -247,4 +247,4 @@ class configuration(GObject.GObject):
def get_log(self): 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

View file

@ -88,6 +88,7 @@ class ffprobe(devedeng.executor.executor):
self.original_fps = 0 self.original_fps = 0
self.original_aspect_ratio = 0 self.original_aspect_ratio = 0
self.config.append_static_log("Getting data for {:s} with ffprobe".format(file_name))
try: try:
video_data = json.loads(stdout2) video_data = json.loads(stdout2)
except: except:
@ -149,4 +150,5 @@ class ffprobe(devedeng.executor.executor):
self.original_length = self.get_time(line[10:]) self.original_length = self.get_time(line[10:])
break break
self.config.append_static_log("Estimated length: {:d}; Resolution: {:s}".format(self.original_length,self.original_size))
return False # no error return False # no error

View file

@ -1,2 +1,2 @@
[DEFAULT] [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