sonerezh
sonerezh copied to clipboard
Update song, artist, or album information
How can I update information, images, names, etc. with Sonerezh? or can not be?
Currently the only way is to remove & re-add the folders to have the metadata re-read again. Alternatively click Reset the database in the settings.
To remove the album in the database, here is the MySQL line I use in phpMyAdmin:
DELETE FROM `songs` WHERE `songs`.`album` = "your album title"
@gs11 I think this would be a nice evolution of your PR #293: to detect files that have changed (file modification date greater than last update date in the table) and re-read them.
(#293 is good the way it is, small and easy to merge, but maybe another PR sitting on top of it?)
Anyhow, I'd say that this particular issue is a dup of #127 and #129
@bichomen Feel free to try out an implementation for this in https://github.com/gs11/sonerezh/commit/26e3b3d1d915f0460278b12313e9cf672357aa95
Hi, thanks for replying, but I see that changing the metadata of a file can only be done using external software like EasyTAG and then upload the modified file to sonerezh.
That's correct, the project developers mentioned planning this feature in issue #127.
@bichomen I think editing your own files is the best way to go. If it was possible to edit the metadata directly in the Sonerezh database, then obviously, the metadata in the database would start to be different than the metadata in your files. Meaning that if you use the same files in another player, you won't have the same metadata displayed as in Sonerezh. That was what iTunes was doing before, and I think it is fundamentally a bad idea.
I advise you to synchronize your local song files on your server (using Nextcloud, rsync, or something else). This way you will, firstly, backup your songs, and secondly, easily be able to edit your files locally and they will synchronize automatically on your server. Personally I use Nextcloud and it works very well; and now with the commit from @gs11 I won't have to delete entries in the songs table so that update the update pass will detect them again, I will just have to hit 'update' and that's it!
@MightyCreak How to synchronize the song folder with nextcloud? I do not see the option in nextcloud
I simply upload my music in the music folder of Nextcloud and in Sonerezh I change the music folder in the settings to point to the Nextcloud music folder. And that's it! ;)
What is the problem? The permissions are identical
Current path: /srv/www/musica/Musica
Path where NextCloud: /srv/www/nc/data/bichomen/files/Musica
That's weird... If you're on Fedora, I'd search around SELinux maybe?
Not, I'm using Trisquel based in Ubuntu
I was doing tests and it does not accept any folder that is not in the route /srv/www/musica, not even creating symbolic links it works
In the nginx configuration I have: root /srv/www/musica/app/webroot;
Could it be that your webserver is jailed to www root?
www is bichomen, bichomen is the user of nginx:
namei -l /srv/www f: /srv/www drwxr-xr-x root root / drwxr-xr-x root root srv drwxr-xr-x bichomen ftp www
In the PHP configuration modifying:
php_admin_value[open_basedir] = /srv/www/musica/:/tmp/
by:
/srv/www/musica/:/home/Musica/
Take the new route, but do not update the list of new songs