Commit graph

77 commits

Author SHA1 Message Date
Karim Abou Zeid
08feeff853 Catching OOM on low memory devices while copying the album art for the Remote Control Client 2015-10-09 15:53:24 +02:00
Karim Abou Zeid
cf4ed6d5c0 Recently played is now history. Songs are always added to the history but their play count will be only increased if they were played at least half. This makes the top tracks much more accurate. 2015-09-12 15:14:01 +02:00
Karim Abou Zeid
dc551fc6cc Even though the Last.fm app and webpage say something is scrobbling, the scrobble doesn't actually get saved at the end. Fixes #59 2015-09-05 13:04:45 +02:00
Karim Abou Zeid
0e940be79f Removed ignore deprecation annotation from the MusicService class 2015-09-05 10:09:50 +02:00
Karim Abou Zeid
c2586943d3 Improved performance when starting music playback. 2015-08-23 17:45:20 +02:00
Karim Abou Zeid
b61d8a3f78 Synced translations, clean up and increased build version. 2015-08-21 21:45:52 +02:00
Karim Abou Zeid
b5a0ae7a47 Fixes the "play next" bug and displaying another song then actually currently playing. Fixes #44 2015-08-21 21:24:32 +02:00
Karim Abou Zeid
6f3617650a Support for Android Marshmallow's permission system 2015-08-18 23:47:23 +02:00
Karim Abou Zeid
e0cb18da1a Fix repeat and shuffle mode not displayed correctly on device restart. 2015-08-05 23:55:32 +02:00
Karim Abou Zeid
6b68c17ae2 Various fixes and improvements 2015-08-03 20:53:36 +02:00
Karim Abou Zeid
5f0bfdb14b Sliding panel (early version, current implementation will probably replaced with a fragment implementation soon), translucent and colored statusbar for KitKat everywhere, use correct text colors for secondary texts, numerous clean ups 2015-07-31 00:23:37 +02:00
Karim Abou Zeid
774843bbcc Fixed #48 (Last.fm scrobbling) and refactored a variable name. 2015-07-25 21:26:19 +02:00
Karim Abou Zeid
39b57e61b6 Increased image loading time for the lockscreen album art for album covers larger than the screen size 2015-07-15 19:02:09 +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
88d4dd8e80 Cleaned up the Util classes 2015-07-11 02:08:54 +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
528d267ab3 Cleaned up MusicServices annotations 2015-07-10 22:57:28 +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
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
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
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
957e223e40 Fixed NPE on updatePlaystate() 2015-06-26 15:49:32 +02:00
Karim Abou Zeid
fcb92a3ff3 Got rid of the redundant "AppKeys" class. 2015-06-24 14:40:36 +02:00
Karim Abou Zeid
fc2726bf42 Save the current queue async in an SQL database with an handler running on a background thread (issue #43). Also saving position inside the track now. Fixed a bug where the lockscreen and widget were not updated correctly when pressing play after opening the app for the first time after it was closed before. 2015-06-24 14:26:36 +02:00
Karim Abou Zeid
3cdf44e099 Fixed the notification not showing up when starting playback from the fab 2015-06-22 17:13:50 +02:00
Karim Abou Zeid
a86afe6111 Fixed the none repeat mode not working when at the end of the playing queue. Reverted new color and elevation of songs and artists. 2015-06-22 13:08:05 +02:00
Karim Abou Zeid
50f73c1dde All smart playlists are working now. 2015-06-21 21:17:22 +02:00
Karim Abou Zeid
60cae85ecb Cleaned up MusicService and MusicPlayerRemote even more. 2015-06-19 18:39:00 +02:00
Karim Abou Zeid
049bf90620 Cleaned up MusicService and fixed ISE and NPEs there. Replaced thread with handler for updating the progress bar in MusicControllerActivity for simplicity and performance. 2015-06-19 12:29:40 +02:00
Karim Abou Zeid
3bdecbebe4 Cleaned up and rewrote big parts of the MusicService. Added gapless playback option in settings. 2015-06-19 02:29:44 +02:00
Karim Abou Zeid
1072a3bf85 Reverted "MediaSession update" back to RemoteControlClient. Added back the "x" to close the notification. Notification now also colored below Lollipop. Its now possible to play music from Google Now voice search. 2015-06-17 01:16:58 +02:00
Karim Abou Zeid
4e8c3694d4 Amend last commit. Added new drawables and removed obsolete drawables and layouts. 2015-06-15 20:57:05 +02:00
Karim Abou Zeid
7fcb4a314e Merge remote-tracking branch 'origin/master' 2015-06-15 15:49:51 +02:00
Karim Abou Zeid
010e8f9664 Use MediaSession instead of deprecated classes 2015-06-15 15:49:29 +02:00
Karim Abou Zeid
c0c6627be7 Fix bug with isPlaying() 2015-06-15 11:41:13 +02:00
Karim Abou Zeid
900370b1b4 Fix NPE on setVolume(), fade volume on next play when playback was paused by headset unplugged, improved strings, MD 0.7.6.0 2015-06-14 23:44:08 +02:00
Karim Abou Zeid
0aedfe1293 Amend last commit. (Reorganized and cleaned up the playback service a bit. Added the ability to fade a song in/out on play/pause.) 2015-06-14 17:30:56 +02:00
Karim Abou Zeid
257791eff6 Reorganized and cleaned up the playback service a bit. Added the ability to fade a song in/out on play/pause. 2015-06-12 00:04:52 +02:00
Karim Abou Zeid
8503eb4e36 Prepared everything for multi-selection and implemented it in the song view for now. 2015-05-24 20:33:14 +02:00
Karim Abou Zeid
2a7dad6ad0 Small bug fix. 2015-05-23 12:44:14 +02:00
Karim Abou Zeid
fe3657707b Fixed two FCs. (1. bitmap recycled 2. ArrayList OOB) 2015-05-21 14:50:04 +02:00
Karim Abou Zeid
bccf4fae5c Added a now playing sticky broadcast to support last.fm scrobbling and musixmatch. 2015-05-20 16:07:59 +02:00
Karim Abou Zeid
c7125b1386 Replaced Glide with UIL. Should finally fix all image loading problems. 2015-05-19 18:49:49 +02:00