Track delete in the enhanced library now shows three options:
- Remove from Library: DB record only (existing behavior)
- Delete File Too: DB + os.remove() the file from disk
- Delete & Blacklist: DB + file removal + add source to blacklist
New download_blacklist table stores rejected sources (username + filename)
with CRUD methods. Blacklist will be checked by the download pipeline
and the upcoming track redownload modal.
Smart delete modal styled with the same glass/dark theme as other
SoulSync modals, with color-coded destructive options.
@ -42561,12 +42561,25 @@ function sortEnhancedTracks(album, field, ascending) {
asyncfunctiondeleteLibraryTrack(trackId,albumId){
cancelInlineEdit();
if(!awaitshowConfirmDialog({title:'Delete Track',message:'Delete this track from the library? (File on disk is not affected)',confirmText:'Delete',destructive:true}))return;
if(!awaitshowConfirmDialog({title:'Delete Album',message:'Delete this album and all its tracks from the library? (Files on disk are not affected)',confirmText:'Delete',destructive:true}))return;