From 52a9faae90175841b2c259dd4677697e513e12f9 Mon Sep 17 00:00:00 2001 From: Krateng Date: Fri, 4 Sep 2020 14:32:11 +0200 Subject: [PATCH] Fixed scrobble bug --- maloja/__pkginfo__.py | 2 +- maloja/apis/native_v1.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/maloja/__pkginfo__.py b/maloja/__pkginfo__.py index 3e260fa..1386fe6 100644 --- a/maloja/__pkginfo__.py +++ b/maloja/__pkginfo__.py @@ -5,7 +5,7 @@ author = { "email":"maloja@krateng.dev", "github": "krateng" } -version = 2,9,0 +version = 2,9,1 versionstr = ".".join(str(n) for n in version) links = { "pypi":"malojaserver", diff --git a/maloja/apis/native_v1.py b/maloja/apis/native_v1.py index 30ea43b..ed6279e 100644 --- a/maloja/apis/native_v1.py +++ b/maloja/apis/native_v1.py @@ -198,7 +198,8 @@ def compare_external(**keys): @api.post("newscrobble") @authenticated_api_with_alternate(api_key_correct) def post_scrobble(artist:Multi,**keys): - artists = "/".join(artist) + #artists = "/".join(artist) + artists = artist title = keys.get("title") album = keys.get("album") duration = keys.get("seconds")