diff --git a/src/httpd_jsonapi.c b/src/httpd_jsonapi.c index d417249bf8..b857f0f44b 100644 --- a/src/httpd_jsonapi.c +++ b/src/httpd_jsonapi.c @@ -3266,7 +3266,7 @@ jsonapi_reply_library_tracks_put(struct httpd_request *hreq) goto error; } - ret = library_media_save(mfi); + ret = db_file_update(mfi); if (ret < 0) { err = HTTP_INTERNAL;