Index: channels/dirble.py ================================================================== --- channels/dirble.py +++ channels/dirble.py @@ -59,11 +59,10 @@ # Retrieve cat list and map def update_categories(self): cats = [] for row in self.api("categories/tree"): - print row cats += [row["title"]] self.catmap[row["title"]] = row["id"] if row.get("children"): cats += [[c["title"] for c in row["children"]]] for c in row["children"]: Index: channels/somafm.py ================================================================== --- channels/somafm.py +++ channels/somafm.py @@ -103,8 +103,8 @@ """, html, re.X|re.S) rows = [ dict(genre=g, title=t, playing=p, url=u, listeners=int(l), bitrate=128, homepage=re.sub("\d*\.pls$", "/", u)) for l,g,t,p,u in ls ] - #print rows + #log.DATA(rows) return rows Index: channels/timer.py ================================================================== --- channels/timer.py +++ channels/timer.py @@ -116,11 +116,11 @@ # add event to list def queue(self, row): # chk if not row.get(self.timefield) or not row.get("url"): - #print("NO TIME DATA", row) + #log.DATA("NO TIME DATA", row) return # extract timing parameters _ = row[self.timefield] days = self.days(_) @@ -174,11 +174,11 @@ listformat = row.get("listformat","href"), ) # action wrapper def record(self, row, *args, **kwargs): - #print("TIMED RECORD") + #log.TIMER("TIMED RECORD", *args) # extra params duration = self.duration(row.get(self.timefield)) if duration: append = " -a %S.%d.%q -l "+str(duration*60) # make streamripper record a whole broadcast @@ -192,8 +192,8 @@ listformat = row.get("listformat","href"), append = append, ) def test(self, row, *args, **kwargs): - print("TEST KRONOS", row) + log.TEST("KRONOS", row) Index: config.py ================================================================== --- config.py +++ config.py @@ -296,11 +296,11 @@ # such as: { arg: -D, name: debug, type: bool } def init_args(self, ap): for opt in plugin_meta(frame=1).get("config"): kwargs = pluginconf.argparse_map(opt) if kwargs: - #print kwargs + #print(kwargs) ap.add_argument(*kwargs.pop("args"), **kwargs) return ap.parse_args() # Copy args fields into conf. dict