Hi all,
thanks for the feedback and excuseme if Iâm replying only now but I missed this new message on the forum.
The Similar Track API on the plugin, reproduce 1:1 the Playlist From Similar song of AudioMuse-AI integrated front-end. This functionality just do an exact match of the most similar song of the starting one. No more, no less. This is his expected bheaviour.
Also the Find Path API on the plugin, reproduce 1:1 the Song Path of AudioMuse-AI integrated front-end. This functionality also give an exact path between a starting song and an ending one. No randomenss.
There is a new Song Alchemy API on the plugin, that reproduce 1:1 Song Alchemy functionality of AudioMuse-AI integrated front-end.
This is an example of code:
curl POST â``http://YOUR-JELLYFIN-URL``:PORT/AudioMuseAI/alchemyâ
-H âContent-Type: application/jsonâ
-H âAuthorization: MediaBrowser Client=âMyCLIâ, Device=âUbuntu CLIâ, DeviceId=âubuntu-cli-01â, Version=â1.0.0â, Token=âYOUR-JELLYFIN-API-TOKENââ
-d â{
âitemsâ: [
{âidâ:â7190693ae7d0b7740fbfc26e5bddd0b3â,âopâ:âSUBTRACTâ},
{âidâ:â2caeeff701c08929f03261e95cdc022dâ,âopâ:âADDâ},
{âidâ:â574a710aa6fbe82963a9533484e243ffâ,âopâ:âADDâ},
{âidâ:âe614f2119e654493012ea80f7dd5c617â,âopâ:âADDâ}
],
ânâ: 10,
âsubtract_distanceâ: 0.2,
âtemperatureâ: 1
}â
Basicallty it do a centroid of track to add, and find similar song. Then a centroid of track to subtract and it remove the song to near to them. Also it have randomness (the temperature, 0 no randomness, 1 is alrady a good randomness).
If you put only one song in ADD, the result is Similar Track API with randomness.
This off course if Symfonium developer would like to add this additional functionality.
I donât like to change the basic API functionality because it have a different goals: play a list of song with the best smooth transition between one and the other, and off course randomness is in contrast to this.
You can off course start with a different song/seed to have a bit different song list, or just reply in a shuffled order.
Hope this could help.