From: yomguy Date: Thu, 30 Sep 2010 11:06:04 +0000 (+0000) Subject: 'cleanup' X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=4d8b7b4381761d20b30150068bebecde465dee7f;p=tools.git 'cleanup' git-svn-id: http://svn.parisson.org/svn/tools/trunk@121 457c0346-1240-4656-8a5a-9edca8063506 --- diff --git a/isp_tools/img/parisson.png b/isp_tools/img/parisson.png deleted file mode 100644 index 027ed58..0000000 Binary files a/isp_tools/img/parisson.png and /dev/null differ diff --git a/isp_tools/img/parisson_480_g.gif b/isp_tools/img/parisson_480_g.gif deleted file mode 100644 index 7df20d1..0000000 Binary files a/isp_tools/img/parisson_480_g.gif and /dev/null differ diff --git a/isp_tools/isp_trans_win.py b/isp_tools/isp_trans_win.py index f36e979..87dd95d 100644 --- a/isp_tools/isp_trans_win.py +++ b/isp_tools/isp_trans_win.py @@ -187,7 +187,6 @@ class ISPTrans(object): if not os.path.exists(self.dest_dir): os.makedirs(self.dest_dir) self.logger = Logger(log_file) - self.uid = os.getuid() self.collection = ISPCollection(self.source_dir) #self.sources = self.collection.media_list() @@ -227,9 +226,9 @@ class ISPTrans(object): # normal if duration == '-1': - command = 'ffmpeg -ss %s -i %s -f %s -s %s -vb %s -acodec libmp3lame -ac 1 -ab %s -ar %s -async %s -y %s & ' % (start_time, source_file, self.format, self.size, self.vb, self.ab, self.ar, self.async, dest_file) + command = 'ffmpeg -ss %s -i "%s" -f %s -s %s -vb %s -acodec libmp3lame -ac 1 -ab %s -ar %s -async %s -y %s & ' % (start_time, source_file, self.format, self.size, self.vb, self.ab, self.ar, self.async, dest_file) else: - command = 'ffmpeg -ss %s -t %s -i %s -f %s -s %s -vb %s -acodec libmp3lame -ac 1 -ab %s -ar %s -async %s -y %s & ' % (start_time, duration, source_file, self.format, self.size, self.vb, self.ab, self.ar, self.async, dest_file) + command = 'ffmpeg -ss %s -t %s -i "%s" -f %s -s %s -vb %s -acodec libmp3lame -ac 1 -ab %s -ar %s -async %s -y %s & ' % (start_time, duration, source_file, self.format, self.size, self.vb, self.ab, self.ar, self.async, dest_file) return command def process(self):