Merge pull request #4182 from sumpfralle/patch-1

beetsplug/web: fix translation of query path
This commit is contained in:
Adrian Sampson 2022-01-06 14:37:19 -08:00 committed by GitHub
commit 493a503397
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -261,7 +261,7 @@ class QueryConverter(PathConverter):
for query in queries]
def to_url(self, value):
return ','.join([v.replace(os.sep, '\\') for v in value])
return '/'.join([v.replace(os.sep, '\\') for v in value])
class EverythingConverter(PathConverter):

View file

@ -28,6 +28,9 @@ Bug fixes:
``r128_album_gain`` fields was changed from integer to float to fix loss of
precision due to truncation.
:bug:`4169`
* :doc:`plugins/web`: Fix handling of "query" requests. Previously queries
consisting of more than one token (separated by a slash) always returned an
empty result.
For packagers: