mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-05 05:49:24 +02:00
Fix #258: Implemented getCovertArt in Subsonic API to serve album covers
This commit is contained in:
parent
218a92547e
commit
8d50743b3b
6 changed files with 77 additions and 4 deletions
|
@ -242,8 +242,8 @@ def get_file_path(audio_file):
|
|||
'You need to specify MUSIC_DIRECTORY_SERVE_PATH and '
|
||||
'MUSIC_DIRECTORY_PATH to serve in-place imported files'
|
||||
)
|
||||
path = audio_file.replace(prefix, serve_path, 1).encode('utf-8')
|
||||
return path
|
||||
path = audio_file.replace(prefix, serve_path, 1)
|
||||
return path.encode('utf-8')
|
||||
|
||||
|
||||
def handle_serve(track_file):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue