Changeset 350
- Timestamp:
- 09/10/08 23:57:56 (4 months ago)
- Files:
-
- 1 modified
-
indytube/branches/plumi-0.2.1/indytube.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
indytube/branches/plumi-0.2.1/indytube.py
r349 r350 185 185 except: 186 186 logging.info("Error while processing %s: %s" % (videofile,traceback.format_exc())) 187 os.remove(lockfile) 188 #remove this process's lockfile, this exception will stop the entire process 189 os.remove(self.ENCODER_LOCKFILE) 187 try: 188 os.remove(lockfile) 189 #remove this process's lockfile, this exception will stop the entire process 190 os.remove(self.ENCODER_LOCKFILE) 191 except: 192 pass 190 193 191 194 else: … … 216 219 indytuber = IndyTubeTranscoder() 217 220 #parse our config 218 indytuber.parse_config('indytube.conf') 221 #find the indytube.conf in the directory that script runs from 222 indyconf_path = os.path.dirname(sys.argv[0]) + '/indytube.conf' 223 indytuber.parse_config(indyconf_path) 219 224 #we have started! 220 225 logging.info("started main function at %s, calling loop every %s seconds " % (time.strftime("%D %H:%M:%S"), indytuber.POLLTIME))
