Commit Graph
1668 Commits
Author SHA1 Message Date
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 37652c8b92.
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
Adrian Ulrich 70b8119365 add blue theme 2016-12-26 20:50:32 +01:00
Adrian Ulrich 2f0fe7586b Revert "add blue theme"
This reverts commit 8f670897dd.
2016-12-26 20:50:06 +01:00
Adrian Ulrich 1fa70a00bf use centerCrop for notification 2016-12-26 20:13:29 +01:00
Adrian Ulrich 37652c8b92 fix some layout errors with the white widget 2016-12-26 20:13:05 +01:00
Adrian Ulrich 8f670897dd add blue theme 2016-12-26 19:51:58 +01:00
Adrian Ulrich 6c85a11743 Merge branch 'medialibrary' 2016-12-26 19:33:08 +01:00
Adrian Ulrich dcd7df4f66 first version of automatic media scanner 2016-12-26 19:31:12 +01:00
Adrian Ulrich 6f898e7892 update translations 2016-12-22 18:57:06 +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 2e9de29921 fix comment typo 2016-12-18 11:53:10 +01:00
Adrian Ulrich 4ed4cd0fab implement startNativeLibraryScan() 2016-12-18 11:50:59 +01:00