Adrian Ulrich
7d9025a967
get rid of mtime=0
...
Setting mtime=0 was done by older releases and is always wrong, it should be at least '1'
Also fixes triggerFullMediaScan() to ditch the correct values ;-)
2017-02-11 15:12:14 +01:00
Adrian Ulrich
35833f1c65
Do *not* set mtime to 0 if we are triggering a lazy rescan
...
mtime==0 means: item does not exist and it will never be get correctly re-indexed in this state
2017-02-08 18:32:49 +01:00
Adrian Ulrich
90b48bdc8c
implement scanner preferences
2017-02-04 09:47:18 +01:00
Adrian Ulrich
b8831f71f2
use media database to store preferences instead of the shared pref provider
2017-01-21 14:05:01 +01:00
Adrian Ulrich
364a08b3bc
set disc_num to 1 if unset
2017-01-03 21:22:11 +01:00
Adrian Ulrich
e4cbf3e4fe
fix sql layout to store disc_num on song
...
The album id is hashed from the string, so joining it from the shared album entry doesn't make much sense
2017-01-02 13:01:30 +01:00
Adrian Ulrich
055effb976
support for file updates
2016-11-28 21:05:02 +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
29c6dd9916
add songs for playlist_id,song_id queries
2016-11-26 16:53:05 +01:00
Adrian Ulrich
4e1101b2da
initial import of our own media library database
2016-11-21 11:38:43 +01:00