[EPIC] Audio metadata update - UI / API

This commit is contained in:
Eliot Berriot 2019-02-28 09:31:04 +01:00
parent 1a1c62ab37
commit e0c5ffcb16
59 changed files with 2793 additions and 436 deletions

View file

@ -15,6 +15,7 @@ from rest_framework.decorators import action
from rest_framework.response import Response
from taggit.models import Tag
from funkwhale_api.common import decorators as common_decorators
from funkwhale_api.common import permissions as common_permissions
from funkwhale_api.common import preferences
from funkwhale_api.common import utils as common_utils
@ -186,6 +187,8 @@ class TrackViewSet(
"artist__name",
)
mutations = common_decorators.mutations_route(types=["update"])
def get_queryset(self):
queryset = super().get_queryset()
filter_favorites = self.request.GET.get("favorites", None)