Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Erin
mopidy
Commits
0cb540ef
Commit
0cb540ef
authored
Aug 16, 2021
by
Erin
Browse files
Fix album track ordering in lookup results
parent
bef84395
Pipeline
#15799
passed with stage
in 52 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
mopidy_funkwhale/library.py
View file @
0cb540ef
...
...
@@ -371,7 +371,7 @@ class FunkwhaleLibraryProvider(backend.LibraryProvider):
client
=
self
.
backend
.
client
config
=
{
"track"
:
lambda
id
:
[
client
.
get_track
(
id
)],
"album"
:
lambda
id
:
client
.
list_tracks
({
"album"
:
id
})[
"results"
],
"album"
:
lambda
id
:
client
.
list_tracks
({
"album"
:
id
,
"ordering"
:
"position"
})[
"results"
],
"artist"
:
lambda
id
:
client
.
list_tracks
({
"artist"
:
id
})[
"results"
],
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment