Sonerezh / sonerezh

A self-hosted, web-based application to stream your music, everywhere.
https://www.sonerezh.bzh
GNU Affero General Public License v3.0
769 stars 122 forks source link

database update - remove deleted files from database #129

Closed tbeitter closed 6 years ago

tbeitter commented 9 years ago

Right now deleted files will not be removed from the sonerezh database.

I just noticed I got duplicated tracks due to a duplicated folder on my filesystem. So I removed that directory, but on sonerezh I still see these doubled files for that album and the database still contains those wrong and meanwhile deleted files.

lGuillaume124 commented 9 years ago

Yes, you can only synchronize the database in one way for the moment. This should be improved when we will work on the metadata edition capabilities.

hurlebouc commented 8 years ago

Hi! Even if it is not possible automatically for now, is there any way to manually remove deleted tracks from sonerezh library?

lGuillaume124 commented 8 years ago

Hi @hurlebouc Yes, in the database, into the table named songs. All the stuff is here.

ltguillaume commented 8 years ago

https://github.com/ltGuillaume/sonerezh/commit/6d0ffa7da42730be1932b905db79c0f26265ebb9

gs11 commented 7 years ago

See pull request #293 for a fix. Please review

gs11 commented 7 years ago

PR #293 merged, please close the issue.