I already tried with autostart.sh but i will try again.
In fact, i just have to use the command
and the sound works. I don't even have to use systemctl stop kodi or anything else.
Is it normal that as soon as i send this command (SSH), all is working as i would ?
By waiting i will try to just put this code in the autostart.sh...
EDIT : it works !
So i just have to add the above single code line in an autostart.sh file in ConfigFiles and all is working : my audio bluetooth from my phone and/or my music files played from Kodi : all is sent to my speaker throught my analog jack output .
Do you know why i only need this line ? I thought i would have to define my output device...