1681 Commits

Author SHA1 Message Date
Adrian Ulrich
b845bd0b8b fix some english 2017-02-05 13:53:09 +01:00
Adrian Ulrich
6938c820b3 fix fd leak and increase logging 2017-02-04 11:53:52 +01:00
Adrian Ulrich
56154f21bd Check forceBastp and use own ID3v2 reader if true
Also sync with bastp head to get additional vorbis <-> id3v2 mappings
2017-02-04 11:24:48 +01:00
Adrian Ulrich
51a4c0ffeb fix misuse of ugly getSetPreference() function
We just want to get, so we pass -1
2017-02-04 10:13:11 +01:00
Adrian Ulrich
7183a85869 implement group-album-by-folder 2017-02-04 10:05:24 +01:00
Adrian Ulrich
90b48bdc8c implement scanner preferences 2017-02-04 09:47:18 +01:00
Adrian Ulrich
c0854e2740 fix setSortMode range check
Modes are inverted indexes, so we can not use Math.abs()
2017-02-03 21:36:10 +01:00
Adrian Ulrich
e5e9ba3022 Sync with BASTP HEAD 2017-02-03 18:48:48 +01:00
Adrian Ulrich
cc930c3dbb never return covers for unindexed songs
Invalid song objects have an id == -1, unindexed songs start at -2, so we should also skip them as their album information is bonkers
2017-02-02 19:04:41 +01:00
Adrian Ulrich
3c15eca5e6 do not put empty-names in brackets 2017-02-02 18:56:13 +01:00
Adrian Ulrich
de9fa76692 target 1.0.48 2017-01-29 08:48:16 +01:00
Adrian Ulrich
cb6b824e05 use getAndroidMediaIds for cover and mirrorlink 2017-01-26 20:26:17 +01:00
Adrian Ulrich
7d90334867 fix scrobbler 2017-01-26 20:18:07 +01:00
Adrian Ulrich
541f846aaa improve ReadaheadThread
We are now calculating the read speed instead of using a hardcoded value.
2017-01-24 22:16:24 +01:00
Adrian Ulrich
446912c225 improve isMediaFile() guess 2017-01-24 21:23:08 +01:00
Adrian Ulrich
a98eb36a1c Relax sFilterLeftInt to also match on integers which are followed by other chars.
..so we also match eg: '2/13' (-> 2)
2017-01-24 21:03:25 +01:00
Adrian Ulrich
a6442948fc relax audio data check 2017-01-22 21:38:09 +01:00
Adrian Ulrich
d2c54eeb2a Do not index ringtone data 2017-01-22 21:14:11 +01:00
Adrian Ulrich
2c5abc352c Use MediaStore.Audio.Media.EXTERNAL_CONTENT_URI for cover lookups
MediaStore.Audio.Media.getContentUriForPath() seems to return strange results on some phones and lookups to non-external databases are pretty unlikely anyway.
2017-01-22 20:41:01 +01:00
Adrian Ulrich
555070a7e7 Pass filedescriptor to mediametadataretriever instead of a path.
This avoids issues where it would parse paths as uri's - we already do this for the MediaPlayer, so doing the same here seems to be sane.
2017-01-22 20:40:11 +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
1982b0f969 convert legacy ID3v1 numeric-only genres into strings 2017-01-21 12:27:16 +01:00
Adrian Ulrich
74f921e3a1 use Long to calculate duration
The duration is stored as 'ms', so the total sum might overflow
2017-01-18 21:11:14 +01:00
Adrian Ulrich
055ed2c053 increase icon search to 150 tries 2017-01-18 20:19:32 +01:00
Adrian Ulrich
604930f807 target 1.0.47 2017-01-16 18:15:22 +01:00
Adrian Ulrich
553d32ef60 update translations 2017-01-15 17:20:33 +01:00
Adrian Ulrich
d2b5f931d2 improve quickscan 2017-01-15 17:16:16 +01:00
Adrian Ulrich
bb2e707844 add option to abort a scan 2017-01-15 16:00:06 +01:00
Antic1tizen One
c270b13296 Add CI smoke build, fix Gradle Lint warnings, fixes #451 (#504)
- Added CI smoke build config that spawns a build for pull-requests
- Removed extra translations that have no base strings anymore
- Added skip MissingTranslation option to lint as there are missing strings that are not filled in Transifex
2017-01-12 19:01:19 +01:00
Adrian Ulrich
882c03274b Update HALL-OF-SHAME.md 2017-01-11 19:10:59 +01:00
Antic1tizen One
58b40d862c Plugin subsystem. Shown as a last option in song context menu. Part of #407 (#442) 2017-01-08 19:52:07 +01:00
Adrian Ulrich
091d711ff9 change accent of blue theme 2017-01-08 19:04:44 +01:00
Adrian Ulrich
76996605c8 Show every album where the artist has at least one song for album lookups
the old code just used the inherited primary artist which is pretty confusing
2017-01-08 18:45:32 +01:00
Adrian Ulrich
c15b98bdc7 move media library header in settings 2017-01-08 17:55:50 +01:00
Adrian Ulrich
039a6821b6 improve handling of changed and updated files 2017-01-08 17:54:26 +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
e92e24ec00 fix regexp for year-fallback extraction
Java regexp's are always automatically enclosed by ^$
2017-01-01 18:13:49 +01:00
Adrian Ulrich
294a670607 tune progress icon 2016-12-31 17:23:12 +01:00
Adrian Ulrich
2e958ec285 update notification at most twice per second 2016-12-31 14:07:02 +01:00
Adrian Ulrich
e747f1ee37 use notification instead of toast to display scan progress 2016-12-31 13:54:17 +01:00
Adrian Ulrich
fc167c08c7 remove debugging leftovers 2016-12-31 12:45:34 +01:00
Adrian Ulrich
01ee099cef disable database debugging 2016-12-31 12:38:39 +01:00
Adrian Ulrich
d26d10570b import old playlists 2016-12-31 12:38:05 +01:00
Adrian Ulrich
2a562230da make delay in startQuickScan an argument 2016-12-31 11:12:12 +01:00
Adrian Ulrich
19ae36c3a2 update translations 2016-12-31 10:52:46 +01:00
Adrian Ulrich
c55860d56d s/songs/tracks/ 2016-12-28 18:06:19 +01:00
Adrian Ulrich
08f79a84ae implement media scanner UI 2016-12-27 21:44:42 +01:00
Adrian Ulrich
447059150e Revert "fix some layout errors with the white widget"
This looks bad on Android 5 :-/

This reverts commit 37652c8b92196afdd996ff3634ff8925573821b6.
2016-12-27 19:39:32 +01:00
Adrian Ulrich
46deaf25e7 crashfix: correctly check sort mode bounds
A sort mode of -6 means '6 reversed', so we must check if '6' is in-bounds (instead of -6)
2016-12-26 21:06:05 +01:00