1295 Commits

Author SHA1 Message Date
Adrian Ulrich
e7a9bb74c0 Improve genre hack 2015-11-08 13:22:09 +01:00
Adrian Ulrich
cb8debb2f4 Implement artists limiter
Set and used by the genre limiter
2015-11-07 11:52:58 +01:00
Adrian Ulrich
cb02b71bf4 Ability to filter artists by genre 2015-11-07 11:21:13 +01:00
Adrian Ulrich
37527e17cc Relex callback barrier
The PlaybackService will notify GUI elements about state changes.
However: These callbacks are async and the gui may already have updated its own state, so the code checks
for 'old' RPCs. This fails on fast devices, where click -> service -> state-change -> callback takes less than 1ms

The new code relexes this and accepts messages with the same timestamp
2015-11-04 13:04:12 +01:00
Adrian Ulrich
d42bd1c252 remove orphaned mEmptyQueue view 2015-11-04 12:30:33 +01:00
Adrian Ulrich
655d071901 Rewind songs 2015-11-04 10:38:16 +01:00
Adrian Ulrich
cce1727b8b allow passing 0 to timelines shiftCurrentSong 2015-11-03 15:31:06 +01:00
Adrian Ulrich
0cfd1c905c fix english 2015-11-03 13:47:16 +01:00
Adrian Ulrich
d5d0b23db4 Implement on-disk cache 2015-11-03 13:03:46 +01:00
Adrian Ulrich
36c63ff57a Save files tab position in settings
Fixes bug #241
2015-11-02 20:51:27 +01:00
Adrian Ulrich
2a3eb5f403 Beautify Android 6 permission request 2015-11-01 17:09:37 +01:00
Adrian Ulrich
93e9567830 Merge Pull Request #230 into master 2015-11-01 13:05:56 +01:00
Adrian Ulrich
d847e44071 add gratipay badge 2015-10-25 20:13:23 +01:00
Adrian Ulrich
08658e6464 Get rid of v4 compat versions as we are requiring api14 anyway 2015-10-25 14:41:46 +01:00
Adrian Ulrich
a52e5e828f Update support libs to marshmallow-release version 2015-10-25 13:27:05 +01:00
Adrian Ulrich
8174bd7c56 Merge pull request #237 from xbao/feature/remove-interface-member-modifiers
Remove unnecessary interface member modifiers
2015-10-25 13:12:51 +01:00
Adrian Ulrich
cf075463ca update readme 2015-10-25 13:12:05 +01:00
Adrian Ulrich
a1552370c6 Switch to SDK 23, support for Android 6 permissions model 2015-10-25 13:09:06 +01:00
Xiao Bao Clark
10a1975e09 Remove unnecessary interface member modifiers 2015-10-24 10:59:25 +11:00
Adrian Ulrich
eb7b5dd4de remove superfluent log import 2015-10-16 18:06:27 +02:00
Adrian Ulrich
1e39e50ee9 target 1.0.33 2015-10-16 17:54:51 +02:00
Adrian Ulrich
ac8bbd906b Update translations 2015-10-16 17:49:16 +02:00
Adrian Ulrich
a9d6e50ef4 Simplify shuffle logic
This will hopefully kill more bugs than creating new ones
2015-10-16 17:35:56 +02:00
Adrian Ulrich
2bcabb4aaa rewrite ReadaheadThread to use RPCs 2015-10-16 11:19:11 +02:00
Adrian Ulrich
f2d7cfda02 deprecate LazyCoverView.setup
We are now creating our own worker thread
2015-10-16 09:33:50 +02:00
Adrian Ulrich
617eb9e23b Make ShowQueueActivity a singleTask
No need to keep it a seperated instance: it can become an element of the library->fullplayback stack
2015-10-15 19:54:56 +02:00
Adrian Ulrich
687c099ba8 add missing import for api annotation 2015-10-15 08:41:18 +02:00
Adrian Ulrich
63700898bf set target api to 21 for mirrorlink 2015-10-14 21:09:09 +02:00
Adrian Ulrich
c5d3bc51dc fix crash while searching on a genre limiter
The old regexp failed to prefix cols in such a query:
> .... AND artist_key||album_key||title_key LIKE ?)

We fix this by including the pipe character and matching words (instead of non-spaces)
2015-10-13 21:54:39 +02:00
Adrian Ulrich
fe384e2d79 Adjust icon height to improve alignment with text 2015-10-12 17:56:55 +02:00
Adrian Ulrich
0338b49e41 inherit colors from theme for info-below-cover view 2015-10-12 17:53:40 +02:00
Adrian Ulrich
2676ad1a3c Get rid of gingerbread icons
Icon sources:
* Note: http://publicdomainvectors.org/en/free-clipart/Eighth-Note-with-stem-facing-up-vector-image/10187.html
* Microphone: http://publicdomainvectors.org/en/free-clipart/Microphone-vector-icon/12833.html
* Disk: self-drawn
2015-10-12 17:29:00 +02:00
Adrian Ulrich
7f1f5c0cdd option to disable artwork on lockscreen 2015-10-12 14:24:49 +02:00
Adrian Ulrich
8c0b72e323 Last batch of PrefDefaults changes 2015-10-12 14:04:27 +02:00
Adrian Ulrich
2a803608ec Add more defaults to PrefDefaults class 2015-10-12 13:52:13 +02:00
Adrian Ulrich
e1e46c5da7 add PrefDefaults class and move a good chunk of default values to it 2015-10-12 10:12:59 +02:00
Adrian Ulrich
a36c2dfcce Update README.md
updated readme
2015-10-11 18:17:34 +02:00
Adrian Ulrich
48150c9406 set mPendingSongLimiter for genres 2015-10-09 21:37:03 +02:00
Adrian Ulrich
908420792e songs sorting: order does not affect track column 2015-10-09 21:30:33 +02:00
Adrian Ulrich
1352f9288a improve genre limiter 2015-10-09 20:45:58 +02:00
Adrian Ulrich
c550e66077 Merge pull request #221 from xbao/feature/revert-dslv-fix-7835436a
Revert "Attempt to fix #113"
2015-10-09 07:55:27 +02:00
Xiao Bao Clark
4df8ce0942 Revert "Attempt to fix #113"
This reverts commit 7835436a3553f36e6457f8900ac9a5763b2bfbec.

Commit 7835436a attempted to fix the rare DSLV crash described in #113
by passing all touch events to the gesture detector. This includes
touches that occur when the drag is disabled or the list view wants to
intercept the event, and so is marginally undesirable. Also a factor is
that the DSLV code is taken from a third-party project, and so should be
kept as consistent as possible with upstream.

The attempt appears to not have worked, so a more direct workaround was
implemented in commit 4556d50ed, making 7835436a redundant. This commit
reverts 7835436a.
2015-10-09 07:58:53 +11:00
Adrian Ulrich
6f795a97c4 replace hardcoded is_music by constant from SDK 2015-10-07 21:42:49 +02:00
Adrian Ulrich
f3c9678287 Improve reading corrupted state files
Zero-out invalid shuffle and finish modes
2015-10-07 21:11:13 +02:00
Adrian Ulrich
305a7c1823 Change how unfilled songs are handled
* Remove code checks for -1 and path == null, it's the job of the
creator of a Song object to not inject unfilled songs into the timeline
2015-10-07 21:10:02 +02:00
Adrian Ulrich
c7653c7051 get rid of sRandomCache 2015-10-07 16:20:43 +02:00
Adrian Ulrich
c8bc3705e3 support content:// scheme 2015-10-07 09:56:13 +02:00
Adrian Ulrich
ff8a751108 add isEmpty() implementation 2015-10-07 09:44:40 +02:00
Adrian Ulrich
052365c872 Add isEmpty() call to Song 2015-10-07 09:40:58 +02:00
Adrian Ulrich
e4855e51eb Set artist and album 2015-10-06 22:21:18 +02:00