Commit Graph
2220 Commits
Author SHA1 Message Date
Adrian Ulrich bbf85b4cf7 target 1.1.0 2021-04-11 10:12:14 +02:00
Adrian Ulrich 11200eed8b unbreak plugin integration
API>=30 requires us to declare packages we want to resolve in the manifest:
 https://developer.android.com/training/package-visibility/declaring#package-name
2021-04-11 10:07:49 +02:00
Adrian Ulrich 4c290f0e3f always set cover for notification
Setting a `null` (or very small cover!) image causes Android on API < 30 (i think) to not display the seek bar in the notification, which is... silly?
2021-04-11 09:03:51 +02:00
Adrian Ulrich e6e6bcc323 fix typo 2021-04-05 09:16:30 +02:00
Adrian Ulrich ebaa64fcec bump versionCode for playstore 2021-04-05 09:12:54 +02:00
Adrian Ulrich 5763ab5d12 Do not use java.nio.Path on devices < android-O
Turns out that this was only added in API26 (but is present in Java 7)
2021-04-05 08:15:49 +02:00
Adrian Ulrich 8c6a4cd4c7 introduce MEDIUM cover size
Turns out that widget image views may run out of heap space if we use the large cover everywhere, oops.
Since having the full cover everywhere indeed doesn't make sense, we introduce a MEDIUM size for use in widgets and other remote views.
2021-04-04 14:32:01 +02:00
Adrian Ulrich 68f1337cc1 bump version to build a new play store candidate 2021-04-04 14:03:28 +02:00
Adrian Ulrich f57895550a Use device with for cover size calculation
This greatly improves the cover visuals on larger devices: Use the full display with instead of hardcoding a 200 dpi with.
2021-04-04 13:58:14 +02:00
Adrian Ulrich 4ac3bd6f17 respect 'show artwork on lockscreen' setting in media session 2021-04-02 12:58:32 +02:00
Adrian Ulrich 095ef9d453 target 1.0.92 2021-04-02 10:28:10 +02:00
Adrian Ulrich 27cd3ea0c1 update translations 2021-04-02 10:25:50 +02:00
Adrian Ulrich 1147d94c98 don't broadcast scan progress updates on every inspect call 2021-04-02 10:25:03 +02:00
Adrian Ulrich 3b2449d000 fix scan status
Just inspecting if there is a pending scan plan is wrong, as we will assume the scan is finished while we are in the last phase.
So instead, we now track the scan state explicitly.
2021-04-02 10:14:08 +02:00
Adrian Ulrich 25937ce3a9 put cancel button left from start button 2021-04-02 09:27:33 +02:00
Adrian Ulrich f689fbe9c1 update translations 2021-03-28 18:45:59 +02:00
Adrian Ulrich 39e8404e41 give media library preference some padding 2021-03-28 18:37:49 +02:00
Adrian Ulrich 5eb97409ec media library prefs: do not poll.
It took a couple of years, but the Timer is finally history.
2021-03-28 18:32:18 +02:00
Adrian Ulrich cf0aaf1a57 use new path guesser also in normal filebrowser 2021-03-28 17:21:36 +02:00
Adrian Ulrich 1cb700c3c2 improve file picker to include media dir paths.
Android will not allow us to readdir() on any path, but we can guess the existence of paths based on the return value of `getExternalMediaDirs`.
2021-03-28 16:52:32 +02:00
Adrian Ulrich 6de0d06262 Make detection of external storage directories smarter.
With android11, we have better access to scoped storage, so try a little bit harder to find a 'music' directory.
2021-03-28 15:48:48 +02:00
Adrian Ulrich d130e7ebba target 1.0.91 2021-03-18 09:05:08 +01:00
Adrian Ulrich 8963ed500b Switch default playlist action to 'play all' 2021-03-07 09:16:20 +01:00
Adrian Ulrich 00dbdc7156 target 1.0.91 2021-03-04 13:00:23 +01:00
Adrian Ulrich bc4c8e8d6e force controls to be visible in small view 2021-03-04 12:56:34 +01:00
Adrian Ulrich 9954fbe082 Remove MirrorLink support.
The 2nd MediaSession badly interacts with the button receiver on Android 11 and since i have no means to debug MirrorLink, it's time to say goodbye.
2021-03-04 12:42:03 +01:00
Adrian Ulrich fdbef8d8cb set media session as active after creation 2021-03-04 12:25:08 +01:00
kaipoethkow 479b9203ba Add SVG files for move-to-top/bottom menu icons. (#1074) 2021-03-03 22:35:38 +01:00
Adrian Ulrich 0946f4bdd6 always update notification
Canceled notifications may still stick around a little bit and we want to show the correct state.
2021-03-03 19:58:00 +01:00
Adrian Ulrich 800ecc6edb remove media button preferences and enable them always 2021-03-03 19:45:08 +01:00
Adrian Ulrich 0f5a229df3 unify media sessions.
Android doesn't like having 2 media sessions sticking around, hence we move the button
handling code into MediaSessionTracker on lollipop.
2021-03-03 19:35:02 +01:00
Adrian Ulrich 1a13ca753a add seek bar support 2021-03-03 10:58:15 +01:00
Adrian Ulrich 7e870fe9e5 Switch to appcompat notifications
I really liked our own notification styles, but on Android 11, it just starts to look very alien.
2021-03-03 08:54:23 +01:00
kaipoethkow 20ea9226b5 Add "Move to top" and "Move to bottom" to the queue context menu (#1073)
* Add move-to-top and move-to-bottom items to queue context menu.

* Add german translation for move-to-top/bottom menu items.

* Add icon images for move-to-top/bottom menu items.
2021-02-27 08:41:37 +01:00
Jesus Bravo Alvarez cc32468105 Allow genre tab to expand to albums and artists when tracks tab is not present (#1072) 2021-02-27 08:37:35 +01:00
Adrian Ulrich e97b635034 make all limiter views clickable (again) 2021-02-07 20:10:21 +01:00
Adrian Ulrich e0a09577a3 Remove Q workaround
Scoped storage got different on android-11 again, so we can continue to do what we did before
2021-02-07 19:48:54 +01:00
Adrian Ulrich edc733e977 fixup builds under SDK 30 2021-02-07 19:28:51 +01:00
Adrian Ulrich d1f99e5566 do not request WRITE permission since android 11 won't grant it to us anyway using native file IO 2021-02-07 19:13:45 +01:00
Adrian Ulrich 2df6fc57bf Target SDK 30 2021-02-07 18:51:52 +01:00
Adrian Ulrich d77e9f12c9 fix release date 2021-01-10 21:36:22 +01:00
Adrian Ulrich 226f57172b target 1.0.90 2021-01-10 21:18:52 +01:00
Adrian Ulrich b8e41ab4f4 recognize WEBP as image format 2020-10-15 16:25:10 +02:00
Adrian Ulrich d3453032b7 s/portrait/vertical/ 2020-09-01 09:18:14 +02:00
Adrian Ulrich 99946b12e7 fix layout of 'text below image' view 2020-09-01 09:14:49 +02:00
Adrian Ulrich 23e74d3859 restyle cover view 2020-08-30 16:46:36 +02:00
Adrian Ulrich 4a3aba2aa4 optimize text-below view 2020-08-30 16:29:18 +02:00
Adrian Ulrich 410187152d simplify 'info on cover' code somewhat 2020-08-30 16:20:08 +02:00
Adrian Ulrich 1eeac15d9c shift cover view up to take playback controls into account 2020-08-30 16:17:45 +02:00
Adrian Ulrich 8856693a7b remove hardcoded padding 2020-08-30 16:02:58 +02:00