Commit Graph

3247 Commits

Author SHA1 Message Date
ByteHamster 433314d1ee
Merge pull request #5810 from ByteHamster/ensure-status-nonnull
Ensure that download status is never null
2022-03-25 22:34:44 +01:00
ByteHamster 819a71fcea
Merge pull request #5811 from ByteHamster/shutdown-executor
Do not shut down the executor before the service is destroyed
2022-03-25 22:29:12 +01:00
ByteHamster e483f2edde
Merge pull request #5809 from ByteHamster/fix-seek-ui
Fix UI not updating when forwarding while paused
2022-03-25 22:22:13 +01:00
ByteHamster 5e4f38cfae Rewrite data folder creation
- Make code easier to read
- Fall back to internal memory when folder is not writable
2022-03-25 22:21:25 +01:00
ByteHamster 9b1984548b Fix full sync trying to handle local feeds 2022-03-25 10:23:43 +01:00
ByteHamster 905f5e5f9a Do not shut down the executor before the service is destroyed 2022-03-22 20:41:07 +01:00
ByteHamster 94edf5d226 Ensure that download status is never null 2022-03-22 20:36:43 +01:00
ByteHamster f6a7985901
Merge pull request #5793 from ByteHamster/better-download-notification
Simplify download notification title
2022-03-22 19:52:16 +01:00
ByteHamster 53a652dc5b Fix UI not updating when forwarding while paused 2022-03-22 19:41:54 +01:00
ByteHamster 3d54aa7064
Merge pull request #5791 from ByteHamster/refresh-always
Add button to always refresh over mobile data
2022-03-22 19:23:08 +01:00
ByteHamster 5cf6051d88 Add button to always refresh over mobile data 2022-03-20 11:19:04 +01:00
TacoTheDank ebf2bf9565 Fix navigation bar theming on Nougat (closes #5797) 2022-03-18 19:57:34 -04:00
ByteHamster 33e9e57d6e Simplify download notification title 2022-03-17 00:12:29 +01:00
ByteHamster 2df8e655ac Updating local files takes long. Show progress. 2022-03-17 00:04:28 +01:00
ByteHamster 60e2c2e113
Merge pull request #5786 from ByteHamster/subscribe-filename
Use data folder for initial subscriptions
2022-03-16 22:44:39 +01:00
ByteHamster c60ba6a6f7 Use data folder for initial subscriptions
This was already implemented in 31c0f90d07
but apparently got overwritten by a merge conflict with the download
service rewrite.
2022-03-15 21:24:56 +01:00
cketti a7e795241e
Use ShareCompat.IntentBuilder for all share actions (#5780) 2022-03-15 20:21:20 +01:00
ByteHamster 48d6dc8eb8 Fix context menu click ending up in wrong fragment
This can have all kinds of weird side effects.
For example, it could trigger the "delete" button of a podcast
and then ask for deleting another one because another fragment
handles the deletion.
2022-03-15 19:48:53 +01:00
ByteHamster 933fde839e Read vorbis description of local files 2022-03-11 20:57:24 +01:00
ByteHamster 36a36e4f85
Merge pull request #5769 from ByteHamster/id3-comment
Extract shownotes from id3 comment field
2022-03-10 07:14:48 +01:00
ByteHamster ce8e356647 Extract shownotes from id3 comment field 2022-03-09 22:08:32 +01:00
Tony Tam 1a1bf02e8a
Support for podcast 2.0 chapters (#5630) 2022-03-06 16:09:09 +01:00
ByteHamster e760290901
Merge pull request #5757 from ByteHamster/decouple-database
Move database to its own module
2022-03-04 20:12:20 +01:00
ByteHamster 53b32cc8bf Use feed url in error messages when no title is available 2022-03-01 21:11:01 +01:00
ByteHamster ff3258c34a Move database to its own module 2022-02-27 19:47:41 +01:00
ByteHamster 9403386250
Separate UI (download error messages) from logic (download errors) (#5755) 2022-02-27 11:09:36 +01:00
ByteHamster 7a207ce870
Merge pull request #5752 from ByteHamster/fix-credentials-colon
Fix credentials with colon
2022-02-26 18:30:56 +01:00
ByteHamster 11d44f7140 Fix credentials with colon 2022-02-25 19:35:12 +01:00
ByteHamster 0c1e0b8585
Merge pull request #5746 from ByteHamster/move-strings-to-module
Move strings files to their own module
2022-02-24 20:42:20 +01:00
ByteHamster b6da9ae329
Merge pull request #5742 from TacoTheDank/widgetUpdaterWorkManager
Replace deprecated JobIntentService with WorkManager
2022-02-23 23:11:17 +01:00
ByteHamster f5de90e522 Move strings files to their own module 2022-02-23 22:27:11 +01:00
TacoTheDank 149a1532cd Replace deprecated JobIntentService with WorkManager 2022-02-23 11:39:37 -05:00
ByteHamster 80be89cfd5 Update translations 2022-02-22 21:22:40 +01:00
ByteHamster 1ab012ee85 Fix subscribe button being transparent on some devices 2022-02-22 20:52:09 +01:00
ByteHamster 48852e081a Delete a few unused things 2022-02-22 20:14:00 +01:00
ByteHamster 2f3efa5d33
Merge pull request #5740 from ByteHamster/upon-exiting-video
Make it easier to play only audio, not video
2022-02-22 19:54:05 +01:00
ByteHamster 7ab6d08ea5 Add line graph to statistics screen 2022-02-21 22:54:40 +01:00
ByteHamster b6d2316870
Add time-based statistics filter (#5734) 2022-02-21 22:53:18 +01:00
ByteHamster 372db47f47 Make it easier to play only audio, not video 2022-02-21 22:49:57 +01:00
ByteHamster 5d82e9c84f Reset position when skipping and 'smart mark as played' 2022-02-20 14:51:08 +01:00
IordanisKokk 371faf7dfb
Added a Statistics Button on the Subscriptions toolbar (#5706) 2022-02-19 19:32:44 +01:00
ByteHamster 1e87e34797 Remove startWhenPrepared and prepareImmediately
They are always `true` anyway.
2022-02-19 14:19:59 +01:00
ByteHamster acb384b128 Merge branch 'master' into develop 2022-02-19 13:46:12 +01:00
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
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