Commit Graph

3124 Commits

Author SHA1 Message Date
ByteHamster 186de76d95
Merge pull request #5510 from ByteHamster/exoplayer-okhttp
Use OkHttp as backend for ExoPlayer
2021-11-02 21:39:48 +01:00
ByteHamster 524e5c95fc Fix auto-download retry backoff
The new value never got stored in the database. Also, it only got
increased by certain types of errors - all other errors could be retried
indefinitely. Also added a unit test.
2021-11-02 21:38:59 +01:00
ByteHamster 98830beee5 Move (most) events to their own module 2021-11-02 21:02:47 +01:00
ByteHamster 61a140a510
Merge pull request #5514 from ByteHamster/pause-interruptions
Pause on focus loss by default
2021-10-31 21:18:21 +01:00
ByteHamster e874f73a0d Show more detailed feed statistics 2021-10-31 12:39:16 +01:00
ByteHamster b1a72189f3 Pause on focus loss by default 2021-10-31 11:27:54 +01:00
ByteHamster b1eda19a73 Support subscribe links that have a slash before the argument 2021-10-31 11:21:28 +01:00
ByteHamster cceec591ea Use OkHttp as backend for ExoPlayer 2021-10-30 22:10:52 +02:00
ByteHamster 47034dfbab
Merge pull request #5506 from ByteHamster/fix-cover-mobile
Fix loading cover images on mobile when not allowed
2021-10-30 20:47:05 +02:00
ByteHamster 9541d9459f
Merge pull request #5505 from ByteHamster/metered-network
Don't use metered networks for auto download
2021-10-30 20:46:09 +02:00
ByteHamster f314176089 Fix loading cover images on mobile when not allowed 2021-10-30 18:25:21 +02:00
ByteHamster b1c4a89f9b Don't connect to metered wifi networks 2021-10-30 18:23:20 +02:00
ByteHamster c8414ccf0b
Merge pull request #5496 from ByteHamster/android-auto-show-downloads
Show list of downloads on Android Auto
2021-10-30 13:49:51 +02:00
ByteHamster 5d03405d14 Show list of downloads on Android Auto 2021-10-30 12:46:19 +02:00
ByteHamster e9691cfd8e
Merge pull request #5498 from ByteHamster/pending-indent-mutability
Declare intent mutability for Android 12 compatibility
2021-10-30 12:27:42 +02:00
ByteHamster 639a748bfe
Merge pull request #5492 from ByteHamster/sort-dictionary
Sort queue in dictionary order
2021-10-30 12:04:46 +02:00
ByteHamster c702037619 Use data folder for initial subscriptions 2021-10-30 11:59:27 +02:00
ByteHamster da50f43232 Declare intent mutability for Android 12 compatibility 2021-10-29 00:10:22 +02:00
ByteHamster 0f12fdf08f Fix seeking while paused 2021-10-28 22:53:56 +02:00
ByteHamster e05774e5f8 Sort queue in dictionary order 2021-10-28 20:51:04 +02:00
thomasdomingos 345aad4148
Add 'Duration' to Episode Filter for podcast Auto Download Settings (#5396) 2021-10-28 19:59:50 +02:00
ByteHamster b53df742a7 Convert sleep timer update to event 2021-10-28 18:00:41 +02:00
TacoTheDank c6da8f5c7b Make navigation bar color match theming 2021-10-24 17:30:34 -04:00
ByteHamster a859b3bbc5 Convert speed update to event 2021-10-24 18:52:26 +02:00
ByteHamster 8a4b036148 Convert buffering update to event 2021-10-24 18:28:27 +02:00
ByteHamster def0211358 Moved playback events to their own package 2021-10-24 18:13:06 +02:00
ByteHamster a4a9a0f4ff
Merge pull request #5485 from ByteHamster/media-player-errors
Show actual error messages instead of just the error codes
2021-10-24 17:55:02 +02:00
ByteHamster 0eeb47ee1e Show actual error messages instead of just the error codes 2021-10-24 12:45:23 +02:00
ByteHamster 2e486623a6
Merge pull request #5483 from johnjohndoe/accessibility-toolbar
Improve accessibility of back button.
2021-10-24 12:38:36 +02:00
Tobias Preuss df22b8f376 Improve accessibility of back button.
+ Let TalkBack read out "back" when tapping the arrow left button.
2021-10-24 11:58:02 +02:00
vbh bf95bf172d
Don't forget proxy settings when disabling proxy (#5471) 2021-10-24 11:42:00 +02:00
ByteHamster b860ee33d0
Merge pull request #5469 from ByteHamster/compact-notification-button-default
Use ff/rew as default notification buttons
2021-10-16 07:50:58 +02:00
ByteHamster 62eda1fc1b
Merge pull request #5470 from ByteHamster/alert-once
Alert only once for new episodes
2021-10-15 22:03:35 +02:00
ByteHamster e734d43e72 Merge branch 'master' into develop 2021-10-14 21:40:12 +02:00
ByteHamster 035f14f584 Alert only once for new episodes 2021-10-14 21:37:28 +02:00
ByteHamster fb566e9d9c Updated translations 2021-10-14 21:31:17 +02:00
ByteHamster a93085a58d Use ff/rew as default notification buttons 2021-10-14 21:28:31 +02:00
RafaelBo 66250bebea
Add prompt logic in mobile feed refresh (#5462) 2021-10-13 22:28:46 +02:00
ByteHamster 44a7af8f73 Fewer default speed values 2021-10-13 22:27:45 +02:00
Tony Tam 5ea3661bd8 limit to 100 episodes when browsing a podcast feed 2021-10-10 07:22:54 -07:00
ByteHamster 64b72d1ae9
Reworked feed specific speed selector (#5458) 2021-10-10 11:10:23 +02:00
ByteHamster 1b1b05bfff Wait for download completion on initial sync 2021-10-08 23:37:51 +02:00
thrillfall bc85ebc806
Add synchronization with gPodder Nextcloud server app (#5243) 2021-10-06 22:12:47 +02:00
ByteHamster 4727b49f87 Updated translations 2021-10-05 22:37:38 +02:00
ByteHamster c742b2b8ca Trying to make image resizing more stable 2021-10-05 20:53:29 +02:00
seeto dab44b6843
Rename folder to tag (#5381) 2021-10-02 17:13:23 +02:00
Taco 0a22e9fc38
Update AndroidX Fragment to 1.3.6 (#5201) 2021-09-24 10:18:54 +02:00
Taco 17ab22b6c0
Update plugins and Gradle (4.2.2) (#5367) 2021-09-18 22:58:04 +02:00
ByteHamster 619fa89d32 Updated translations 2021-09-17 22:54:35 +02:00
ByteHamster 669705f75d Fix NPE in duplicate detection 2021-09-17 18:15:12 +02:00
ByteHamster 369cb34645 Updated translations 2021-09-12 15:43:31 +02:00
ByteHamster 222f305d66
Merge pull request #5368 from TacoTheDank/librarybump
Update AppCompat to 1.3.x
2021-09-06 18:45:54 +02:00
ByteHamster b36cdb0c4e
Improvements related to duplicate detection (#5387)
* Move duplicate detection to one single place
* Canonicalize some common characters that are often confused
* Assume same episode even when date is off by 1 week
* Display duplicate detection as warning, not error
2021-09-06 17:59:17 +02:00
TacoTheDank cf07145d4b Use NotificationChannelCompat utilities 2021-09-05 15:21:26 -04:00
TacoTheDank 6c17cda0c9 Use ServiceCompat.stopForeground 2021-08-28 21:50:54 -04:00
TacoTheDank fe1d69f1be Update AppCompat to 1.3.x 2021-08-28 20:33:44 -04:00
ByteHamster 96f8cd3793
Merge pull request #5364 from ByteHamster/playback-state-fixes
Playback state fixes
2021-08-28 12:24:47 +02:00
ByteHamster bf58cdc430 Don't write noMediaPlaying when follow queue is disabled 2021-08-28 11:49:15 +02:00
ByteHamster 697c199275 Fixed wrong icon sometimes ending up in the media session 2021-08-28 11:03:36 +02:00
ByteHamster ca64739f36 Moved media file parser to its own module 2021-08-28 10:59:26 +02:00
ByteHamster e75d8db298
Merge pull request #5360 from ByteHamster/parser
Moved feed parser to its own module
2021-08-28 10:54:17 +02:00
ByteHamster 24389d42e8 Moved feed parser to its own module 2021-08-28 09:57:41 +02:00
ByteHamster 87c50ac7a0
Merge pull request #5359 from ByteHamster/remove-suggestions
Removed gpodder suggestions feature
2021-08-28 00:16:27 +02:00
ByteHamster a7d280d249 Removed gpodder suggestions feature
The feature was invisible since 2014 and nobody noticed.
2021-08-27 23:21:51 +02:00
ByteHamster 542832805c
Merge pull request #5358 from ByteHamster/duplicate-same-day
Allow duplicate items to have a different publication date
2021-08-27 23:09:20 +02:00
ByteHamster d85e754f31
Merge pull request #5355 from TacoTheDank/exo-reduce
Only declare used ExoPlayer submodules
2021-08-27 22:58:18 +02:00
ByteHamster 29e17bb506 Allow duplicate items to have a different publication date 2021-08-27 22:56:57 +02:00
ByteHamster b33d985099 Make guid repair more reliable with sync
When the host changes a guid, send the playback state
to the synchronization service again with the new guid.
2021-08-27 18:43:16 +02:00
TacoTheDank 406993f273 Only declare used ExoPlayer submodules 2021-08-24 21:28:54 -04:00
seeto eacc90af29
Feed multi select (#5261) 2021-08-23 23:46:38 +02:00
ByteHamster 61e86151c6 Move queue lock feature to the overflow menu 2021-08-22 10:56:41 +02:00
thrillfall db39186760
Identify episodes by guid (#5326) 2021-08-20 20:17:23 +02:00
vbh 7ebaa9f619
Fix: #5298 "Add to folder" in podcast contextual side menu (#5344) 2021-08-17 23:57:49 +02:00
ByteHamster e05b8e2c45 Merge branch 'master' into develop 2021-08-17 23:47:16 +02:00
ByteHamster 98cfbcafa9
Merge pull request #5345 from AntennaPod/example-file
Added chapter marks test file with extended header
2021-08-17 20:28:54 +02:00
ByteHamster d39766bd1d Backport: Skip id3 extended header if available 2021-08-17 20:12:21 +02:00
ByteHamster ca4d595159 Fixed reading strings with uneven length 2021-08-17 19:52:02 +02:00
godbless cac665272a
Treat link without rel as rel=alternate (#5347)
src: https://datatracker.ietf.org/doc/html/rfc4287#section-4.2.7.2

If the "rel" attribute is not present, the link element MUST
be interpreted as if the link relation type is
"alternate".
2021-08-17 19:37:58 +02:00
ByteHamster 7cb4e8c462 Added chapter marks test file with extended header 2021-08-17 19:36:25 +02:00
ByteHamster 9de72a2cab Live results in local search 2021-08-08 13:48:38 +02:00
ByteHamster 90ad1adbc8
Merge pull request #5336 from ByteHamster/load-queue-after-media
Delay loading queue until media is loaded
2021-08-07 09:15:43 +02:00
ByteHamster ad9542f7b6 Delay loading queue until media is loaded 2021-08-07 08:51:11 +02:00
ByteHamster 3d8ae2f113
Merge pull request #5335 from ByteHamster/disable-multitouch
Disable multi-touch
2021-08-07 07:53:41 +02:00
ByteHamster 99fea4e07f
Merge pull request #5330 from ByteHamster/load-next-media
When continuous playback is disabled, show next episode in notification
2021-08-07 07:40:45 +02:00
ByteHamster 04ccbfe0a2 Disable multi-touch 2021-08-07 07:38:06 +02:00
ByteHamster 1bb9214095
Merge pull request #5321 from ByteHamster/skip-id3-extended-header
Skip id3 extended header if available
2021-08-06 20:30:33 +02:00
ByteHamster d3c020b8df
Merge pull request #5329 from ByteHamster/subscribe-deeplink
Add subscription deeplink
2021-08-06 17:26:59 +02:00
ByteHamster b6fcc8bc5a When continuous playback is disabled, show next episode in notification 2021-08-05 22:47:06 +02:00
ByteHamster f55ed54e1f Add subscription deeplink 2021-08-05 22:18:09 +02:00
ByteHamster 1c471aeba8 Skip id3 extended header if available 2021-08-02 19:23:35 +02:00
ByteHamster d848ec3b98 Guess image file type and ignore when not an image
Apparently, some publishers explicitly specify the audio file as an
image.
2021-07-31 20:43:45 +02:00
ByteHamster 63c00a12a8 Recode images to save cache space 2021-07-31 18:09:32 +02:00
ByteHamster c3b35f7d8d
Merge pull request #5312 from ByteHamster/opml-activity
Rework of OPML import internals
2021-07-30 23:22:43 +02:00
ByteHamster 666a11f3a9
Merge pull request #5309 from ByteHamster/remove-volume-control
Removed left/right volume controls
2021-07-30 22:00:28 +02:00
ByteHamster 1193cd400e Replace AsyncTask with RxJava 2021-07-30 21:59:32 +02:00
ByteHamster 6d2ef33637
Merge pull request #5310 from ByteHamster/simplify-loading-icon
Simplify loading media icon for MediaSession
2021-07-30 21:57:59 +02:00
ByteHamster 324761fd09
Merge pull request #5308 from ByteHamster/remove-cache-size
Remove image cache size setting and choose size automatically
2021-07-30 21:54:22 +02:00
ByteHamster 4e185f2895 Removed left/right volume controls
The setting does not work in our default player anyway and just
clutters the interface with yet another setting that nobody uses.
2021-07-29 22:41:25 +02:00
ByteHamster 05e1c3e0db Adapted wording: We don't use the technical term 'feed' in any other setting 2021-07-29 22:04:14 +02:00
ByteHamster 0247a018a2 Simplify loading media icon for MediaSession 2021-07-29 21:51:38 +02:00
ByteHamster 6d63186e3b Remove image cache size setting and choose size automatically 2021-07-29 21:27:58 +02:00
ByteHamster bc59d50804 Merge branch 'master' into develop 2021-07-26 20:58:10 +02:00
ByteHamster d5c20b8ba7 Updated service shutting down text because it could be scary 2021-07-25 08:55:46 +02:00
ByteHamster dbac6cae46
Merge pull request #5200 from TacoTheDank/plugin-updates
Update plugins and Gradle
2021-07-24 17:47:09 +02:00
struggggle ff8461f364
Fix bug leading to cache miss in de.danoeh.antennapod.core.glide.FastBlurTransformation (#5289)
Co-authored-by: mjblackhorse <majunster@gmail.com>
2021-07-24 17:34:48 +02:00
ByteHamster 210e326668
Merge pull request #5296 from ByteHamster/sync-icon
Add sync icon
2021-07-24 17:22:58 +02:00
ByteHamster 2cdf0d86d5 Add sync icon 2021-07-24 08:44:19 +02:00
TacoTheDank e7d9db0404 Suppress ScopedStorage lint for now 2021-07-22 17:35:28 -04:00
TacoTheDank 872fff1d99 Fix QueryPermissionsNeeded code lint errors 2021-07-22 16:50:02 -04:00
ByteHamster dc3e58a188
Merge pull request #5279 from ByteHamster/dont-remove-without-guid
Don't detect items without GUID as duplicates
2021-07-18 10:02:11 +02:00
ByteHamster 32ac7f7f71 Fix crash when a server returns a null location 2021-07-17 18:16:34 +02:00
ByteHamster 799ae93c14 Don't detect items without GUID as duplicates 2021-07-17 18:02:19 +02:00
Tony Tam 0b583e4527
watch for empty getMedia() while checking for duplicates (#5274) 2021-07-17 10:23:40 +02:00
ueen ca9ad0d2d3
Swipe actions (#5191) 2021-07-12 00:03:32 +02:00
ByteHamster d0487dd693 Updated translations 2021-07-11 19:43:22 +02:00
Tony Tam e8eb245899
Handle bluetooth and headphone disconnect (#4722) 2021-07-11 19:36:02 +02:00
ByteHamster 07cd141bdf
Merge pull request #4833 from Thom-Merrilin/fix-auto-download-on-subscribe
Check Auto Download preference on the feed before auto downloading
2021-07-11 19:12:35 +02:00
ByteHamster 4f5449a0d3 No longer show item-specific auto-download property to users 2021-07-11 18:52:11 +02:00
Thom Merrilin 55f7adb106 Check Auto Download preference on the feed before auto downloading
AutoDownlaoding previously assumed that the filters had been initialised, which is not necessarily the case now that users can disable "Include in Auto Downloads" before subscribing to a new feed.
2021-07-11 18:22:09 +02:00
ByteHamster 40c7d379e2
Merge pull request #5265 from ByteHamster/use-web-icon
Updated website icon
2021-07-11 13:24:30 +02:00
ByteHamster 39b778ee59 Updated website icon 2021-07-11 11:22:23 +02:00
ByteHamster a0ac39e403 Ignore refresh when there is no network 2021-07-11 11:12:37 +02:00
Tony Tam 81ea42a2a4
Dedup based on item unique id, media url or title (#4839) 2021-07-11 09:58:54 +02:00
Farzan b4558efe4a
Update download icon (#5184) 2021-07-11 09:45:12 +02:00
peakvalleytech 00bf2db0a4
Replace old episode multi-select with new multi-select. (#5253) 2021-07-10 09:11:41 +02:00
peakvalleytech 323f1f6142
Contextual menu for multi selecting episodes (#5130) 2021-06-29 22:01:04 +02:00
ByteHamster 958346d6d2 Fix widget not showing icons 2021-06-25 18:58:42 +02:00
ueen e26507e41d
FeedItemFilter Ids (#5231) 2021-06-20 19:00:51 +02:00
ByteHamster fd8afcd01f Fixed path to proguard config 2021-06-17 08:37:31 +02:00
ByteHamster 57f4b8969a Updated translations 2021-06-16 23:33:06 +02:00
ByteHamster 4093dd6433
Merge pull request #5209 from ByteHamster/wait-for-new
Let test wait until database operation is completed
2021-06-05 19:17:55 +02:00
ByteHamster b89005dc3d
Merge pull request #5190 from ByteHamster/shownotes-font
Removed explicit font specification from shownotes
2021-06-05 18:58:47 +02:00
ByteHamster a0813db189 Let test wait until database operation is completed 2021-06-05 18:57:23 +02:00
Mengshi24 b35eaa4fa5
Add a unit test under DbWriterTest.java (#5181) 2021-06-05 18:40:26 +02:00
ByteHamster 28beb36b2c Removed explicit font specification from shownotes 2021-06-05 18:22:08 +02:00
ByteHamster 9976b6384f
Merge pull request #5165 from thrillfall/sync-position-on-pause
sync paused position on playback pause
2021-05-29 11:10:26 +02:00
Matthew Choi 3cfe588fdb
Added new test case for FeedItemUtil.java to test getIds() method (#5182) 2021-05-29 10:26:13 +02:00
gregoryjtom 426283109a
Add new test for Download Request equals (#5183) 2021-05-29 09:47:10 +02:00
ByteHamster ea47118a98 Merge branch 'master' into develop 2021-05-22 20:31:37 +02:00
thrillfall ffaa5b0045 sync paused position on playback pause 2021-05-17 23:18:34 +02:00
ByteHamster fcb75fc382
Merge pull request #5161 from ByteHamster/reduce-playback-controller
Remove some unnecessary code from playback controller
2021-05-14 21:22:22 +02:00
ueen 292c9bf151
New media player screen (#5075)
Co-authored-by: jonasburian <jonas.burian@protonmail.com>
Co-authored-by: ByteHamster <info@bytehamster.com>
2021-05-14 21:06:04 +02:00
ByteHamster f56ce1ea52 Just assume we can always set the playback speed
Our default ExoPlayer can always set the speed. All Android versions >23
also support it. So of the 2% of users with old devices, this only
affects the ones who manually selected another player.
2021-05-14 21:03:35 +02:00
ByteHamster 74dcf09b3b Removed method that is just used in one place 2021-05-14 20:38:46 +02:00
ByteHamster 390fb1a15b Use EventBus instead of broadcast for service shutdown 2021-05-14 20:26:57 +02:00
ByteHamster fb6bd0cbaa
Merge pull request #5160 from ByteHamster/disable-id3
Disable ExoPlayer id3 extraction
2021-05-13 19:11:21 +02:00
ByteHamster 93b2a07811 Disable ExoPlayer id3 extraction
Malformed audio files can cause a crash in ExoPlayer. We have our own
id3 extractor and don't use the data of ExoPlayer, so we can just
disable parsing in ExoPlayer. This reduces the number locations where
something can go wrong that prevents playback.
2021-05-13 18:17:23 +02:00
ByteHamster c72fd81886 Move common gradle setup to a single file
Original idea by @TacoTheDank
2021-05-11 22:38:46 +02:00
ByteHamster 65bf8bf70c
Merge pull request #5151 from ByteHamster/fix-proxy
Fixed proxy support
2021-05-10 23:11:59 +02:00
ByteHamster e521b85070 Fixed proxy support 2021-05-10 22:10:50 +02:00