1417 Commits

Author SHA1 Message Date
Xiao Bao Clark
8c6993537d Exclude empty genres from genre list
Previously, genres without any songs associated with them would appear
in the Library genre list.

This commit adds a new query for genres that excludes these empty genres.

This partially fixes issue #286 (empty genres cannot be deleted) -
genres still can't be deleted, but the empty ones will no longer appear.
2016-02-28 12:08:58 +11:00
Adrian Ulrich
29307ae357 set correct default value
This should have been done in b7fae56fc30ab7c172fd9345f748dd0b25170290
2016-02-27 16:13:42 +01:00
Adrian Ulrich
a347f38eb7 Merge pull request #291 from xbao/fix/cover-crash
Check width and height > 0 before generating bitmap
2016-02-20 09:34:47 +01:00
Xiao Bao Clark
8fbfaae8a2 Check width and height > 0 before generating bitmap
Creating a bitmap with 0 width or height will cause a fatal exception.

A check was added in commit 2149745, but there are still some crashes
(e.g. issue #267). This commit replicates that check directly before the
creation of the bitmap.
2016-02-20 13:14:20 +11:00
amin bandali
ebcc88fe40 Change the wording of subreddit link in about.html
Say "Community & support", instead of just "Subreddit", for more clarity for
people who might not know reddit.

Suggested by /u/Piscivm at
https://www.reddit.com/r/vanillamusic/comments/41x3n9/suggestion_user_forum_in_about_page/
2016-02-14 00:08:14 -05:00
Adrian Ulrich
aadabf6ea0 target 1.0.37 2016-02-13 16:43:27 +01:00
Adrian Ulrich
4156c309c4 remove dead code 2016-02-13 16:38:31 +01:00
Adrian Ulrich
b3ea41f46a slightly improve speed of media-database bitmap miss'es 2016-02-13 16:04:51 +01:00
Adrian Ulrich
aee303fb62 Call onPrepareOptionsMenu on consumer before showing the menu
Otherwise the 'sort' option will stay enabled, causing crashes in the files adapter
2016-02-07 14:07:54 +01:00
Adrian Ulrich
7afff3890f Squashed merge of favorites branch 2016-02-07 13:14:18 +01:00
Adrian Ulrich
329451dce4 increase jpeg quality from 80 to 85
This results in about the same filesize as a 90q-webp
2016-02-07 13:06:12 +01:00
Adrian Ulrich
41e57bb1c6 switch from WEBP to JPEG as the jpeg decoder is up to 4 times faster 2016-02-06 11:45:35 +01:00
Adrian Ulrich
3067e59223 Do not pass out-of-bounds data to mLists[index].setSelection
This might cause crashes and the cached data is *not* guaranteed to be 'recent'
2016-02-05 11:03:45 +01:00
Adrian Ulrich
0e9f5b590a make library view song display consistent with showqueue 2016-02-03 21:39:15 +01:00
Adrian Ulrich
924a8189de Check for null song + artist, seems to happen on some broken ICS devices 2016-02-02 15:28:38 +01:00
Adrian Ulrich
5ca50aeebe Bind lru cache size to device memory 2016-02-02 15:28:25 +01:00
Adrian Ulrich
b8c4e73849 remove obsolete sCoverCache 2016-02-02 14:36:04 +01:00
Adrian Ulrich
a6b4997195 Move placeholder cover code to CoverBitmap 2016-02-02 14:03:49 +01:00
Adrian Ulrich
f49d5fd1ad Revert workaround for ICS Lockscreen bug
This is - hopefully - not needed on any LP devices
2016-02-02 11:32:18 +01:00
Adrian Ulrich
d891f77be4 use matching (small) cover for library view controls 2016-02-02 10:56:46 +01:00
Xiao Bao Clark
fc2870d223 Use application context in BitmapDiskCache
This fixes a leak where the cache would hold a reference
to the LibraryActivity (as a Context)
2016-02-02 09:24:36 +01:00
amin bandali
69775a0a0a Tell the world about /r/VanillaMusic !
Add a Community section to README and invite everyone
to join our subreddit /r/VanillaMusic
2016-01-07 22:19:35 -05:00
Adrian Ulrich
fec73b4b65 The menu button is, for whatever reason not 48 but 36+4 dp 2016-01-07 22:52:05 +01:00
Adrian Ulrich
ec491604c2 update changelog 2016-01-07 20:40:38 +01:00
Adrian Ulrich
98b2501fc0 Only pad the right edge with 4dp, not all items 2016-01-07 20:36:42 +01:00
Amin Bandali
6ad8c087ae Add a link to our subreddit /r/VanillaMusic
in the About page
2016-01-07 09:42:59 -05:00
Adrian Ulrich
85075fe18a Add XXX-HDPI launcher icon 2016-01-07 12:49:29 +01:00
Adrian Ulrich
4daf989f71 bump version to 1.0.36 2016-01-07 10:03:52 +01:00
Adrian Ulrich
68cfa7a532 Remove tint from api-21 menu button
This silences warnings about unresolved attributes as we are NOT going to use
the v21 api getDrawable(int, theme); call until we drop ICS support
2016-01-07 10:02:35 +01:00
Adrian Ulrich
e6c28401b3 Permission request is not part of the default layout
It can inflate itself
2016-01-07 09:51:24 +01:00
Adrian Ulrich
dc45137eee squashed merge of hacky-bottom branch 2016-01-07 09:16:24 +01:00
Adrian Ulrich
34076dc9a2 Force text to stay on a single line 2016-01-03 16:41:35 +01:00
Adrian Ulrich
b7fae56fc3 Change default action from Play/Enqueue to Expand
Always wanted to do this but never had the guts to change it ;-)
2016-01-02 14:02:01 +01:00
Adrian Ulrich
4d38c594a7 Merge branch 'material-tabs' 2016-01-02 13:55:33 +01:00
Adrian Ulrich
dab9401c23 Change folder icon size 2016-01-02 13:35:25 +01:00
Adrian Ulrich
bd15ec5e58 use selector for tab font color 2016-01-02 12:53:07 +01:00
Adrian Ulrich
fbc5b0732b use setSelectedIndicatorColors
instead of a colorizer class
2016-01-02 12:01:26 +01:00
Adrian Ulrich
ed67cb0af2 use platform default text size for tab text 2016-01-02 11:42:54 +01:00
Adrian Ulrich
d00e5d197d s/fake/placeholder/ 2015-12-31 21:32:18 +01:00
Adrian Ulrich
1d5ce6d239 Make scrolling nice again 2015-12-31 21:30:20 +01:00
Adrian Ulrich
6910376b17 remove obsoleted theming 2015-12-31 21:03:23 +01:00
Adrian Ulrich
b16c6014f6 remove old tab drawables 2015-12-31 20:57:27 +01:00
Adrian Ulrich
9a319f9e05 Migrate to SlidingTabLayout 2015-12-31 20:53:39 +01:00
Adrian Ulrich
b08fd9ab14 Add tabs code from GOOG 2015-12-31 17:28:53 +01:00
Adrian Ulrich
c0b125d5a5 Remove pre Android 4.x leftovers 2015-12-31 15:50:16 +01:00
Adrian Ulrich
2a633893b6 Draw fake covers for items with no album identifier 2015-12-31 10:11:18 +01:00
Amin Bandali
15572f0ac0 Use new material search icon with material theme 2015-12-29 10:33:31 +01:00
Adrian Ulrich
4671261f1c Squashed merge of the material-polish branch 2015-12-28 14:18:48 +01:00
Adrian Ulrich
34e775254a Add link to nightly builds 2015-12-26 09:06:38 +01:00
Adrian Ulrich
1d0ab18911 update translations 2015-12-24 09:04:20 +01:00