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
jovuit
funkwhale
Commits
08ffc7ad
Unverified
Commit
08ffc7ad
authored
Apr 21, 2020
by
Agate
💬
Browse files
Fixed subsonic issue
parent
5d5c2b94
Changes
1
Hide whitespace changes
Inline
Side-by-side
api/funkwhale_api/subsonic/serializers.py
View file @
08ffc7ad
...
...
@@ -103,7 +103,7 @@ def get_track_data(album, track, upload):
"isDir"
:
"false"
,
"title"
:
track
.
title
,
"album"
:
album
.
title
if
album
else
""
,
"artist"
:
album
.
artist
.
name
,
"artist"
:
track
.
artist
.
name
,
"track"
:
track
.
position
or
1
,
"discNumber"
:
track
.
disc_number
or
1
,
# Ugly fallback to mp3 but some subsonic clients fail if the value is empty or null, and we don't always
...
...
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