I have created a playlist called delete and want to get rid of the tracks by locating the path on disk . while listening to music from nextcloud I continuilly add songs to delete playlist which I do not like.
Take oc_music_tracks.file_id to select the right file from oc_filecache. However deleting the files directly on the disk is not recommended. You may use the proper apis to delete the file via Nextcloud.
Yes, deleting files directly from the server file system is not recommended. But if you have set up the Nextcloud PC client to sync the cloud files, then you can delete the files on your PC and the client will take care of deleting the files from the server the right way.
yes that too is my post as I coulnd’t wait and decided to jump and take a look at the db. I was originally looking for an api to delete the songs from disk and update the nextcloud db following it.
this does sound like a good idea, but I never planned to keep music on my pc , as I have server too at home, I play directly from the server. So no point of keeping on pc.
However I think, if files are deleted from server , I can run files:scan and followed by music:cleanup occ command to update the music app