Commit graph

1,197 commits

Author SHA1 Message Date
Karim Abou Zeid
58fb31b4b1 SDK 28, Android X 2019-04-10 12:40:28 +02:00
Son
608b99ac22 round up the number of top tracks 2019-02-03 16:08:54 -05:00
Eugene Cheung
fc6101f638
Remove author and community Google+ links 2019-01-21 23:02:29 -05:00
soncaokim
b0a4ffdcb5 Library annotations (#638)
Populate album name / artist name / song counts across different view as "subtitle" that enriches the main info displayed in the title.
This includes the notification, different list-based views, the main menu, the now-playing view, search result...

For example, the included images show the added annotations highlighted with white underline
![screenshot_20190108-035119](https://user-images.githubusercontent.com/13333482/50807749-ce600000-12fb-11e9-86c6-9efb41389194.jpg)
![screenshot_20190108-035137](https://user-images.githubusercontent.com/13333482/50807750-ce600000-12fb-11e9-90e2-650aae0b159a.jpg)
![screenshot_20190108-035228](https://user-images.githubusercontent.com/13333482/50807751-ce600000-12fb-11e9-8f74-b04dbae0c6d2.jpg)
![screenshot_20190108-035244](https://user-images.githubusercontent.com/13333482/50807752-cef89680-12fb-11e9-892c-80fd55805c11.jpg)
![screenshot_20190108-035414](https://user-images.githubusercontent.com/13333482/50807753-cef89680-12fb-11e9-80a1-ee784c855876.jpg)
2019-01-21 19:48:25 -08:00
Eugene Cheung
d86a4991b6
Enable notification badge (closes #623)
Note that this only affects new installs since the channel ID is still the same.
2019-01-09 21:01:20 -05:00
Eugene Cheung
3f3526f061
Move some util functions 2019-01-07 22:12:21 -05:00
Peng Guanwen
2111c41836 Finish current music when Sleep Timer stops (#629)
Implement #329.
This commit adds a CheckBox to dialog_sleep_timer, and a curresponding
option `TIMER_FINISH_MUSIC` in PreferenceUtil.

In MusicService, a new flag `pendingQuit` is to indicate if it should
stop after current music stops. A new action `ACTION_PENDING_QUIT` will
set that flag.

Canceling is a little tricky. I must bind MusicService in Dialog
activity to check if `pendingQuit` is set, and show the corresponding
canceling button.
2019-01-07 21:45:33 -05:00
Son
e4b846cfb7 Fix build 2018-12-30 10:55:15 +01:00
soncaokim
e461f44ff0 Smart playlist decoration (#619)
* Show smart playlist threshold and number of tracks in addition to the playlist title (#4)

* Remove todo tags (#5)

* Indentation

* Code review
2018-12-29 12:28:44 -05:00
soncaokim
93bb9cf7fc Disable clear menu item on NotRecentlyPlayed (#620)
* Disable clear menu item on NotRecentlyPlayed, small menu refactoring

* Save few clock ticks
2018-12-06 16:51:42 -05:00
Eugene
f1932d05c8
Merge pull request #618 from soncaokim/NotRecentlyPlayedTweaks
Change the icon of the Not recently played playlist
2018-12-03 17:18:08 -05:00
Son
4768f9f688 Code review 2018-12-03 22:46:08 +01:00
soncaokim
f7cbfb38d9 Add choice of 7 days to settings for dynamic playlists (#616)
* Add choice of N days to settings for dynamic playlists (#3)

* Code review
2018-12-03 16:45:47 -05:00
Son
a91b5ee133 change icon 2018-12-03 18:15:55 +01:00
soncaokim
764751381a Add a new smart playlist "Not played lately" playlist (#613)
* Add "Not played lately" playlist (#1)

* Fix bad recent playlist construction (#6)

* Revert History rename

* Code review
2018-12-02 12:30:01 -05:00
Eugene Cheung
635bb42592
Remove unused fonts XML, move launcher color 2018-09-05 23:05:44 -04:00
Eugene Cheung
f98222c372
Some NonNull annotations 2018-09-05 23:01:45 -04:00
Eugene Cheung
2d173acc3f
Replace if blocks with switch blocks 2018-09-05 22:46:30 -04:00
Eugene Cheung
99ff2a3914
Remove unused import 2018-09-05 22:46:14 -04:00
Eugene Cheung
c9eb6b9a08
Remove explicit parameter types 2018-09-05 22:45:32 -04:00
Eugene Cheung
42bcb62d2c
Replace for loops with foreach 2018-09-05 22:44:45 -04:00
Eugene Cheung
527c7ec54e
Remove unused return values 2018-09-05 22:38:55 -04:00
Eugene Cheung
a842ec26c0
Remove unused TAGs 2018-09-05 22:38:46 -04:00
Eugene Cheung
5cef335b27
Remove redundant methods 2018-09-05 22:35:36 -04:00
Eugene Cheung
2ab8e7fd71
Remove unused classes 2018-09-05 22:34:35 -04:00
Eugene Cheung
1b8a80a393
Remove unused argument to setDrawUnderStatusbar 2018-09-05 22:24:51 -04:00
Eugene Cheung
682ab8aea7
Minor edit 2018-09-05 22:24:34 -04:00
Eugene Cheung
63698f05de
Set lyrics button as SHOW_AS_ACTION_IF_ROOM 2018-09-05 22:24:21 -04:00
Eugene Cheung
2b0280298c
Replace deprecated methods 2018-09-05 22:23:53 -04:00
Eugene Cheung
2e7dd7b62e
Use default locale when formatting strings 2018-09-05 22:09:58 -04:00
Karim Abou Zeid
6464307c7d Notch support via WindowInsets 2018-08-25 15:14:35 +02:00
Paolo Valerdi
06a87d5704 Notch support 2018-08-24 09:51:24 -05:00
Karim Abou Zeid
b5c6b2d343
Merge pull request #538 from blueset/master
Add fallback when media button press event time is not available
2018-07-06 20:08:51 +02:00
Karim Abou Zeid
af3dab4930 Fix null pointer? 2018-06-27 10:12:07 +02:00
Karim Abou Zeid
7fdadd3310 Fix crash with custom artist images 2018-06-26 12:32:31 +02:00
Eana Hufwe
9c86ba103e Add fallback when media button press event time is not available. Addressing issue #148. 2018-06-25 22:04:10 +10:00
Martin Disch
56a6ff56f0
Use JAudiotagger instead of mp3agic 2018-06-20 15:15:35 +02:00
Martin Disch
0400bda7cd
Fix loading of large embedded album art
Android's MediaMetadataRetriever.getEmbeddedPicture() fails on large
images, because ID3 metadata that is considered too big is skipped.
2018-06-20 14:16:41 +02:00
Eugene Cheung
436a3c90ee
Trim whitespace when searching (fixes #508) 2018-06-18 22:26:18 -04:00
Andrew
6624fcd505 Added preference to turn off shuffle mode when selecting new list of songs (#527)
An option to turn sticky shuffle on or off. It's enabled by default so it keeps the current functionality the same. I noticed every other player has it so hopefully you don't have any issues with it being in the app.
2018-06-18 22:12:34 -04:00
Karim Abou Zeid
f32954aebe Fix a crash for artist names which clash with *nix file names. 2018-06-16 11:21:57 +02:00
Karim Abou Zeid
614f28e0c9 Clean up 2018-06-05 22:45:29 +02:00
Martin Disch
b6034f7484
Add playlist export item to options menu 2018-05-27 12:49:20 +02:00
Karim Abou Zeid
b33a1e65d1 Display <unknown> Artist as Unknown Artist 2018-05-18 14:11:29 +02:00
Karim Abou Zeid
83e2d4edeb Show - instead of 0 when album year is not available 2018-05-18 13:18:58 +02:00
Karim Abou Zeid
4ce5bcdd8a Remove invalid opus mimetype (ogg stays) 2018-05-01 19:58:37 +02:00
Karim Abou Zeid
d4e3552739 Fallback values for song details 2018-05-01 19:53:16 +02:00
Karim Abou Zeid
7d562070f5 Fix crashes when files where not listed in the media store 2018-05-01 19:27:35 +02:00
Eugene Cheung
b1a086eaf2
Optimize imports 2018-04-30 18:30:30 -04:00
Karim Abou Zeid
091d0a98f4 Merge branch 'soren121-sorting' 2018-04-30 13:22:53 +02:00