answered
2017-10-14 19:17:52 +0200
I don't know how, I have tried in the past and failed miserably, but I do know where the listed ringtones are.
The ringtones are stored here; /usr/share/sounds/jolla-ringtones/stereo
So, after an hour I managed to list an album in the ringtones list of my Jolla1.
Basically, I added a sounds folder to /usr/share/sounds/jolla-ringtones/**sounds**
- put the music you want into the sounds folder.
I then added a sounds.index file to /usr/share/sounds/jolla-ringtones/**sounds.index**
- add the track titles to the sounds.index file.
The contents of the sounds.index file are laid out like this;
{
"translationCatalog" : "acdc - back-in-black",
"files" : [
{ "displayName" : "ACDC - Back in black", "fileName" : "Back In Black.mp3" },
{ "displayName" : "ACDC - Givin' The Dog A Bone", "fileName" : "Givin' The Dog A Bone.mp3"},
{ "displayName" : "ACDC - Have A Drink On Me", "fileName" : "Have A Drink On Me.mp3" },
{ "displayName" : "ACDC - Hells Bells", "fileName" : "Hells Bells.mp3" },
{ "displayName" : "ACDC - Let Me Put My Love Into You", "fileName" : "Let Me Put My Love Into You.mp3" },
{ "displayName" : "ACDC - Rock And Roll Ain't Noise Pollution", "fileName" :"Rock And Roll Ain't Noise Pollution.mp3" },
{ "displayName" : "ACDC - Shake A Leg", "fileName" : "Shake A Leg.mp3" },
{ "displayName" : "ACDC - Shoot To Thrill", "fileName" : "Shoot To Thrill.mp3"},
{ "displayName" : "ACDC - What Do You Do For Money Honey", "fileName" : "What Do You Do For Money Honey.mp3" },
{ "displayName" : "ACDC - You Shook Me All Night Long", "fileName" : "You Shook Me All Night Long.mp3"}
]
}
After this, you may need to give lipstick.service a nudge if you don't see the tracks in Ringtones, nudge the service with this command; systemctl --user restart lipstick.service
(restarts home screen).
You should now have the desired tracks showing in Settings/Sounds and feedback/Ringtone.
Long winded, but works......perhaps there is a much easier way?