From 54641aeea42f99cbda81d48778af3a103b154947 Mon Sep 17 00:00:00 2001 From: Remy Date: Mon, 23 May 2011 21:02:51 -0700 Subject: [PATCH] mend --- config.ini | 25 ------------------------- threadtools-backup.py | 32 -------------------------------- updatertest.py | 6 ------ 3 files changed, 63 deletions(-) delete mode 100644 config.ini delete mode 100644 threadtools-backup.py delete mode 100644 updatertest.py diff --git a/config.ini b/config.ini deleted file mode 100644 index e743b605..00000000 --- a/config.ini +++ /dev/null @@ -1,25 +0,0 @@ -[General] -http_host = 0.0.0.0 -http_port = 8181 -http_username = ohmightyrv -http_password = nelson1 -launch_browser = 0 -include_lossless = 0 -flac_to_mp3 = 0 -move_to_itunes = 0 -path_to_itunes = "" -rename_mp3s = 0 -cleanup = 0 -add_album_art = 0 -music_download_dir = "" -usenet_retention = 500 -[SABnzbd] -sab_host = 0.0.0.0:8080 -sab_username = ohmightyrv -sab_password = nelson1 -sab_apikey = 1be61ba6032dfd98892969aa799d3541 -sab_category = music -[NZBMatrix] -nzbmatrix = 1 -nzbmatrix_username = ohmightyrv -nzbmatrix_apikey = 01a9d83368952932bb3b43386e593fe1 diff --git a/threadtools-backup.py b/threadtools-backup.py deleted file mode 100644 index 1d8f5ac5..00000000 --- a/threadtools-backup.py +++ /dev/null @@ -1,32 +0,0 @@ -from cherrypy.process.plugins import SimplePlugin -import time -import threading -import Queue - -class threadtool(SimplePlugin): - - thread = None - - def __init__(self, bus): - SimplePlugin.__init__(self, bus) - - def start(self): - self.running = True - if not self.thread: - self.thread = threading.Thread(target=self.run) - self.thread.start() - - def stop(self): - self.running = False - - if self.thread: - self.thread.join() - self.thread = None - self.running = False - - def run(self): - while self.running: - from webServer import database - import updater - updater.dbUpdate(database) - time.sleep(3600*24) diff --git a/updatertest.py b/updatertest.py deleted file mode 100644 index 102b0c4e..00000000 --- a/updatertest.py +++ /dev/null @@ -1,6 +0,0 @@ -import time - -def threadtest(): - while True: - print '''The time is now''' - time.sleep(10)