def __init__(self): self.freq = 0 self.tcount = 0 self.scount = 0 self.mcount = 0 self.hcount = 0 self.dcount = 0 Bus.subscribe(self.__class__, "tick", self.h_tick) Bus.subscribe(self.__class__, "tick_params", self.h_tick_params)
def __init__(self): Bus.subscribe(self.__class__, "state?", self.hq_state) Bus.subscribe(self.__class__, "state", self.h_state) Bus.subscribe(self.__class__, "last_libwalk?", self.hq_last_libwalk) Bus.subscribe(self.__class__, "libwalker_done", self.h_libwalker_done) self.sm = StateManager()
def __init__(self): self._shell=None self._db=None self.recentlyUpdated=BoundedList(64) Bus.subscribe(self.__class__, "track_entry", self.on_track_entry) Bus.subscribe(self.__class__, "user_track_info", self.on_user_track_info) Bus.subscribe(self.__class__, "rb_shell", self.on_rb_shell)
def __init__(self): self.iq=Queue() Bus.subscribe("__bridge__", "*", self.h_msg)
def __init__(self): self.freq=0 self.count=0 self.db=None self.mb_detected=False self.song_entries=[] self.last_libwalk=0 self.enable=False ## Integration self.icount=0 self.mode = self.MODE_LOW ## stats self.jobs=0 self.hits=0 self.responses=0 Bus.subscribe(self.__class__, "tick", self.h_tick) Bus.subscribe(self.__class__, "tick_params", self.h_tick_params) Bus.subscribe(self.__class__, "last_libwalk", self.h_last_libwalk) Bus.subscribe(self.__class__, "rb_shell", self.h_rb_shell) Bus.subscribe(self.__class__, "mb_track", self.h_mb_track) Bus.subscribe(self.__class__, "entry_added", self.h_entry_added) Bus.subscribe(self.__class__, "song_entries", self.h_song_entries) Bus.subscribe(self.__class__, "musicbrainz_proxy_detected", self.h_musicbrainz_proxy_detected)
def __init__(self, username=None, password=None): self._username=username self._password=password Bus.subscribe("User", "config?", self.hq_config)
def __init__(self): self.db=None Bus.subscribe(self.__class__, "ptrack", self.h_ptrack) Bus.subscribe(self.__class__, "rb_shell", self.on_rb_shell)