Commit Graph

3109 Commits

Author SHA1 Message Date
TacoTheDank 149a1532cd Replace deprecated JobIntentService with WorkManager 2022-02-23 11:39:37 -05: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