We have moved to a new Sailfish OS Forum. Please start new discussions there.

[bug][] sdcard location changed - caused problem with existing playlists?

asked 2014-03-18 21:44:52 +0300

caa gravatar image


I'm not sure if this has occurred with anyone else?

There is an issue with the latest update [] whereby existing playlists seem to be rendered useless (if your files are on the SDCard). It looks like the format has changed for the sdcard file location (inside the playlist pls files).

The impact is that the songs on sdcard in the playlist don't play anymore.

For example: Originally files added to a playlist use this format:


Now files added to a playlist use this format:


Any ideas why the update didn't just automatically adjust those locations?

I will probably just manually edit the playlists on my desktop machine, but thought I would ask here anyway.


edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted

answered 2014-03-18 22:10:07 +0300

vbregier gravatar image

updated 2014-03-18 22:10:37 +0300

Note that you can use sed in the terminal to do the changes easily:

$ mountpoint=/media/sdcard/*
$ cd ~/Music/playlists
$ sed "s@file:///run/user/100000/media/sdcard@file://$mountpoint@" -i *.pls
edit flag offensive delete publish link more


Thanks, but that command didn't work for me though. I also tried inputting the "file:///media/sdcard/1099-B00D" explicitly into the string manually instead of $mountpoint. It seemed to output the correct stuff to the console but didn't seem to change the file contents. I also tried the g switch at the end. I also tried logging in using devel-su first, and it didn't change the contents of the files either.

I've just overwritten the playlist files with some I edited on my desktop instead (yuck).


caa ( 2014-03-19 01:32:39 +0300 )edit
Login/Signup to Answer

Question tools



Asked: 2014-03-18 21:44:52 +0300

Seen: 131 times

Last updated: Mar 18 '14