Commit Graph

3219 Commits

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