Commit Graph

3194 Commits

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