Ignore messages to the MPRIS frontend

This commit is contained in:
Stein Magnus Jodal 2011-06-20 18:12:00 +03:00
parent 26b7f5e8b5
commit cc05db157c

View File

@ -78,6 +78,9 @@ class MprisFrontend(ThreadingActor, BaseFrontend):
self.dbus_objects.append(MprisObject())
self.send_startup_notification()
def on_receive(self, message):
pass # Ignore incoming messages for know
def on_stop(self):
for dbus_object in self.dbus_objects:
dbus_object.remove_from_connection()