20 Commits

Author SHA1 Message Date
Adrian Ulrich
2a562230da make delay in startQuickScan an argument 2016-12-31 11:12:12 +01:00
Adrian Ulrich
08f79a84ae implement media scanner UI 2016-12-27 21:44:42 +01:00
Adrian Ulrich
dcd7df4f66 first version of automatic media scanner 2016-12-26 19:31:12 +01:00
Adrian Ulrich
8abdf25d38 Implement getLibrarySize() 2016-12-18 19:59:46 +01:00
Adrian Ulrich
16aa6440f8 implement externally triggerable scanner 2016-12-18 18:55:41 +01:00
Adrian Ulrich
57b88bfef2 fix code style errors 2016-12-18 18:27:59 +01:00
Adrian Ulrich
4ed4cd0fab implement startNativeLibraryScan() 2016-12-18 11:50:59 +01:00
Adrian Ulrich
5782e295eb implement startUpdateScan() 2016-12-18 11:36:17 +01:00
Adrian Ulrich
055effb976 support for file updates 2016-11-28 21:05:02 +01:00
Adrian Ulrich
3d49310a9d move observer notifications into MediaLibrary from MediaLibraryBackend 2016-11-28 20:03:47 +01:00
Adrian Ulrich
fd7d3cb31b discover storage paths automatically 2016-11-27 18:46:48 +01:00
Adrian Ulrich
b288425994 add songs.year column 2016-11-27 14:29:00 +01:00
Adrian Ulrich
6a6178846b make role a constant 2016-11-26 20:14:17 +01:00
Adrian Ulrich
432ce9d557 get rid of unused song_count and disc_count fields 2016-11-26 18:59:11 +01:00
Adrian Ulrich
2df519f0f6 add metadata extraction wrapper 2016-11-26 18:57:41 +01:00
Adrian Ulrich
0873318931 fix +1 updates and re-implement playlist sorting 2016-11-24 13:23:04 +01:00
Adrian Ulrich
53eb77e8b3 re-add playlist renaming 2016-11-22 10:40:29 +01:00
Adrian Ulrich
db39ae5819 use hash63 also for playlist names
Unlike eg. MySQL, SQLite3 tends to re-use INDEX columns, so creating & deleting a playlist would cause the next one to re-use the same ID, which confuses our in-memory cache (which assumes stable / unique IDs)

Hashing by name solves this and also ensures that we do not create duplicate playlists in any code path
2016-11-21 20:42:23 +01:00
Adrian Ulrich
d35992f3c4 bring back removeFromPlaylist() 2016-11-21 15:08:14 +01:00
Adrian Ulrich
4e1101b2da initial import of our own media library database 2016-11-21 11:38:43 +01:00