diff --git a/supysonic/api/__init__.py b/supysonic/api/__init__.py index 972ccf3..ecc419c 100644 --- a/supysonic/api/__init__.py +++ b/supysonic/api/__init__.py @@ -82,7 +82,7 @@ def get_client_prefs(): def get_entity(cls, param="id"): - eid = get_entity_id(request.values[param]) + eid = get_entity_id(cls, request.values[param]) if eid is None: return entity = cls[eid]