Of course I totally understand I just want to help!
I just released the new AudioMuse-AI plugin that add this new API:
Max Distance
Get in input the id of the song and return as a result the max distanace possible from that song and the id of this max distantsong. In case of cosine similarity (enabled by default in AudioMuse-AI) the distance is between 0 and 2 where 0 is the same song and 2 id the totally opposite song.
curl 'http://YOUR-JELLYFIN-URL:PORT/AudioMuseAI/max_distance?item_id=07a998a337ab3fd4576006ae301d1d94' \
-H 'Authorization: MediaBrowser Client="MyCLI", Device="Ubuntu CLI", DeviceId="ubuntu-cli-01", Version="1.0.0", Token="YOUR-JELLYFIN-API-TOKEN"' \
-H 'Accept: application/json'
Output
{"farthest_item_id":"c1ea3fb87ff0cd6e68b881715104fb28","max_distance":1.3198845386505127}
Where:
v0.1.25 => is for Jellyfin 10.11
v0.1.24 => is for Jellyfin 10.10.7
This plugin map with the actual :devel image of AudioMuse-AI and will be released in v0.7.5-beta soon.
Remember min 0 max 2 and doing some test in my library I got something like 1.4 - 1.5 depending from the starting song.
Hope this could help bringing randomness and unpredictability in the world ![]()