Ask / Submit

Music player does not follow symlinks after reboot

asked 2014-05-27 01:34:15 +0300

balta gravatar image

This is not a major problem, but the music player is only following symbolic links to folders if they are freshly created, after a reboot I have to recreate the link so that the player can find the mp3 files.

If you are interested, I am using a symbolic link to import the music of the android amazon mp3 player in the native player by the following command:

ln -s /sdcard/amazonmp3/ /home/nemo/Music/

You could also include the music on a sdcard by a link.

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted

answered 2014-05-27 05:26:19 +0300

asys3 gravatar image

Had the same problem, that fresly downloaded files inside the Amazon mp3 app aren't included in the native music player. I also used such a symlink. I suppose that the music player checks if something has changed in the directory by checking the directory's (modification) timestamp.Symlinks' timestamp aren't touched if the content of the directory they point at changes.So I suppose either touching the symlink or (music player implementation@jolla) following directory symlinks and check their origin according timestamp changes. Perhaps using a hardlink would also work,but i suppose that doesn't work because of different partitions and/ or partition formats.

edit flag offensive delete publish link more


Freshly downloaded mp3 files are automatically added to the player if I restart the player after the download, so that is working at least now. My problem here is that after a reboot all files from this folder are missing until I recreate this symlink. A hardlink is not working because you cannot create a hardlink for directories.

balta ( 2014-05-27 12:39:58 +0300 )edit

Hej, Same for Pictures folder. Same purpose only with images shot by Android camera app to show in Jolla Gallery.

LVPVS ( 2014-09-23 00:06:46 +0300 )edit

I moved /home/nemo/.local/share to sdcard then created a symlink. Then rebooted the phone. After that call history could not load. Then I removed the symlink and moved back the folder to its original location then rebooted the phone then it worked again. The error message in journalctrl showed that it could not open database of commhistory. How to track down what is the problem with the database?

llg179 ( 2015-06-19 15:21:09 +0300 )edit
Login/Signup to Answer

Question tools



Asked: 2014-05-27 01:34:15 +0300

Seen: 239 times

Last updated: May 27 '14