diff --git a/segments/np_pithos.py b/segments/np_pithos.py index 9d022e60..e8f85a4f 100755 --- a/segments/np_pithos.py +++ b/segments/np_pithos.py @@ -3,7 +3,7 @@ pithos_bus = dbus.SessionBus() -pithos = pithos_bus.get_object('net.kevinmehall.Pithos', '/net/kevinmehall/Pithos') -props = pithos.get_dbus_method('GetCurrentSong', 'net.kevinmehall.Pithos') +pithos = pithos_bus.get_object("net.kevinmehall.Pithos", "/net/kevinmehall/Pithos") +props = pithos.get_dbus_method("GetCurrentSong", "net.kevinmehall.Pithos") -print props()["artist"] + " - " + props()["title"] +print(props()["artist"] + " - " + props()["title"])