Commits

Anonymous committed 289c5e5

disabled rpc server logging in ui for now

  • Participants
  • Parent commits 7f76ce3

Comments (0)

Files changed (2)

File pythaules/ui/collection.py

         self.parent     = parent
 
     def show(self, recDepth):
-        print '-' * (recDepth*2) + (' ' if recDepth > 0 else '') + self._name.encode('utf-8')
+        #print '-' * (recDepth*2) + (' ' if recDepth > 0 else '') + self._name.encode('utf-8')
         if (len(self.siblings)>0):
             for sibling in self.siblings:
                 sibling.show(recDepth+1)

File pythaules/ui/main.py

  
         self._collection = Collection(self._rpc_client_database, ['artist', 'album'], 'Collection')
 
-        self._server = Server(addr = (conf.FRONTEND_RPC['host'], conf.FRONTEND_RPC['port']), allow_none = True)
+        self._server = Server(addr = (conf.FRONTEND_RPC['host'], conf.FRONTEND_RPC['port']), allow_none=True, logRequests=False)
         self._server.register_function(self.announceSongReady)
         self._server.register_function(self.set_song_dur_and_pos)
         self._server.register_function(self.set_scan_pos)