Ask / Submit
4

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

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

caa gravatar image

Hi,

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

There is an issue with the latest update [1.0.4.20] 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:

File2=file:///run/user/100000/media/sdcard/music/Somefilename.mp3

Now files added to a playlist use this format:

File2=file:///media/sdcard/1099-B00D/music/Somefilename.mp3

Any ideas why the 1.0.4.20 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.

Thanks

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted
2

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

Comments

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).

Thanks

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

Question tools

Follow
2 followers

Stats

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

Seen: 124 times

Last updated: Mar 18 '14