Album is not playable, but tracks are
Steps to reproduce
All-in-one docker image setup.
- This only happens for a specific album, imported from the CLI, in place:
ocker exec -it funkwhale manage import_files ae105afa-2733-488f-8048-51168fe43b75 /music/library --recursive --noinput --in-place
- Open the album page. Click on Play.
Album does not play.
The developer console, which contains a message "Added many tracks to the queue: ". API response to
api/v1/tracks/?album=934&include_channels=true&ordering=disc_number,position&page_size=100&page=1&hidden=&playable=true contains an empty array for the results.
Individual tracks of the album do play when one clicks on their "Play" icons.
This persists after deleting the album (and purging), and reimporting.
What is expected?
Album plays :)
Changing the above requests to
playable) returns the full album.
Changing https://dev.funkwhale.audio/funkwhale/funkwhale/-/blob/develop/api/funkwhale_api/music/filters.py#L197 to return the whole queryset (
return queryset) makes the album playable.
Do I understand correctly that this field controls the permissions? Not sure why the album itself is not set as playable, but the tracks are.
Funkwhale version(s) affected: Version 1.0.1+git.68bc76bc
All-in-one docker image setup. Simple setup with a single administrator user. Many albums, all of them play fine.