def get_all_collections(bus):
 service_obj = bus_get_object(bus, SS_PATH)
 service_props_iface = dbus.Interface(service_obj, dbus.PROPERTIES_IFACE)
 for collection_path in service_props_iface.Get(SERVICE_IFACE, 'Collections', signature='ss'):
  (yield Collection(bus, collection_path))

def get_all_collections ( bus ) : service_obj = bus_get_object ( bus , SS_PATH ) service_props_iface = dbus . Interface ( service_obj , dbus . PROPERTIES_IFACE ) for collection_path in service_props_iface . Get ( SERVICE_IFACE , 'Collections' , signature = 'ss' ) : ( yield Collection ( bus , collection_path ) )
returns a generator of all available collections .