martpie / museeks

🎵 A simple, clean and cross-platform music player
https://museeks.io
MIT License
1.6k stars 195 forks source link

Library does not update #735

Open raphial opened 6 months ago

raphial commented 6 months ago

When music files are updated or moved into different folders, the Museeks library doesn't reflect the changes and does not update its content :(

I have to reset the library every time.

martpie commented 6 months ago

Updates are not automatically picked (yet). There is no need to reset the library, just re-import the same folder and only new songs will be added :)

raphial commented 6 months ago

Updates are not automatically picked (yet). There is no need to reset the library, just re-import the same folder and only new songs will be added :)

Unfortunately when I add the library, it only duplicates rather than skip/replace any songs :( That's why I have to reset the library.

Technically the music is mounted from a SAMBA network folder on my network NAS server, but is seen as a regular folder in my /home/user/Music directory. I don't know why it duplicates songs :(

I'm not sure if it helps.. but here is my /etc/fstab entry for that specific server. It has to be mounted differently since it is a network server. (User creds redacted)

//barge-backup.local/business           /media/raphial/Business     cifs    user,password=########,username=USERNAME,domain=WORKGROUP,uid=1000,gid=1000 0   0
/media/raphial/Business/Music           /home/raphial/Music/Music   none bind,ro 0 0
raphial commented 1 month ago

Did we possibly find a fix for this? :(

It makes updating playlists a real pain....

martpie commented 1 month ago

So there are two things here:

To not duplicate playlists, we need one bit of data to be stable though, to know when we should replace or create a playlist, either the:

In both cases, changes not persisted via export will be lost :/

There is no perfect solution, but as I work towards #753, those are improvements I can easily bring now, because the whole DB will be reset in the next version anyway.