2236 Commits

Author SHA1 Message Date
92ab814f75
app/build.gradle: fix to make it build 2022-09-14 12:13:33 +03:00
f43acdec83
Merge branch 'master' into rasp 2022-09-14 11:46:20 +03:00
f88713544c
resume playback on bluetooth headset connected (wo static broadcast rcv) 2022-09-14 11:45:30 +03:00
Adrian Ulrich
0925e04a5b drop some cruft 2022-09-05 21:34:12 +02:00
Adrian Ulrich
c3175f756d make SDK33 happy
We have to upgrade the minsdk level to android 8 - which was released in 2017; 5 years ago.
2022-09-05 21:18:24 +02:00
Adrian Ulrich
fcb0941e7b upgrade SDK level to 33 2022-09-05 20:31:08 +02:00
018d2ecf0c
Make m3u8 playlists syncable instead of m3u 2022-08-17 11:25:22 +03:00
d2d933ed8f
Make bypass .nomedia, bypass .nomedia under Android 11+ (android.permission.MANAGE_EXTERNAL_STORAGE) update gradle to some higher version 2022-08-17 00:38:20 +03:00
Dominik Stadler
7c0fdf0957
Support adding all files from a directory ()
* Support adding a directory of tracks even if it is not contained in the database (yet)

Currently only single files were handled, but it is useful to also
do this for directories by recursively adding all contained files.

* Limit number of files added to queue to 500
2021-08-21 09:39:31 +02:00
Adrian Ulrich
aedd1f2dae cleanup dead translation 2021-04-25 19:13:57 +02:00
Adrian Ulrich
d4ae6eb351 configure proguard, disable obfuscation 2021-04-25 19:12:02 +02:00
Adrian Ulrich
0bd1d1dd0b update translations 2021-04-25 18:59:52 +02:00
Adrian Ulrich
0c9ed34a80 fix spines 2021-04-25 18:57:57 +02:00
Adrian Ulrich
cf9aa1df0e use R.drawable.fallback_cover_large for notification instead of fallback cover.
This is the same cover used in widgets and the media library, so it's more consistent.
2021-04-18 15:28:02 +02:00
Adrian Ulrich
3e8c74125f Skip null file in media library.
Looks like Samsung still returns 'null' here sometimes - for whatever reason.
2021-04-17 08:30:34 +02:00
Adrian Ulrich
f908a2ebb0 update translations 2021-04-11 10:16:23 +02:00
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. () 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 ()
* 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