Commit Graph

498 Commits

Author SHA1 Message Date
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
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