]> git.parisson.com Git - yomguy-tools.git/commitdiff
'cleanup'
authoryomguy <yomguy@457c0346-1240-4656-8a5a-9edca8063506>
Thu, 30 Sep 2010 11:06:04 +0000 (11:06 +0000)
committeryomguy <yomguy@457c0346-1240-4656-8a5a-9edca8063506>
Thu, 30 Sep 2010 11:06:04 +0000 (11:06 +0000)
git-svn-id: http://svn.parisson.org/svn/tools/trunk@121 457c0346-1240-4656-8a5a-9edca8063506

isp_tools/img/parisson.png [deleted file]
isp_tools/img/parisson_480_g.gif [deleted file]
isp_tools/isp_trans_win.py

diff --git a/isp_tools/img/parisson.png b/isp_tools/img/parisson.png
deleted file mode 100644 (file)
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 (file)
index 7df20d1..0000000
Binary files a/isp_tools/img/parisson_480_g.gif and /dev/null differ
index f36e979d472401d3fcac8671d89f8a449eba3b8d..87dd95d9fd02a5d1703d9304bfe83ed13d1079c0 100644 (file)
@@ -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):