76 Commits

Author SHA1 Message Date
Thomas Hines
2354f7ee3a Included song title, ablum and artist in broadcast even when there is no Android media ID for the track. (#791) 2018-07-07 11:14:30 +02:00
Adrian Ulrich
b957b49e72 Add new PlaylistObserver which deprecates PlaylistBridge 2018-07-07 11:13:16 +02:00
Adrian Ulrich
92c4273a5e Add PLAYLIST_SYNC_MODE pref keys 2018-07-07 10:46:57 +02:00
Adrian Ulrich
5fbad4b5dd add M3U debug-dump function 2018-07-06 22:40:48 +02:00
Adrian Ulrich
629f0e0b8d Add LibraryObserver.Values.* 2018-07-06 22:18:39 +02:00
Adrian Ulrich
474402c119 fix NPE in DraggableRow
line1 might be null for whatever reason (playlist with deleted songs during scan) - use placeholder text
for line1 if it is not a string object.
2018-07-06 21:05:08 +02:00
Adrian Ulrich
f48ed019c7 Report affected playlists in removeFromPlaylist 2018-07-06 21:00:51 +02:00
Adrian Ulrich
e01117fb55 introduce playlist-observer metadata 2018-07-03 12:29:08 +02:00
Adrian Ulrich
4715bd3c31 implement simple m3u writer 2018-07-02 20:49:28 +02:00
Adrian Ulrich
eba6acabc2 introduce PlaylistObserver 2018-06-30 10:32:21 +02:00
TacoTheDank
dd40e45cbd stable build.gradle (#788)
* Update build.gradle

* Update gradle-wrapper.properties

* Update gradle-wrapper.properties

* Update build.gradle

* Update .travis.yml

* Update gradle-wrapper.properties
2018-06-30 09:30:52 +02:00
Adrian Ulrich
0c51c89d22 share Paint between onDraw calls 2018-06-28 22:05:56 +02:00
Adrian Ulrich
c3fff75a03 set allowBackup to true in manifest
This enables full backups on SDK23 if enabled by the user.
2018-06-28 21:50:34 +02:00
Adrian Ulrich
29e0e2cfc4 lint: use layout_height with wrap_content 2018-06-28 21:43:58 +02:00
Adrian Ulrich
f1f656ebb8 remove hardcoded /sdcard reference 2018-06-28 21:41:20 +02:00
Adrian Ulrich
11dde262ee Replace ContentObserver with own LibraryObserver class 2018-06-25 20:49:12 +02:00
Adrian Ulrich
34ef6893d2 target 1.0.62 2018-06-24 13:47:14 +02:00
Adrian Ulrich
8035b6c6fc make expand_or_play_all the default library action 2018-06-21 08:12:09 +02:00
Adrian Ulrich
f816592255 yet another icon attempt 2018-06-17 18:23:31 +02:00
Adrian Ulrich
be41eab712 a new day, a new adaptive icon! 2018-06-16 16:09:53 +02:00
Adrian Ulrich
bd9676c139 fix back button behavior 2018-06-16 16:08:33 +02:00
Adrian Ulrich
54414e1a4f Fix menu in portrait mode.
SlidingView can now report why it is expanded, so the code is able to judge whether or not any UI elements are overlayd by the slide
2018-06-16 15:44:51 +02:00
Adrian Ulrich
4c927d49fb remove sdk versions from manifest
This is now done by gradle.
2018-06-06 21:15:14 +02:00
Adrian Ulrich
ef0d852b05 Add horizontal layout 2018-06-04 21:18:05 +02:00
Comarch Technologies
32f0df170d Fix duplicated shuffle active mode. (#784) 2018-05-30 21:24:19 +02:00
Adrian Ulrich
0f82821e29 Use v4 support library
Our APK size stays at 1.1MB with minification enabled - which doesn't seem to break us anymore.
And ant is dead, so... let's obey gradle.
2018-05-28 20:20:36 +02:00
Adrian Ulrich
e9111b4386 use correct pixels for adaptive icon 2018-05-27 21:45:03 +02:00
Adrian Ulrich
1f72b12b69 force icon size in audiopicker 2018-05-27 21:44:40 +02:00
Adrian Ulrich
116e9882f8 update translations 2018-05-27 18:40:09 +02:00
Adrian Ulrich
64b393732d let's try a different adaptive icon for now 2018-05-27 15:17:02 +02:00
Adrian Ulrich
9be566664b fix audiopicker icon 2018-05-27 15:00:30 +02:00
Adrian Ulrich
ac7b319baa remove icon from drawable-* folders, it's now in mipmaps. 2018-05-27 14:17:08 +02:00
Adrian Ulrich
1b27763194 add adaptive mipmap drawables 2018-05-21 15:32:06 +02:00
Adrian Ulrich
e5c8de0a82 finish mipmap move 2018-05-21 15:09:41 +02:00
Adrian Ulrich
66ead156cb move launcher icons to mipmap folder 2018-05-21 14:32:50 +02:00
Loosefish
47dc655ccb Add library action expand or play all. (#776)
Like with the expand action it will first try to expand a selected
item. If the item can't be expanded it will use play all instead of play.
2018-05-21 14:10:47 +02:00
Adrian Ulrich
9d12df990f add db dump option 2018-05-21 14:01:12 +02:00
Adrian Ulrich
9ec67e28bf move MENU_GO_HOME control to onPrepareOptionsMenu.
This is a special-snowflake menu entry which is only visible in one specific adapter.
Let onPrepareOptionsMenu fully manage it to avoid clashes with SlidingPlaybackView's menu entry hider.
2018-05-13 18:11:43 +02:00
Adrian Ulrich
5a170ebfbd bump internal version 2018-05-10 17:35:36 +02:00
Adrian Ulrich
e8b2e5ac33 fix version number in 'about' 2018-05-10 16:47:38 +02:00
Adrian Ulrich
04deb94b03 target 1.0.61 2018-05-08 08:11:38 +02:00
Adrian Ulrich
7936a7dfae update translations 2018-05-07 08:14:18 +02:00
Adrian Ulrich
a77b0a5952 format duration in fastscroller 2018-05-06 20:56:41 +02:00
verdulo
7c727c1db9 add possibility to translate strings "OK" and "Cancel" (#773)
* Update translatable.xml

* Update permission_request.xml

* Update audiopicker.xml

* Update medialibrary_preferences.xml
2018-05-05 12:50:31 +02:00
Adrian Ulrich
5ff7f8eddb Handle destroied PlaybackService instances.
ShowQueueFragment used to keep a reference to PlaybackService - which may get stale at some point (if the service is re-created), causing the fragment to lose any functionality.

This commit gets rid of the long lived reference.
(Note that the Adapter still has a semi-long-lived reference. Thats not nice but okay as it only needs to access the SongTimeline)
2018-05-05 12:06:33 +02:00
Adrian Ulrich
d2b751e841 make refreshSongQueueList private. 2018-05-05 10:26:03 +02:00
Adrian Ulrich
008ed50fcd update translations 2018-05-03 20:14:59 +02:00
Adrian Ulrich
fcd42ae620
Fix release year in about.html
d'oh.
2018-04-29 13:45:12 +02:00
Adrian Ulrich
4dd50014b3 Restyle sort dialog, make it somewhat nicer 2018-04-24 22:11:30 +02:00
Adrian Ulrich
a1bcb87c31 Add option to sort tracks by duration 2018-04-24 21:32:38 +02:00