Commit Graph

3154 Commits

Author SHA1 Message Date
ByteHamster 6273dff85f
Merge pull request #5726 from ByteHamster/stream-decide-ondemand
Decide whether or not to stream on demand
2022-02-19 13:45:47 +01:00
ByteHamster 07ba067ae9 Decide whether or not to stream on demand
Fixes a bug where local folders sometimes did not start because AntennaPod
thought it needed to play locally. Also avoids situations in which it
streams even though a local file is available. Simplifies the
PlaybackService slightly.
2022-02-18 23:06:06 +01:00
TacoTheDank 87067af965 Fix some gradle deprecations 2022-02-09 11:28:40 -05:00
ByteHamster 4a41ac73be Update translations 2022-02-08 22:27:00 +01:00
ByteHamster a61c8567f5
Merge pull request #5705 from ByteHamster/shutdown-download-service
Shutdown download executors properly
2022-02-08 22:25:15 +01:00
ByteHamster 86eccb4893 Shutdown download executors properly
Otherwise, it can happen that a task in one executor still tries to
submit something to a stopped executor.
2022-02-08 21:40:43 +01:00
ByteHamster 8967fd944a Make sure that proxy host name does not get null
And if it gets null, just ignore the setting.
2022-02-07 21:49:39 +01:00
ByteHamster d953ad0869
Nicer placeholder images (#5679)
Shows randomly generated placeholder images for:

- Feeds that do not have a cover (usually happens for text-only feeds)
  - Feeds that specify an invalid cover still show a gray square
- Local folders when there is no image file in the folder that we could use
2022-01-30 14:03:39 +01:00
ByteHamster d4d506345b Move mime type guessing out of MediaType enum 2022-01-25 22:08:05 +01:00
ByteHamster 96a4543bec Update app translations 2022-01-23 10:28:10 +01:00
ByteHamster b28a98067f Prefer chapter list with more info 2022-01-22 23:09:32 +01:00
ByteHamster 6e0ff29e7b Unregister receiver before stopping the executor that is called from there 2022-01-22 19:49:20 +01:00
ByteHamster 3393bcdf35 Make emulator tests a bit more stable 2022-01-22 19:46:08 +01:00
ByteHamster 9c01712276 Move more checkstyle checks from 'new code' style to main style 2022-01-15 12:57:23 +01:00
ByteHamster 7e27c8ce2e Refresh local feeds in DownloadService
This allows displaying the refresh state. Also, it is faster because
multiple local feeds can be refreshed in parallel.
2022-01-06 15:19:32 +01:00
ByteHamster 849bf4ad85
Rewrite download request creation (#5530)
Android has a limit on the size of Intent parameters. When enqueuing
a huge number of items, it just ignored the argument and did not call
onNewIntent. We now load the list over in DownloadService.
2022-01-06 14:36:11 +01:00
ByteHamster 485db9ebcd Remove queue loading logic from PlaybackServiceTaskManager
This just causes problems with keeping the preloaded list up-to-date.
We only call the method from background threads anyway.
2022-01-06 12:36:11 +01:00
Tony Tam 38c470eace
load Media info from DB in order to grab last saved position (#5624) 2022-01-06 12:01:50 +01:00
ByteHamster 4670a88e09
Merge pull request #5638 from ByteHamster/fix-streaming-redirect-authentication
Fix streaming password protected media with http redirect
2022-01-04 23:46:12 +01:00
ByteHamster 1ddc79d924
Merge pull request #5639 from ByteHamster/fix-crash-share-dialog
Fix crash when share dialog tries to serialize FeedMedia
2022-01-04 18:56:24 +01:00
ByteHamster a445049b66 Fix crash when share dialog tries to serialize FeedMedia 2022-01-04 16:39:00 +01:00
ByteHamster e8f97c28b0
Merge pull request #5637 from ByteHamster/unpack-exoplayer-message
Further unpack exoplayer error messages
2022-01-04 16:27:45 +01:00
ByteHamster dee8d4f410 Fix streaming password protected media with http redirect 2022-01-04 16:26:31 +01:00
Tony Tam 814cd0f88d
follow 301 for authorization headers during download (#5612) 2022-01-04 16:11:24 +01:00
ByteHamster d6381371de Further unpack exoplayer error messages 2022-01-04 15:28:58 +01:00
agibault 92759d8d05
Try to get missing feed url from discover with a search (#5620) 2022-01-04 11:46:27 +01:00
Taco 6154c8a282
Update Balloon library (#5584) 2022-01-04 11:37:26 +01:00
Shom Bandopadhaya 8568226468
Local feeds: add sort option for file name (#5629)
Co-authored-by: widlok <widlok@users.noreply.github.com>
2022-01-04 11:26:59 +01:00
vbh 67bdb80d97
Combine 'Episode webpage' & 'Media file address' share options (#5626) 2022-01-03 15:19:33 +01:00
ByteHamster cc5e04102c Print more episode details in error message 2022-01-03 14:37:45 +01:00
ByteHamster 413df73495 Merge branch 'master' into develop 2022-01-03 14:26:56 +01:00
ByteHamster f6b9b13347 Update translations 2022-01-03 12:56:32 +01:00
rubenh-be 3656ddcf36
Remove playing notification when deleting currently playing episode (#5628) 2022-01-02 12:27:23 +01:00
Tony Tam 4f59b0248b fix crash when not on network 2022-01-02 00:39:19 -08:00
Tony Tam 7cd813dc23
resume playing only if the user unplugs via wired headset or bluetooth while episode in progress (#5611) 2021-12-28 20:14:19 +01:00
Tony Tam 15fe517476
Detect network changes with Android > Lollipop (#5609) 2021-12-28 20:10:10 +01:00
Tony Tam 7768aea11d
VPN+Wifi, not treated as metered (#5613) 2021-12-27 17:18:19 +01:00
vbh a399702da2
Rename tags (#5601) 2021-12-19 17:28:45 +01:00
ByteHamster dde499f5b1 Only mark items as duplicates if duration and date are similar 2021-12-18 20:44:01 +01:00
ByteHamster 20e8b3ed6c
Merge pull request #5581 from TacoTheDank/remove-old-compat
Remove no longer needed compat methods
2021-12-14 21:23:52 +01:00
TacoTheDank ca7f2d2d3d Remove no longer needed compat methods 2021-12-12 14:56:31 -05:00
ByteHamster 41f6bc7616
Merge pull request #5594 from ByteHamster/simplify-string
Simplify confusing string with two plurals
2021-12-11 08:14:45 +01:00
ByteHamster 1cb1b6035f
Merge pull request #5593 from ByteHamster/sync-local
Don't try to sync local folders
2021-12-11 08:09:36 +01:00
ByteHamster 5512440203 Make queue removal test more stable 2021-12-10 21:58:35 +01:00
ByteHamster 897889923c Simplify confusing string with two plurals 2021-12-10 21:42:35 +01:00
ByteHamster 6703946a7b Don't try to sync local folders 2021-12-10 21:36:02 +01:00
Taco 434cd2b79f
Update AndroidX Media and ExoPlayer (#5371) 2021-12-10 21:28:09 +01:00
ByteHamster add003c06b
Merge pull request #5585 from ByteHamster/favorites-export
Fix favorites export when item does not have website
2021-12-10 21:14:28 +01:00
ByteHamster 75a08335eb Fix favorites export when item does not have website 2021-12-05 12:13:43 +01:00
TacoTheDank 560bf3f434 Centralize library versions used in multiple modules 2021-12-04 13:01:22 -05:00
ByteHamster e8b712e5d3
Merge pull request #5577 from ByteHamster/fast-deletion
Make feed deletions 3 times faster
2021-12-04 17:22:47 +01:00
ByteHamster 607b1fdbeb Make feed deletions faster 2021-12-01 23:10:32 +01:00
vbh d4769620b7
Add preference to show subscription title (#5538) 2021-12-01 22:17:37 +01:00
ByteHamster 561141cfff Merge branch 'master' into develop 2021-11-28 22:20:57 +01:00
ByteHamster f0100e61ac
Chromecast rework (#5518) 2021-11-28 22:19:14 +01:00
ByteHamster 495cbb2306 Updated translations 2021-11-28 22:03:46 +01:00
Tobias Preuss 7eead38f52 Use ShareCompat.IntentBuilder to compose share intent. 2021-11-23 06:20:30 +01:00
ByteHamster 3f81e22eed Bump to minimum SDK version 19 (Android 4.4) 2021-11-21 21:51:46 +01:00
vbh b00e14545d
Add 'add to tag' option to multiselect menu (#5553) 2021-11-21 21:27:23 +01:00
ByteHamster 9c62906ec1
Merge pull request #5570 from ByteHamster/remove-new-on-play
Remove new flag when streaming
2021-11-21 21:11:39 +01:00
ByteHamster cc6c6595a9
Merge pull request #5566 from ByteHamster/no-local-duplicate
Don't try to find duplicates in local files
2021-11-21 21:10:51 +01:00
ByteHamster f35086e9a2 Remove new flag when streaming 2021-11-21 20:59:18 +01:00
ByteHamster dce3b79360 Backport null guid sync errors 2021-11-21 19:57:46 +01:00
ByteHamster 11b8c53659 Don't try to find duplicates in local files 2021-11-21 19:04:48 +01:00
ByteHamster e353b276f6
Merge pull request #5422 from TacoTheDank/transparentNavBar
Make navigation bar color match theming
2021-11-17 22:22:20 +01:00
ByteHamster 0670c96892
Merge pull request #5545 from ByteHamster/block-detection-streaming
Mention ad blockers on streaming error dialog as well
2021-11-17 17:55:56 +01:00
ByteHamster b766a22a29 Reduce duplicate warnings
Do not warn if the duplicate detection did not even find the item itself,
which means that the item does not have enough metadata to be identified
correctly.
2021-11-17 17:46:57 +01:00
ByteHamster 92e7dbfa9e Mention ad blockers on streaming error dialog as well 2021-11-14 13:14:06 +01:00
ByteHamster 4a2f170a3e Fix Permission Denial when sharing files 2021-11-14 12:04:36 +01:00
ByteHamster cac9ae7bc4 Warn about using debug version 2021-11-09 19:44:23 +01:00
ByteHamster 3856597211
Merge pull request #5536 from ByteHamster/fix-sync-crash
Fix crash when sync provider is null
2021-11-07 14:57:59 +01:00
ByteHamster 4af3be7aa4 Fix crash when sync provider is null 2021-11-07 13:24:25 +01:00
ByteHamster dd4997db27 Respect remaining time setting in widget 2021-11-06 23:01:49 +01:00
ByteHamster 1fba4a37fc
Merge pull request #5525 from ByteHamster/remove-media-listeners
Remove all media listeners and end audio focus when shutting down playback service
2021-11-06 19:20:18 +01:00
vbh afee60ad38
Add subscription to home screen (#5523) 2021-11-06 19:19:24 +01:00
ByteHamster b564f0c1a8 Do not block PlaybackServiceTaskManager shutdown
If the queue was still loading on another thread, shutting down the
service was not possible.
2021-11-06 17:26:19 +01:00
ByteHamster b8e8a940d0 Remove all media listeners and end audio focus when shutting down playback service 2021-11-06 17:14:12 +01:00
ByteHamster c691a999d9
Merge pull request #5516 from ByteHamster/auto-download-backoff
Fix auto-download retry backoff
2021-11-04 20:43:20 +01:00
ByteHamster 860dd69c37
Merge pull request #5520 from ByteHamster/move-events-to-module
Move (most) events to their own module
2021-11-04 20:42:30 +01:00
ByteHamster cf58b364f1
Merge pull request #5515 from ByteHamster/feed-statistics-table
Show more detailed feed statistics
2021-11-02 21:41:44 +01:00
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