mirror of
https://github.com/mudabbir-ahmad/Media-Aggregation-and-Sorting-System.git
synced 2026-10-07 19:40:20 +00:00
feat: update NAS configuration and enhance UI components for better user experience
This commit is contained in:
1 parent
8e6fa5270b
commit
6167418074
23 files changed
+2147
-702
No files matched your search
@@ -384,6 +384,17 @@ const DatabaseService = {
|
||||
}
|
||||
},
|
||||
|
||||
deleteMediaItem: async (mediaId) => {
|
||||
try {
|
||||
if (!(await DatabaseService.ensureDb())) return false;
|
||||
await db.runAsync('DELETE FROM media WHERE id = ?', [mediaId]);
|
||||
return true;
|
||||
} catch (error) {
|
||||
logError('Delete Media Item', error);
|
||||
return false;
|
||||
}
|
||||
},
|
||||
|
||||
// ─── Settings ──────────────────────────────────────────────
|
||||
|
||||
getAutoBackupServices: async (userId) => {
|
||||
|
||||
Reference in new issue
Block a user