hholcombe  committed 8355eec

Added a setting making transcoding optional.

  • Participants
  • Parent commits 7567b72
  • Branches default

Comments (0)

Files changed (2)

File python-iview/

         seriestitle =
     return validfilename(seriestitle)
-def postdownload(show):
+def transode(show):
     '''Called when a show download is complete.
     srcpath = show['filename']
         if success:
             print "Successfully downloaded %s" % (show['title'])
-            postdownload(show)
+            if SETTINGS['transcode']:
+                transcode(show)
             print "Error downloading."
             if os.path.isfile(outputfn):

File python-iview/settings.yaml

 run_once: True
 # Unix time of last run
 last_run: 0
+# Whether to transcode or not
+transcode: True
 # Uses the python fnmatch module - which allows matching using "?" and "*" like a DOS or shell command line
 # this is NOT case sensitive