2212 Commits

Author SHA1 Message Date
Kilian Köppchen
afa4ab463c
Fix comments within CoverCache class. (#1019) 2020-03-01 16:54:38 +01:00
Adrian Ulrich
690bb889ab Also catch IllegalArgumentException during setNextMediaPlayer 2020-02-22 10:01:32 +01:00
Edontin
3ac3efe92c
Fix playlist path resolution for symlinked paths. (#1016)
Change path resolution to remove parent directories without following
symbolic links.

When resolving relative paths such as `../../storage/emulated/0/`
the symlinks will be read and parent paths removed, in that order.
This results in paths from an `/sdcard` symlink producing unexpected
relative paths e.g.`/sdcard/../storage/emulated/0/test.mp3` resolves to
`/storage/emulated/storage/emulated/0/test.mp3` instead of
`/storage/emulated/0/test.mp3`.
2020-02-22 09:47:01 +01:00
Toby Hsieh
265efa7b93
Use android:requestLegacyExternalStorage (#1012)
This is a temporary workaround to buy more time to see if a better
solution can be worked on for Android 10's scoped storage limitations.
2020-02-22 09:45:41 +01:00
Adrian Ulrich
3928e7dbcf use DIPs for ArrowedText 2020-01-19 13:00:13 +01:00
Adrian Ulrich
ebad3392ff speedup debug builds 2020-01-19 12:39:42 +01:00
mueller-ma
fdec4d50da Use darker colors for artist images (#984)
* Use darker colors for artist images

Fixes #983

Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>

* Use material colors

Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>

* Update generate-themes.pl

Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>
2020-01-19 12:12:13 +01:00
Adrian Ulrich
cf57d2a5aa redesign limiter view 2020-01-19 12:03:02 +01:00
Adrian Ulrich
adeee18ecd Use Environment.getExternalStorageDirectory on Android 10 2020-01-19 09:19:07 +01:00
Adrian Ulrich
497af31e52 add a white border to the close button for better visibility with dark themes 2019-12-31 17:11:12 +01:00
Adrian Ulrich
e43b193cc1 rebuild icons 2019-12-31 16:54:34 +01:00
Adrian Ulrich
666ee8eb87 fix svg to work with newer versions of inkscape
There was a bug in inkscape which caused me to use 68.888 as a base, looks like this was now fixed.
2019-12-31 16:53:28 +01:00
Adrian Ulrich
00df00c3d6 bump api version to 29 2019-12-31 16:34:53 +01:00
Adrian Ulrich
2b9466575f fix issue with api29
Because '*' is not a valid columns (yeah android...), we need to supply an existing column to count things.
2019-12-31 16:34:19 +01:00
Adrian Ulrich
adc0cedf44 update translations 2019-12-31 15:15:38 +01:00
Adrian Ulrich
3c58f77bdd target 1.0.84 2019-09-08 18:16:19 +02:00
Adrian Ulrich
aaa5f8e3ef Do not hardcode path to /sdcard 2019-09-08 17:49:24 +02:00
Toby Hsieh
789e0d181c Move Details before Delete in LibraryActivity's FancyMenu (#969)
This makes it more consistent with the FancyMenu for tracks in the
queue, where Details appears before Remove.
2019-08-02 10:06:30 +02:00
wchen342
ef22a8cb46 Fix a bug in https://github.com/vanilla-music/vanilla/pull/935. (#962) 2019-06-09 08:59:30 +02:00
Adrian Ulrich
fa8cb5a975 Blacklist 'Android/media' by default 2019-05-22 13:21:21 +02:00
Adrian Ulrich
209b1b2cc7 add more debug info 2019-05-01 18:35:51 +02:00
Adrian Ulrich
c57d256a1c Take R128 header (not) into account while calculating replay gain. 2019-05-01 18:15:31 +02:00
Adrian Ulrich
8bb3395b0b Target 1.0.83 2019-04-21 16:18:56 +02:00
Adrian Ulrich
5ebd4ff4a4 update translations 2019-04-21 16:16:25 +02:00
Adrian Ulrich
6ab52195b5 fix fingerprint calculation.
The '+' operation takes precedence over the shift, so the code was shifting the type by hashCode bits, which is obviously wrong.
2019-03-29 20:18:39 +01:00
E.Wings
646e6e3362 Fixed back button behavior in Setting-Audio (#935) 2019-03-19 21:08:12 +01:00
Adrian Ulrich
08daf653d0 Revert "Added margin to info_table to remove it from the screenborder (#924)"
This breaks the layout:
 * queue height is wrong
 * does only cover parts of the cover
2019-02-28 21:41:36 +01:00
Kanedias
50d8d43b54 Simplify plugin package search. Fix plugin detection. (#926)
Currently plugin searching still works in two stages, first it searches
for all plugin broadcast receivers and then waits for all the answers
to complete the plugin map. If any of plugins doesn't answer the call
this means all of them won't be shown and that's not very user-friendly.

The change simplifies plugin search to just package scan for specific
broadcast receivers. Android provides package name and app info for it.
We don't need any other info from plugins, so we don't need to wait for
broadcast roadtrip.

Further improvements:
* introduce meta-data and uses-feature tags in
plugin manifests and get rid of broadcast receiver completely.
* Implement view in settings activity with list of installed plugins
2019-02-28 21:30:26 +01:00
newhinton
0b3c1ef5d8 Remove onOptionsItemSelected to fix backbutton in settings (#921) 2019-02-28 19:08:34 +01:00
newhinton
f4cc237063 Added margin to info_table to remove it from the screenborder (#924) 2019-02-28 19:06:25 +01:00
Petko Ditchev
e0d0936001 Fix relative path resolution (#928)
When you have a music folder /music and a playlists folder /music/playlists , then reading a playlist with a song ../a.mp3 inside resolved to "/music/playlists/../a.mp3" , which broke the import operation. Using getCanonicalPath instead of getAbsolutePath fixes the issue, since the former resolves the URI to /music/a.mp3
2019-02-28 19:03:42 +01:00
Adrian Ulrich
199cbcfee1 update version 2019-02-25 08:26:13 +01:00
Adrian Ulrich
2278264fe8 update translations 2019-02-23 07:09:27 +01:00
Adrian Ulrich
c56c48ae52 target 1.0.82 2019-02-21 20:10:57 +01:00
Adrian Ulrich
16dd5fc601 only apply gain correction if we have any R128 tags. 2019-02-21 20:10:42 +01:00
Adrian Ulrich
2340a349a1 add flags to MatrixCursor 2019-02-21 19:42:36 +01:00
Adrian Ulrich
a7c3943e07 Select FLAGS in full playlist projection 2019-02-18 19:44:33 +01:00
Adrian Ulrich
94bb87a210 Use U+00B7 in queue view. 2019-02-17 15:30:00 +01:00
Adrian Ulrich
1a6c9018e1 keep track of absent album or artist tags and do not display covers for unknown albums. 2019-02-17 15:26:21 +01:00
Adrian Ulrich
915c5851f3 Fix R128 replay gain
The old calculation was always wrong if there was a base value.
2019-02-17 15:04:28 +01:00
Adrian Ulrich
2145666183 sync with bastp head 2019-02-17 14:12:35 +01:00
Adrian Ulrich
fa9847b4d0 Use U+00B7 as separator 2019-02-12 08:22:06 +01:00
Adrian Ulrich
1240325f80 Use WORD SEPARATOR MIDDLE DOT instead of EN-DASH 2019-02-11 08:24:36 +01:00
Adrian Ulrich
4d074d52ad shor duration of playlists 2019-02-10 19:53:55 +01:00
Adrian Ulrich
9ce0975d41 migrate to androidx 2019-02-09 11:59:55 +01:00
Edontin
9f65fb3f84 [Issue #905] Add playlist path relativization option. (#908)
* Add playlist path relativization option.

Allows relative paths to be specified/exported within synchronized playlists.

* Minor code clean up for relative playlist exports.

Removes some unnecessary code and slightly improves associated Javadocs.
2019-02-03 09:31:53 +01:00
Adrian Ulrich
e312d41874 support 'play all' for files adapter 2019-02-02 20:20:35 +01:00
Adrian Ulrich
591fe1c753 use dark theme on holo 2019-01-27 13:21:30 +01:00
Adrian Ulrich
18abc9e97a Set theme for BottomSheet 2019-01-27 13:12:09 +01:00
Adrian Ulrich
2f6caffaec order generated theme data 2019-01-27 13:03:39 +01:00