From a7f44dc3e8e4dbccbd4e9ae87ffc6c266cde3f9d Mon Sep 17 00:00:00 2001 From: ejurgensen Date: Sun, 17 Dec 2023 22:32:04 +0100 Subject: [PATCH] [jsonapi] Fix mistaken call to library_media_save Only library modules should be calling that function --- src/httpd_jsonapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;