Skip to content

Create a testing environment in production for ListenBrainz recommendation engine (troi-recommendation-playground)

There is various commits implementing various things :

Note : The goal of this mr is to implement only the backend solution of this implementation to be able to test if this work with the music tracks of the fw network or not.

To test :

curl --user y:y -H "Content-Type: application/json" -X POST "https://node1.funkwhale.test/api/v1/radios/sessions" -d '{"radio_type":"troi_multiple", "config":"{ \"patch\":\"new_jams\", \"user_name\":\"lb_user_name\"}"}'

curl --user y:y -H "Content-Type: application/json" -X POST "https://node1.funkwhale.test/api/v1/radios/tracks" -d '{"session": $session_number}'

note : the user_name can be set in the listenbrainz pluging. If set in pluging, priority is given to the it and not to the http request

part of #1861 (closed)

Edited by petitminion

Merge request reports