Commit graph

335 commits

Author SHA1 Message Date
Karim Abou Zeid
294f3fc5d0 Making great progress with the "view as" option to toggle between list and grid mode. Currently only implemented in the album fragment. To add the functionality to other fragments just extend the AbsMainActivityRecyclerViewLayoutModeFragment class and implement its abstract methods (class name should be changed to something shorter soon). In future the artist and song fragments should extend that class. 2015-07-15 03:40:47 +02:00
Karim Abou Zeid
280e8a15eb SeekArc in sleep-timer now colored with the accent color. Fixes #47 2015-07-14 17:10:56 +02:00
Karim Abou Zeid
306c676e8b Fixed the MainActivity PopupMenu's checkboxes and radio buttons not being tinted with the accent color. 2015-07-14 05:12:05 +02:00
Karim Abou Zeid
8bdaf08a30 Added native image loader support for artist images. Automatically recreate activity onrResume when colors changed fixes issues #2 and #39. Also Butterknife should be used now everywhere #40 2015-07-14 04:08:43 +02:00
Karim Abou Zeid
9c8cba612b Main Activity Fragments should be updated automatically now when the Media Store has changed. 2015-07-13 16:50:05 +02:00
Karim Abou Zeid
e0a6535f9f Send Intent when Media Store changes. Removed possible memory leak from PreferenceUtil. 2015-07-13 04:58:55 +02:00
Karim Abou Zeid
b808491206 Removed bus. Will be replaced by an intent system soon. 2015-07-13 03:14:01 +02:00
Karim Abou Zeid
f903b862d9 Fixed playlist song adapter wrong song menu 2015-07-13 02:35:38 +02:00
Karim Abou Zeid
0650df6250 Massive adapter clean up. Lots of stuff unfinished there yet. Don't mess around with it yet. 2015-07-13 02:16:26 +02:00
Karim Abou Zeid
98dcdf2d47 Adapter clean ups 2015-07-12 03:22:24 +02:00
Karim Abou Zeid
abedc48f23 Moved a method to the ColorUtil class 2015-07-11 15:53:23 +02:00
Karim Abou Zeid
357ef1df69 Notification text color changes to match the background. Cleaned up notification related code. 2015-07-11 15:41:18 +02:00
Karim Abou Zeid
66d1d6285f Display a heart in for the favorites playlist instead of the generic playlist icon 2015-07-11 15:37:19 +02:00
Karim Abou Zeid
88d4dd8e80 Cleaned up the Util classes 2015-07-11 02:08:54 +02:00
Karim Abou Zeid
b2d9f672dd Clear image cache after changing the loading source 2015-07-11 01:40:47 +02:00
Karim Abou Zeid
9d4ea9911f Improve image loading in the notification, the widget and the lockscreen album art by moving stuff to worker thread and adjusting the bitmap size which should also prevent the to large bitmap exception currently occurring in the widget for some devices. 2015-07-11 00:34:25 +02:00
Karim Abou Zeid
d8c7af3e09 Play files from explorer (currently only if the matching song is in the MediaStore) 2015-07-10 23:32:29 +02:00
Karim Abou Zeid
528d267ab3 Cleaned up MusicServices annotations 2015-07-10 22:57:28 +02:00
Karim Abou Zeid
f62e850b86 Refactored some variable names 2015-07-10 21:44:41 +02:00
Karim Abou Zeid
09a1523d57 Fixed playlist song loader loading wrong playlistId which caused that it was no longer possible to delete songs from playlists 2015-07-10 21:44:15 +02:00
Karim Abou Zeid
9cdde459aa Improved time for opening Album, Artist or Now Playing screen 2015-07-10 19:27:07 +02:00
Karim Abou Zeid
e5146ea279 Performance improvement slightly for loading album art 2015-07-10 17:44:48 +02:00
Karim Abou Zeid
9d1ea7f1f6 Replaced unnecessary 48dp drawables with 36dp ones 2015-07-10 16:49:59 +02:00
Karim Abou Zeid
6e6e7ac38e Fixed FC when opening the Last Added Playlist 2015-07-10 16:18:18 +02:00
Karim Abou Zeid
058b5b8ce9 TabStrip color now uses the accent color instead of white/black 2015-07-10 04:25:58 +02:00
Karim Abou Zeid
6c7ee47d3f Replaced back arrow with x in some places and cleaned some code up 2015-07-10 03:49:20 +02:00
Karim Abou Zeid
eb9b4bcb25 Fixed RuntimeException because of setting setHasStableIds() multiple times in SmartPlaylistSongAdapter 2015-07-10 03:08:54 +02:00
Karim Abou Zeid
5317c51400 Added Nullity Annotations 2015-07-10 02:37:10 +02:00
Karim Abou Zeid
1dcc447e52 Added option to ignore media store artwork and instead loading it directly from the song file 2015-07-10 02:26:30 +02:00
Karim Abou Zeid
da92636180 Cleaned up MediaStore loaders, preparing for album art loading directly from the file 2015-07-09 16:37:45 +02:00
Karim Abou Zeid
9e7820f085 Fixed OOB exception in the song adapter 2015-07-08 19:50:15 +02:00
Karim Abou Zeid
6834662c82 Fixed the gap in the PlayPauseDrawable that occurred on some devices which were using custom DPIs 2015-07-08 16:38:42 +02:00
Karim Abou Zeid
386289b951 Fixed starting main activity with playback intent not working 2015-07-08 01:27:40 +02:00
Karim Abou Zeid
4d82b91465 Added a sleep timer 2015-07-08 01:16:19 +02:00
Karim Abou Zeid
b5f160dd89 Made the media player illegalstate secure 2015-07-07 03:58:01 +02:00
Karim Abou Zeid
cfa6ddaa2e Fixed saving position in track, improvement with service binding, temporary new default album art. 2015-07-07 02:19:09 +02:00
Karim Abou Zeid
1cccaad0f4 Clean ups, new default album art cover and widget resize fix 2015-07-06 18:52:26 +02:00
Karim Abou Zeid
6e85dd230d Fixed NPE 2015-07-05 18:33:17 +02:00
Karim Abou Zeid
bd69dc1d43 Slightly updated the appwidget appearance, use smaller bitmap size for palette. 2015-07-05 17:39:10 +02:00
Karim Abou Zeid
a238d6564e Clean ups and fixed a NPE in the widget. 2015-07-05 15:22:30 +02:00
Karim Abou Zeid
c1437283aa Fixed some artist images not showing up and a crash when the artist image url was empty 2015-07-01 16:21:42 +02:00
Karim Abou Zeid
50460a6653 Fixed NPE when trying to load the artist image in the SearchAdapter 2015-06-30 03:06:36 +02:00
Karim Abou Zeid
292e103f7a Fade the album covers in the album adapter in. TODO: also fade the images in of other adapters. 2015-06-30 02:57:47 +02:00
Karim Abou Zeid
cdba76c933 Switched from Volley to RetroFit + OkHttp for performance and simplicity 2015-06-29 21:38:09 +02:00
Karim Abou Zeid
bfa800bce6 Hopefully fixed OOM when bluring an image. 2015-06-29 15:42:33 +02:00
Karim Abou Zeid
593211bd2b Removed the fade in/out on play/pause option because it caused bugs with the audiofocus and complicated the development. -> Fixed the audiofocus problem where the music wont start playing again when gaining focus back. 2015-06-28 23:18:04 +02:00
Karim Abou Zeid
54de0bb2cc Disabled gapless playback for default 2015-06-28 15:55:36 +02:00
Karim Abou Zeid
5a1503ed7b Added option to disable album art on lockscreen. 2015-06-28 15:48:05 +02:00
Karim Abou Zeid
456fc40cd7 Added an animation when adding a song to favorites from the now playing screen. 2015-06-28 15:14:20 +02:00
Karim Abou Zeid
4db8e8d302 Merged the two music controller layouts into one. 2015-06-28 14:32:47 +02:00