From a851e36485b988568847be23e1790c34036864b0 Mon Sep 17 00:00:00 2001 From: HypnoticOcelot <57046530+RealHypnoticOcelot@users.noreply.github.com> Date: Sat, 25 Jan 2025 17:08:55 +0000 Subject: [PATCH] Update listenbrainz.py --- maloja/apis/listenbrainz.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maloja/apis/listenbrainz.py b/maloja/apis/listenbrainz.py index afac7e7..efee77e 100644 --- a/maloja/apis/listenbrainz.py +++ b/maloja/apis/listenbrainz.py @@ -27,7 +27,7 @@ class Listenbrainz(APIHandler): InvalidMethodException: (200, {"code": 200, "error": "Invalid Method"}), MalformedJSONException: (400, {"code": 400, "error": "Invalid JSON document submitted."}), DuplicateScrobble: (200, {"status": "ok"}), - DuplicateTimestamp: (200, {"status": "ok"}), + DuplicateTimestamp: (409, {"error": "Scrobble with the same timestamp already exists."}), Exception: (500, {"code": 500, "error": "Unspecified server error."}) }