parameters: (self, line)
docstring: Update feeds and auto-download
docstring_summary: Update feeds and auto-download
docstring_tokens: Update feeds and auto - download
function: def do_mythtv_update_autodownload(self, line):
          """Update feeds and auto-download"""
          logging.info("Starting auto downloader...")
          autodler.start_downloader()
          feed.expire_items()
          starttime = clock()
          logging.timing("Icon clear: %.3f", clock() - starttime)
          logging.info("Starting video updates")
          moviedata.movieDataUpdater.startThread()
          parse_command_line_args()
          # autoupdate.check_for_updates()
          # Wait a bit before starting the downloader daemon.  It can cause a bunch
          # of disk/CPU load, so try to avoid it slowing other stuff down.
          eventloop.addTimeout(5, downloader.startupDownloader,
                  "start downloader daemon")
          # ditto for feed updates
          eventloop.addTimeout(30, feed.start_updates, "start feed updates")
          # ditto for clearing stale icon cache files, except it's the very lowest
          # priority
          eventloop.addTimeout(10, iconcache.clear_orphans, "clear orphans")
function_tokens: def do_mythtv_update_autodownload ( self , line ) : logging . info ( "Starting auto downloader..." ) autodler . start_downloader ( ) feed . expire_items ( ) starttime = clock ( ) logging . timing ( "Icon clear: %.3f" , clock ( ) - starttime ) logging . info ( "Starting video updates" ) moviedata . movieDataUpdater . startThread ( ) parse_command_line_args ( ) # autoupdate.check_for_updates() # Wait a bit before starting the downloader daemon.  It can cause a bunch # of disk/CPU load, so try to avoid it slowing other stuff down. eventloop . addTimeout ( 5 , downloader . startupDownloader , "start downloader daemon" ) # ditto for feed updates eventloop . addTimeout ( 30 , feed . start_updates , "start feed updates" ) # ditto for clearing stale icon cache files, except it's the very lowest # priority eventloop . addTimeout ( 10 , iconcache . clear_orphans , "clear orphans" )