38 access_service()->object_for_path(
39 dbus::types::ObjectPath(
40 dbus::traits::Service<media::Service>::object_path()))})
50 auto op = d->object->invoke_method_synchronously<mpris::Service::CreateSession,
51 dbus::types::ObjectPath>();
54 throw std::runtime_error(
"Problem creating session: " + op.error());
59 access_service()->object_for_path(op.value())
65 std::cout << __PRETTY_FUNCTION__ << std::endl;
66 auto op = d->object->invoke_method_synchronously<mpris::Service::PauseOtherSessions,
70 throw std::runtime_error(
"Problem pausing other sessions: " + op.error());