Commit Graph

588 Commits

Author SHA1 Message Date
Tom Hennen
6a50149680 1.4.0rc7 2015-11-07 15:36:22 -05:00
Tom Hennen
8afa9499b9 1.4.0rc6 2015-11-07 12:07:37 -05:00
Tom Hennen
df588cef5e Merge pull request #1351 from mfietz/issue/queue_playback_state
Queue: Update playback state
2015-11-07 12:03:32 -05:00
Martin Fietz
ceada6c689 Queue: Update playback state 2015-11-07 17:55:16 +01:00
Martin Fietz
2197e9b741 If removing currently playing episode, (pause and) skip the same 2015-11-07 17:38:29 +01:00
Tom Hennen
0aeb520f14 Merge pull request #1347 from mfietz/recycler_view
RecyclerView & SnackBar
2015-11-07 09:16:24 -05:00
Martin Fietz
8286a76cdf Fancy drag/swipe effect 2015-11-07 01:25:15 +01:00
Martin Fietz
47886205f6 Prettier dividers 2015-11-07 00:29:03 +01:00
Martin Fietz
5380bcd6d0 GC and recreate queue adapter 2015-11-06 21:48:31 +01:00
Martin Fietz
8c546df054 Minor issue: don't display anything in the info bar while loading 2015-11-06 20:29:27 +01:00
Martin Fietz
86074f0b8b Fix info bar and list reloading 2015-11-06 20:29:03 +01:00
Martin Fietz
c13dd34f09 Drawer: (Easier) Feed list context menu 2015-11-06 20:28:45 +01:00
Martin Fietz
7648b5d319 Gears dialog: Fix add to queue, convert to lambda 2015-11-06 20:25:10 +01:00
Martin Fietz
896366a625 Fix dragging 2015-11-06 00:43:19 +01:00
Martin Fietz
419e449b6f Check if this is the right fragment 2015-11-06 00:32:31 +01:00
Martin Fietz
51aba83ae2 RecyclerView context menus (with ripple) 2015-11-06 00:20:59 +01:00
Martin Fietz
383449e007 Refactor events 2015-11-05 23:46:43 +01:00
Martin Fietz
6aefd4b4de Remove DSLV 2015-11-05 23:46:43 +01:00
Martin Fietz
67d2287323 Queue: Replace DSVL with RecyclerView 2015-11-05 23:46:39 +01:00
Tom Hennen
0ef38407e3 fix NPE in ItemFragment. fixes AntennaPod/AntennaPod#1339 2015-11-05 17:19:13 -05:00
Tom Hennen
e03ef16558 don't remove the media if they undo 2015-11-04 18:14:08 -05:00
Tom Hennen
d66384b1d1 addressed some of mfietz's comments 2015-11-04 18:11:34 -05:00
Tom Hennen
910363c3e4 switched to snackbar 2015-11-03 22:22:27 -05:00
Tom Hennen
358a96ef6e can't use the support version construct for recycler view for some reason 2015-11-03 21:47:30 -05:00
Tom Hennen
e555b3f24f Fixed saving/restoration of scroll position thanks to some code from
@mfietz, https://github.com/mfietz/AntennaPod/blob/recyclerview/app/src/main/java/de/danoeh/antennapod/fragment/AllEpisodesFragment.java
2015-11-03 21:41:13 -05:00
Tom Hennen
10ee9ba484 remove commented out code 2015-11-03 21:41:13 -05:00
Tom Hennen
f9ef32fff2 resolved compilation problem and got rid of the 'no items' label 2015-11-03 21:40:02 -05:00
Tom Hennen
89bbc88826 replaced context menu with popup menu. still a couple of other issues 2015-11-03 21:40:02 -05:00
Tom Hennen
a02b84d2d2 undo for new items 2015-11-03 21:40:02 -05:00
Tom Hennen
7489046037 undo for favorites 2015-11-03 21:40:02 -05:00
Tom Hennen
8f5e0bb5e4 playing around with recycler view. context menu and swiping isn't working 2015-11-03 21:40:02 -05:00
Tom Hennen
31d91ac901 1.4.0 rc5 2015-11-03 19:11:25 -05:00
Tom Hennen
a546c1e95b 1.4.0 rc4 2015-11-01 18:34:11 -05:00
Tom Hennen
5c7209e4e3 1.4.0 rc3 2015-11-01 16:41:19 -05:00
Tom Hennen
545c91a3d6 need to use old version of com.afollestad:material-dialogs for now 2015-11-01 16:37:04 -05:00
Tom Hennen
68e6b2a957 persistent nofication should be the default 2015-11-01 16:19:34 -05:00
Tom Hennen
20960b9bff Merge pull request #1323 from mfietz/upgrade-libs
Gradle: external version variables, lombok AST
2015-11-01 16:15:44 -05:00
Martin Fietz
0049fbec27 External version variables, lombok AST 2015-11-01 17:51:50 +01:00
Tom Hennen
3c87b514a3 Merge pull request #1322 from mfietz/upgrade-libs
Upgrade libraries
2015-11-01 11:33:00 -05:00
Tom Hennen
f735638a4f Merge pull request #1316 from mfietz/strict_mode
Strict mode for debugging
2015-11-01 11:17:57 -05:00
Martin Fietz
b1b1df3cdc Upgrade libraries 2015-11-01 17:13:24 +01:00
Martin Fietz
93fc95eb7b Don't die 2015-11-01 16:55:42 +01:00
Tom Hennen
41f0adb101 Merge pull request #1320 from mfietz/user_preferences
Refactoring: User preferences
2015-11-01 10:41:00 -05:00
Tom Hennen
777dcfd8c5 Merge pull request #1318 from mfietz/preference_activity
PreferenceActivity: weak reference
2015-11-01 10:40:28 -05:00
Martin Fietz
7152b0e0eb Unused parameter 2015-11-01 14:38:58 +01:00
Martin Fietz
3596463bf3 Only hold weak reference 2015-11-01 14:28:50 +01:00
Martin Fietz
b75a390507 Strict mode for debugging 2015-11-01 13:57:16 +01:00
Tom Hennen
3cc5eee0ff Have a different option for bluetooth reconnect.
Vibrate when starting playback due to bluetooth reconnect.

fixes AntennaPod/AntennaPod#1305
2015-10-31 11:33:10 -04:00
Tom Hennen
42e5a8de66 Merge pull request #1295 from mounirlamouri/patch-1
Fix "Could not find com.afollestad:material-dialogs:0.7.8.0" error.
2015-10-29 17:41:48 -04:00
Tom Hennen
277cfa01d0 Merge pull request #1294 from mfietz/issue/1293-NPE-MainActivity-onContextItemSelected
Prevent NPE in MainActivity.onContextItemSelected()
2015-10-29 17:41:19 -04:00
Mounir Lamouri
a004fbb5a0 Fix "Could not find com.afollestad:material-dialogs:0.7.8.0" error.
material-dialogs:0.7.8.0 can't be downloaded but it seems that things work fine with 0.7.8.1. It seems simple enough to upgrade the dependency here.
2015-10-25 23:57:12 +00:00
Martin Fietz
9dcf3de723 Just check everything for null before you do stuff with it 2015-10-25 18:47:51 +01:00
Martin Fietz
89e67f0919 Replace loader
Replace with lambda
Replace Loader with Observable
onResume and onPause instead of onStart and onStop; minor changes
Makes more sense to load data once at start
Reorder functions to mirror lifecycle
2015-10-25 14:00:50 +01:00
Martin Fietz
ec7bc19351 Update to latest audio player version 2015-10-17 18:46:39 +02:00
Tom Hennen
79f0eca912 prevent NPE when 'chapters' is null 2015-10-17 12:04:59 -04:00
Tom Hennen
bcef62d11e Merge pull request #1260 from stevomit/rewind-after-pause
Rewind after pause feature
2015-10-17 11:50:14 -04:00
Stefan Mitrik
87d27a7c0b Rewind after pause - used less conservative rewind times 2015-10-17 12:00:46 +02:00
Tom Hennen
0e2b056d4e Merge pull request #1258 from TomHennen/fix_playback_tests
Updated playback tests to make them more reliable
2015-10-15 17:09:42 -04:00
Stefan Mitrik
f7dabd9335 Rewind after pause feature
The playback is rewinded X seconds after the pause and resume. The
rewind duration depends on time that elapsed between the pause and
resume.
2015-10-15 00:52:55 +02:00
Tom Hennen
87b42c23dc Merge pull request #1254 from TomHennen/fix1252
Cleanup when we show the mark as played/unplayed menus.
2015-10-12 17:29:25 -04:00
Tom Hennen
33a3f4ac04 added idle sync to make tests more reliable 2015-10-10 07:17:05 -04:00
Tom Hennen
113f8c55c3 updated sonic tests, still have an intermittent error 2015-10-10 05:38:18 -04:00
Tom Hennen
83e56a334c Updated PlaybackTest to deal with some spurious bugs.
Problem was that the PlaybackController wasn't having currentMedia get
updated when playback initially starts. Working around it here by getting
the real playback controller that's being used in the app.

Still need to update PlaybackSonicTest.
2015-10-09 04:46:20 -04:00
Tom Hennen
326e3b7b52 Cleanup when we show the mark as played/unplayed menus. 2015-10-08 03:14:27 -04:00
Tom Hennen
23f134bb39 Change language related to skipping episodes.
Also now keep the episode media if we're going to keep it in the queue.
2015-10-08 02:53:34 -04:00
Tom Hennen
07bcdb167b add test for different number of days of cleanup 2015-10-02 16:54:33 -04:00
Tom Hennen
6f3d748aa0 episode cleanup preferences tests 2015-10-02 16:50:08 -04:00
Tom Hennen
f3e56a2385 fix PreferencesTest to actually check the condition was met. 2015-10-02 16:26:42 -04:00
Tom Hennen
af5579a30e fixed use of preferences 2015-10-02 10:25:01 -04:00
Tom Hennen
fda662f697 simplified tests 2015-10-02 10:07:09 -04:00
Tom Hennen
c9c38a0f5a Implemented tests for the various cleanup algorithms.
We also don't delete items that are in Favorites.
2015-10-02 09:38:11 -04:00
Tom Hennen
e61c7efde4 ap algorithm cleanup tests 2015-10-02 08:31:46 -04:00
Tom Hennen
0beeeb4351 resolved bug in how we were choosing the default cleanup parameter 2015-10-02 07:56:34 -04:00
Tom Hennen
60e341cf78 resolved compile time issues. refactored some code 2015-09-30 06:33:35 -04:00
Tom Hennen
f5801c2181 Implement cleanup that only removes epiosdes older than a certain number of days
Also set the stage for the queue cleanup algorithm.
2015-09-29 20:29:53 -04:00
Tom Hennen
057900bc1b getting preferences setup for different cleanup method 2015-09-29 17:29:26 -04:00
Martin Fietz
d03c54d6fb Variable Speed Dialog: Install Prestissimo or enable Sonic 2015-09-27 15:12:12 +02:00
Martin Fietz
e74a549b1b Upgrade Gradle and AntennaPod-AudioPlayer 2015-09-27 15:12:12 +02:00
Tom Hennen
8cd6446913 create the favorites table on upgrade 2015-09-26 15:56:10 -04:00
Tom Hennen
a6ddb1319c Merge pull request #1214 from TomHennen/update_playback_notification
Update playback notification
2015-09-26 15:20:08 -04:00
Tom Hennen
c097b672d6 fix bug that caused ExternalPlayerFragment to not always be shown 2015-09-26 11:11:48 -04:00
Tom Hennen
fc4d9225bf Merge pull request #1218 from mfietz/issue/1217-onError-handling
Error handling for getMediaSize observable
2015-09-26 08:59:39 -04:00
Tom Hennen
664944d119 alway follow queue by default 2015-09-25 18:10:49 -04:00
Tom Hennen
f27d14f4b9 Merge pull request #1213 from TomHennen/favorites
Favorites
2015-09-25 17:33:08 -04:00
Martin Fietz
b6a0c1aa1a Check for null 2015-09-23 23:19:37 +02:00
Martin Fietz
68e7695f39 Error handling for getMediaSize observable 2015-09-23 19:15:33 +02:00
Tom Hennen
5b6fce427b if it was skipped we shouldn't remove it, but otherwise we should 2015-09-21 06:48:28 -04:00
Tom Hennen
f0904fbe49 added preference to not remove items from queue when skipping 2015-09-20 20:10:51 -04:00
Tom Hennen
721bfc064a now removing items from favorites by swiping 2015-09-20 16:31:44 -04:00
Tom Hennen
05c64eb063 undoing changes to 'activity' which weren't needed 2015-09-20 16:19:06 -04:00
Tom Hennen
dfbd878afe Added 'tags' to FeedItem and properly showing/not showing menu items for favorites. 2015-09-20 16:11:57 -04:00
Tom Hennen
ed679b8a17 refactored after merging in changes from #1212 2015-09-20 14:54:54 -04:00
Tom Hennen
1993f779e8 basic favorite functionality 2015-09-20 14:21:15 -04:00
Martin Fietz
ff9cc13b6a Fix about link handling 2015-09-19 21:01:54 +02:00
Martin Fietz
1b232992f9 Sonic tests 2015-09-19 20:53:58 +02:00
Martin Fietz
5f77c4de50 Replace some of the most annoying AsyncTasks with RxJava 2015-09-19 20:39:14 +02:00
Martin Fietz
b3094fa5f0 Add external library to about 2015-09-19 20:14:42 +02:00
Martin Fietz
7b23dfeb50 Move audio player classes to external library 2015-09-19 14:20:01 +02:00
Martin Fietz
17c87d9bfc Lockscreen background defaults to true, more detailed description, NPE fixed 2015-09-16 01:44:45 +02:00
Martin Fietz
8efb73a39e Set lockscreen background, set media session and playback state 2015-09-16 01:38:39 +02:00