Commit Graph

2223 Commits

Author SHA1 Message Date
Xavier Gouchet f9b413332f Reset playback statistics
Fixes #1867
2019-10-14 09:14:00 +02:00
H. Lehmann fa0fbc2bc5
Merge pull request #3515 from ByteHamster/update-search
Updated preference search
2019-10-14 00:01:58 +02:00
ByteHamster 74e64ede3b Updated preference search 2019-10-13 23:32:25 +02:00
ByteHamster 3d8781d156 Fixed statistics getting cut off 2019-10-13 21:42:49 +02:00
H. Lehmann 3980bcca6d
Merge pull request #3386 from orionlee/bugfix_skip_last_episode_in_queue_3383
Bugfix skip last episode in queue - episode status
2019-10-09 12:09:04 +02:00
Xavier Gouchet f1b63e92f0 Implement a FAB to add podcast on the Subscriptions screen
Fixes #3475
2019-10-07 10:32:24 +02:00
orionlee 27f8e9e9bf test speedup - replace hardcoded Thread.sleep() with Awaitability 2019-10-06 15:09:47 -07:00
H. Lehmann 935e2ceee0
Merge pull request #3499 from ByteHamster/local-playable-improvements
Local playable improvements
2019-10-06 12:54:14 +02:00
ByteHamster 4981d698c1 Fixed wrong media type after granting storage permission 2019-10-06 08:57:31 +02:00
ByteHamster 1c6e1cbc6d Switch to new external media even if service is running 2019-10-05 23:29:32 +02:00
ByteHamster 42874fbd43 Start playing after granting storage permission 2019-10-05 23:16:13 +02:00
Jonas Kalderstam 9539908f23 Removed unused imports and unnecessary whitespace changes 2019-10-05 02:24:47 +02:00
Jonas Kalderstam 6a37d33b97 Changed from db backed item speed to preferences backed global value 2019-10-05 02:15:26 +02:00
Jonas Kalderstam 97aa360611 Merge remote-tracking branch 'antennapod/develop' into per_feed_playbackspeed 2019-10-05 01:18:14 +02:00
ByteHamster 570b5d47ae Merge branch 'master' into develop 2019-10-05 00:15:06 +02:00
ByteHamster f8a522d02e Fixed F-Droid build 2019-10-05 00:13:42 +02:00
ByteHamster e37bd24364 Fixed free build 2019-10-04 23:20:51 +02:00
ByteHamster f0e8453bb5 Fixed compilation in new file 2019-10-04 11:26:44 +02:00
ByteHamster 272abb9d19 Fixed preferences tests 2019-10-04 11:24:35 +02:00
ByteHamster 933790b0d3 Fixed compilation 2019-10-04 11:24:27 +02:00
Martin Fietz bf3d827c60 Extend proguard rules 2019-10-04 11:24:01 +02:00
ByteHamster 7574ca7920 Adapted dependency versions to stable ones 2019-10-04 11:23:50 +02:00
ByteHamster c130498fc6 Automatic AndroidX migration 2019-10-04 11:22:39 +02:00
H. Lehmann 37304b2e2e
Merge pull request #3489 from ByteHamster/fix-progress-bar-missing
Fixed missing progress bar on position update
2019-10-04 10:55:08 +02:00
H. Lehmann e19b6e81e2
Merge pull request #3490 from ByteHamster/fix-about-screen-update
Fix about screen update
2019-10-04 10:54:40 +02:00
ByteHamster 073ddced41 Little cleanup of filterAbout task 2019-10-03 23:47:53 +02:00
ByteHamster 611d8c9e45 Always update about screen commit 2019-10-03 23:37:43 +02:00
ByteHamster 194b815570 Fixed missing progress bar on position update 2019-10-03 23:24:27 +02:00
ByteHamster d6472622de Cleaned up code style 2019-10-03 15:48:26 +02:00
ByteHamster 8b70766fa1 Enabled antialiasing 2019-10-03 15:01:08 +02:00
ByteHamster 6b03dce78b Added pie chart to statistics page 2019-10-03 12:30:34 +02:00
ByteHamster 80de04a324 Converted statistics to RecyclerView 2019-10-03 11:12:40 +02:00
H. Lehmann f9fd9c3282
Merge pull request #3426 from ByteHamster/feedinfo-fragment
Feedinfo page animation
2019-10-02 15:46:29 +02:00
ByteHamster 6967e9c890 Added feed title to ActionBar 2019-10-02 15:39:10 +02:00
orionlee 8824b7568d test refactor - move the common FeedItemEventListener test helper to the proper event/ package. 2019-09-30 20:34:12 -07:00
orionlee 9459460ed4 test refactor - extract common FeedItemEventListener test helper. 2019-09-30 13:55:50 -07:00
orionlee d84fc95f0d test for DownloadService, case media download successful. 2019-09-30 13:46:59 -07:00
H. Lehmann f862d15753
Merge pull request #3471 from orionlee/bugfix2_player_not_using_downloaded_media_2947
New fix player stuck due to streaming rather than using downloaded media
2019-09-30 21:34:17 +02:00
orionlee c0befc9854 test tweak - ensure playback queue updated after download - use more concise assertTrue/False 2019-09-30 12:28:27 -07:00
orionlee 4a0a825c08 test refactor - ensure playback queue updated after download - make test logic more readable by hiding EventBus setup in a helper. 2019-09-30 12:18:41 -07:00
orionlee cbf6103c00 test tweak - ensure playback queue updated after download - await for the event explicitly. 2019-09-30 12:07:53 -07:00
orionlee 38e9cafee3 test tweak - ensure playback queue updated after download - follow de-facto convention for test feeds 2019-09-30 11:59:55 -07:00
ByteHamster 940e03bcc7 Fixed sharing ViewModel with multiple feeds 2019-09-30 19:28:51 +02:00
H. Lehmann 694d0f8d34
Merge pull request #3472 from ByteHamster/do-not-spam-logcat
Reduced logcat output
2019-09-30 19:07:56 +02:00
ByteHamster 045e4bc419 Updated statistics layout 2019-09-29 23:52:42 +02:00
ByteHamster 71949ab1b7 Converted statistics to fragment
Also set title of all preferences pages
2019-09-29 23:52:38 +02:00
ByteHamster 31c746684b Added ViewModel to FeedInfoFragment for even smoother animation 2019-09-29 22:27:46 +02:00
ByteHamster 0187786047 Using FeedSettingsFragment without Activity 2019-09-29 22:19:17 +02:00
ByteHamster 0ffa0e77d9 Reduced logcat output 2019-09-29 22:07:39 +02:00
orionlee 71de4607a3 bugfix: Ensure when media download completes and item update event is posted, the feed media has been updated, 2019-09-29 12:55:02 -07:00
orionlee 9469ebc6c3 bugfix: Ensure playback service use the updated feedItem after media download completes (rather than trying to stream) 2019-09-29 12:46:21 -07:00
ByteHamster 510f00e204 Making sure that we don't miss updates 2019-09-29 12:55:27 +02:00
H. Lehmann 2dfe08df2a
Merge pull request #3454 from ByteHamster/update-progress
Update episode progress during playback
2019-09-29 12:52:48 +02:00
H. Lehmann 373f31c53e
Merge pull request #3416 from orionlee/bugfix_autodownload_wifi_filter_on_android10_3387
Make Automatic Download WiFi filter UI work on Android 10+
2019-09-29 11:16:10 +02:00
orionlee 1ab39fee3c android Test to ensure smart as played won't affect an item when it is paused. 2019-09-28 16:17:15 -07:00
orionlee cf5f0fbc28 #3383 Fix skip last episode in queue - the fix 2019-09-28 15:50:12 -07:00
orionlee 11270d91a6 #3383 Fix skip last episode in queue: android test to reproduce it. 2019-09-28 15:50:11 -07:00
orionlee 78aecac3ca Avoid Cast Initialization UI - prompt restart only when enabled. Make prompt more sticky by being not cancelable. 2019-09-28 13:28:12 -07:00
orionlee 9373b61787 Avoid Cast Initialization - bugfix of accidental removal of cast-enabled codes 2019-09-28 13:26:30 -07:00
orionlee d6e2803beb Wifi Filter UI - code style tweaks, mainly inlining. 2019-09-28 13:05:55 -07:00
orionlee 2fe70c3b41 Avoid Cast initialization UI - prompt users to restart upon settings changed. 2019-09-27 11:56:07 -07:00
orionlee 0b5f4e9dc0 Avoid Cast initialization unless it is enabled (to avoid triggering Google Play Service) 2019-09-27 11:19:29 -07:00
orionlee 342fe60279 Auto Wifi filter permission UI - flattened the logic back to the fragment per review. 2019-09-27 10:46:23 -07:00
orionlee 292aaa610e #3387 permission prompt - add comments for case Wi-Fi filter not enabled. 2019-09-27 10:29:27 -07:00
orionlee db2141a7b4 #3387 permission prompt - add warning icon to make it stand out. 2019-09-27 10:29:27 -07:00
orionlee d559a8b906 #3387 use ACCESS_FINE_LOCATION per Google feedback
https://issuetracker.google.com/issues/140696830
2019-09-27 10:29:27 -07:00
orionlee c8dda3c0c0 #3387 ask for location permission for Wi-Fi filter UI on Android 10+. 2019-09-27 10:29:26 -07:00
ByteHamster 466e6a9b7e Merge branch 'develop' into feedinfo-fragment 2019-09-27 14:03:55 +02:00
ByteHamster 6e5c4dd9d2 Clear title on resume 2019-09-27 14:03:34 +02:00
ByteHamster 5b909894f4 Keep background fragments alive 2019-09-27 14:03:27 +02:00
ByteHamster 872b7a813d Moved reloading fragment to onCreate 2019-09-27 14:03:18 +02:00
ByteHamster 107b64315e Merge branch 'develop' into update-progress 2019-09-27 12:58:56 +02:00
ByteHamster 3e01d66cbd Merge branch 'master' into develop 2019-09-27 12:55:24 +02:00
ByteHamster d7f0f95ada Bumped version to 1.7.3b 2019-09-27 12:48:56 +02:00
H. Lehmann bbf4f8cc3f
Merge pull request #3453 from ByteHamster/refresh-subscriptions-view
Added refresh item to subscriptions view
2019-09-26 23:45:22 +02:00
ByteHamster 8b53268bfe Refactored method for readability 2019-09-26 19:06:26 +02:00
H. Lehmann 1e883758e4
Merge pull request #3451 from ByteHamster/fix-no-browser-installed
Fixed crash if there is no browser installed
2019-09-26 18:52:01 +02:00
ByteHamster 7bdc0b3ddd Update playback position in feed details list 2019-09-25 17:37:17 +02:00
ByteHamster 8c1e6206da Update playback position in all episodes list 2019-09-25 17:13:17 +02:00
ByteHamster 66cb923e9d Update playback position in queue 2019-09-25 17:07:24 +02:00
ByteHamster f12d3a8c53 Listening to position updates in MediaPlayerActivity 2019-09-25 16:48:26 +02:00
ByteHamster 646b3eba8a Listening to position updates in ExternalPlayerFragment 2019-09-25 16:44:31 +02:00
ByteHamster 97c2b47a4a Removed ProgressEvent
Database upgrade is done on splash screen
2019-09-25 16:20:24 +02:00
ByteHamster 889144f993 Added refresh item to subscriptions view 2019-09-25 15:49:24 +02:00
ByteHamster b65c688b53 Fixed crash if there is no browser installed 2019-09-25 15:00:33 +02:00
orionlee aeafb62a3c re-add missing awaitility dependency in AndroidTest 2019-09-24 11:35:01 -07:00
orionlee 26b7f6c300 auto feed update mini-refactor: move periodic update entry point method from UserPreference to AutoUpdateManager 2019-09-24 11:14:35 -07:00
orionlee 33eddaa256 auto feed update - make the calls from UI use background thread rather than WorkManager to ensure the updates are immediate. 2019-09-24 11:07:43 -07:00
orionlee 0ddda3a0d2 remove unnecessary thread DBTasks.refreshAllFeeds(): it is invoked by FeedUpdateWorker in background only. 2019-09-24 10:15:24 -07:00
H. Lehmann 049771d67c
Merge branch 'develop' into feedinfo-fragment 2019-09-24 17:50:26 +02:00
H. Lehmann a92123340d
Merge pull request #3441 from ByteHamster/circleci-improvements
Circleci improvements
2019-09-24 14:19:18 +02:00
ByteHamster 58348908ea Fixed checkstyle violations 2019-09-24 11:27:08 +02:00
orionlee d3aee7fcbd feeditem context menu tweak - don't show auto download when it's already downloaded. 2019-09-23 04:11:44 -07:00
orionlee 6c05a8c730 feeditem context menu refactor - removed unused showExtendedMenu parameter 2019-09-23 04:10:53 -07:00
orionlee 931c670398 Queue context menu refactor - hide Skip Episode (same as pre-refactor behavior) 2019-09-23 03:55:58 -07:00
orionlee 27ce3c85c4 Queue context menu refactor - move queue menu definition xml reuse the generic one 2019-09-22 15:46:26 -07:00
orionlee 6845052057 Queue context menu refactor - move queue-specific logic out of generic handler 2019-09-22 15:39:49 -07:00
H. Lehmann c4f92881b1
Merge pull request #3437 from orionlee/easier_remove_new_flag_3302
Support remove new flag in Podcast screen and Podcast Episode Screen
2019-09-22 23:57:12 +02:00
orionlee 9573e6b675 #3302 - refactor retire episode screen item context menu (and reuse the common item context menu) 2019-09-22 13:50:52 -07:00
H. Lehmann ab7d36f77f
Merge pull request #3434 from orionlee/access_feed_from_player_2929
add Open Podcast to player screen
2019-09-22 22:44:48 +02:00
orionlee 9c8eda170d #2929 - review feedback: non-null feedItem requirement explicit 2019-09-22 13:28:25 -07:00
orionlee 0daef525b0 #3302 - support remove new flag in Podcast screen and Podcast Episode Screen.
- moved the logic in Episodes Screen (AllEpisodesRecycleAdapter and EpisodesListFragment) to the generic FeedItemMenuHandler
2019-09-22 12:54:09 -07:00
orionlee 427477b256 #2929 - minor coding style tweaks per review 2019-09-22 11:03:09 -07:00
orionlee e18d8f3514 #2929 - refactor common getFeedItem from playable logic in Player 2019-09-21 14:25:50 -07:00
orionlee 0be47a8d19 #2929 - refactor common "Open Podcast" intent construction 2019-09-21 14:08:48 -07:00
orionlee fcb1a180ad #2929 add Open Podcast to player screen 2019-09-21 13:52:04 -07:00
orionlee fec5c2c62b #2977 fix incorrect label on Podcast Info Screen as well pre review. 2019-09-21 10:36:59 -07:00
orionlee 39b202ff45 #2977 fix incorrect "share podcast url" label 2019-09-21 10:27:34 -07:00
H. Lehmann 64f26d0712
Merge pull request #3433 from ByteHamster/bug-report-section
Bug report section
2019-09-21 09:08:10 +02:00
H. Lehmann c5dba814d2
Merge pull request #3403 from ByteHamster/follow-system-theme
Add option to follow system theme
2019-09-20 23:47:31 +02:00
H. Lehmann fa3437960b
Merge pull request #3369 from ByteHamster/playback-speed-icon
Added playback speed icon
2019-09-20 23:46:59 +02:00
ByteHamster 2dce723a8d Added button to view mailing list 2019-09-20 23:38:13 +02:00
ByteHamster 742bbc5c92 Updated FAQ icon and text 2019-09-20 23:30:00 +02:00
ByteHamster b931828736 Renamed crash report to bug report 2019-09-20 23:29:48 +02:00
ByteHamster 9609eb6977 Removed link to known issues 2019-09-20 23:17:29 +02:00
H. Lehmann de4f782e54
Merge pull request #3414 from ByteHamster/bug-report-screen
Added screen that shows crash info
2019-09-20 23:10:31 +02:00
H. Lehmann 46c8679fe2
Merge branch 'develop' into follow-system-theme 2019-09-20 23:06:56 +02:00
William Seemann 19fc4c1f0d OPML export: Choose export folder (#3175) 2019-09-20 23:03:23 +02:00
H. Lehmann c5c9fd78ca
Merge pull request #3413 from ByteHamster/allow-to-view-full-description
Showing full description when clicking item on podcast preview screen
2019-09-20 22:55:24 +02:00
ByteHamster 1edf415c2d Showing full description when clicking item on podcast preview screen 2019-09-20 22:51:39 +02:00
H. Lehmann aaafd5d715
Merge branch 'develop' into lock-queue 2019-09-20 22:09:57 +02:00
H. Lehmann 569ee7cfdc
Merge pull request #3421 from ByteHamster/removed-unused-resources
Removed unused resources
2019-09-20 22:08:01 +02:00
H. Lehmann ee02dc40fc
Merge pull request #3424 from ByteHamster/preferences-apply
Calling apply() on preferences edit
2019-09-20 22:06:19 +02:00
H. Lehmann d394996970
Merge pull request #3425 from ByteHamster/cleanup
Removed unused code
2019-09-20 22:05:39 +02:00
ByteHamster f9e7e9aeb6 Bumped version to 1.7.3 2019-09-20 19:58:01 +02:00
ByteHamster e89f173326 Setting title 2019-09-16 00:11:33 +02:00
ByteHamster f17737e987 Added card flip animation to feed info fragment 2019-09-16 00:09:10 +02:00
ByteHamster 26e47b9efd Converted FeedInfo Activity to fragment 2019-09-15 23:48:26 +02:00
Jonas Kalderstam 044fd7e7f9 Ensured playback preference is converted to consistent decimal format
Since you can't be sure floats compare equal to one another, the
preference list would not highlight certain playback values when they
were selected.
2019-09-15 21:57:37 +02:00
ByteHamster 79c94112ef Removed unused code 2019-09-14 21:14:16 +02:00
ByteHamster 9cbb8d07dd Removed comments 2019-09-14 20:56:33 +02:00
ByteHamster 9a716ba4ac Calling apply() on preferences edit 2019-09-14 20:52:27 +02:00
ByteHamster b805b41dd6 Using a single notification icon 2019-09-14 18:35:14 +02:00
Jonas Kalderstam d746121a9b Included Media playback speed into controller getter 2019-09-14 00:13:19 +02:00
Jonas Kalderstam 60eb41048f Converted playback speed in media preferences to a float instead of String 2019-09-14 00:09:24 +02:00
Jonas Kalderstam 684213c291 Moved logic for selecting playback speed entirely to UserPreferences 2019-09-13 23:53:42 +02:00
Jonas Kalderstam d0f19a2b14 Inlined getFeedPlaybackSpeed method on FeedItem 2019-09-13 23:27:55 +02:00
ByteHamster 4990733477 Bumped version to 1.7.3-RC7 2019-09-13 22:26:22 +02:00
H. Lehmann 02a86b2dd2
Merge pull request #3420 from ByteHamster/media-player-default
Ensure that ExoPlayer is set
2019-09-13 22:25:04 +02:00
H. Lehmann 1fe451b9bb
Merge pull request #3419 from ByteHamster/crash-fixes
Fixed crash when controller is null
2019-09-13 22:24:44 +02:00
ByteHamster 9ed3e54d9c Ensure that ExoPlayer is set 2019-09-13 22:15:37 +02:00
ByteHamster 46639c2a91 Fixed crash when controller is null 2019-09-13 22:10:59 +02:00
Jonas Kalderstam a91d44e787 Respect media speed for videos 2019-09-13 00:31:09 +02:00
Jonas Kalderstam 4746b16b12 Changed type of media last playback speed to float from string
Also sets default to "magic" -1 value
2019-09-13 00:31:09 +02:00
Jonas Kalderstam 00c1e7a3d3 Replaced for loop array copy with System.arraycopy calls 2019-09-12 23:49:32 +02:00
Jonas Kalderstam e7df195d3a Formatted settings xml and moved setting one step down 2019-09-12 23:49:17 +02:00
Jonas Kalderstam 7cc602a078 Set a descriptive summary on the per-feed playback speed setting 2019-09-12 11:06:05 +02:00
Jonas Kalderstam 6b1a7a9162 Fixed playback speed issues when switching to next media
Fixes some issues related to the playback speed when playback was
completed or playback was paused and the app went away for awhile.

Now a media item which is "in progress" will remember its playback
speed so that it can be restored properly. The per-feed-media speed is
cleared once playback finishes, either by reaching the end or by the
user starting to play something different.
2019-09-12 10:57:16 +02:00
Jonas Kalderstam 4054c330ac Added per-feed playback speed setting
Fixes #375
2019-09-12 00:50:07 +02:00
ByteHamster 5f01e5045a Added screen that shows crash info 2019-09-11 23:43:05 +02:00