Commit Graph

3378 Commits

Author SHA1 Message Date
peking_ling 240737e3ac
Fix memory leaks (#6335) 2023-02-23 21:53:56 +01:00
Erik Johnson 9fed944392
Add "New Episodes Action" preference (#6095) 2023-02-22 21:34:43 +01:00
GitStart 25ddd73f24
Add sort option to episodes screen (#6286) 2023-02-22 20:04:04 +01:00
ByteHamster 2b22d4b697 Merge branch 'master' into develop 2023-02-20 23:19:34 +01:00
ByteHamster e58e2d0639
Force-refresh feeds that failed before (#6332)
Apparently some servers return "Not Modified", even though a broken feed
was fixed in the meantime. When refreshing all feeds, now force-refresh
the feeds that previously failed.
2023-02-20 23:16:18 +01:00
ByteHamster a5d4864776
Add retry button to download failed notifications (#6333) 2023-02-20 23:15:56 +01:00
ByteHamster c98194f519
Remove another global callback object (#6316) 2023-02-19 11:48:48 +01:00
ByteHamster 997860fe52
Extra toggle for full black theme (#6328) 2023-02-18 14:51:55 +01:00
Jared234 7a2f4771ec
Add sorting options to downloads screen (#6210) 2023-02-12 21:12:04 +01:00
GitStart 4096aaf47e
Convert subscriptions screen to cards (#6261) 2023-02-11 19:04:14 +01:00
ByteHamster 530165206b
Fix when playback is started from MediaSessionCompat.Callback (#6295)
In that case:
- The service does not go through onStartCommand, so it does not go to foreground state.
- The media session is already destroyed.

Now, create a new media session and definitely start foreground service when something is playing.
2023-02-02 00:06:53 +01:00
ByteHamster 731adeaf2c
Don't stop service between episodes (#6293) 2023-01-29 16:45:26 +01:00
ByteHamster e261514c5b
Update feed url when server returns itunes:new-feed-url (#6291) 2023-01-29 12:12:08 +01:00
ByteHamster 12793de604
Use rasterized icon on splash (#6287) 2023-01-28 11:43:35 +01:00
ByteHamster 78bce635c4
Send first sleep timer tick earlier (#6288) 2023-01-28 10:14:53 +01:00
ByteHamster 63e9d7f696
Merge pull request #6265 from ByteHamster/fix_duplicate_name
Fix downloads when feeds with same name have items with the same name
2023-01-13 17:27:16 +01:00
ByteHamster d7bfe89b13
Branding upgrade (#6146) 2023-01-13 17:24:51 +01:00
ByteHamster 941ebbdc2b Fix downloads when feeds with same name have items with the same name 2023-01-08 21:52:41 +01:00
Vishnu Sanal T 88289d02ae
Possibility to remove a single episode from playback history (#6184) 2023-01-01 15:29:23 +01:00
ByteHamster 0776f232d3
Merge pull request #6247 from ByteHamster/rewrite-audio-focus
Rework audio focus handling
2022-12-20 21:18:48 +01:00
ByteHamster 670f26bb0e Rework audio focus handling
Instead of pausing the entire service, only pause media playback without
telling the service. This has the following advantages:
- It's faster
- The position does not change (because it does not need to seek)
- We can definitely resume (because we still have a foreground service)

Especially the last point is important on Android 12, where we couldn't
restart after an interruption because the service cannot be started.
2022-12-18 21:36:40 +01:00
ByteHamster d8d6f1c72f Remove support for Android 4.4 2022-12-18 15:01:59 +01:00
ByteHamster 1d251492b0 Add support for Material You tinted theme 2022-12-17 10:51:07 +01:00
ByteHamster 32ffb2d1e9 Show skip button even if 'continuous playback' is disabled
It can still be used to skip the rest of an episode and load the next
one into the notification/miniplayer. There is no reason to hide the
button and instead show no button at all.
2022-12-04 21:47:01 +01:00
Jared234 f91d536ab9
Fixed bug that causes "skip" button to be unresponsive (#6170) 2022-11-30 20:28:14 +01:00
ByteHamster 1c08543430 Highlight currently playing card 2022-11-30 19:55:43 +01:00
ByteHamster 6c4c51994d
Switch back to non-transparent navigation bar (#6111) 2022-11-27 12:42:42 +01:00
ByteHamster 807e09ecdd
Target API 31 (#6190) 2022-11-26 16:06:02 +01:00
LukasBrilla5 d585e37e11
Add button to refresh episode chapters (#6177) 2022-11-18 20:08:48 +01:00
ByteHamster d8a2dd5f83 Move preferences to a new module 2022-11-06 21:21:28 +01:00
ByteHamster b140d7297a Move DownloadService-Interface to new module 2022-11-06 12:28:30 +01:00
ByteHamster be8c8cef4d
Merge pull request #6176 from ByteHamster/decouple
Decouple some classes
2022-11-06 10:54:18 +01:00
ByteHamster 11292b598c Remove dependency from other classes to DownloadService 2022-11-05 20:44:53 +01:00
ByteHamster ae3971a58f No need to have other classes depend on the entire playback service when they just need one constant 2022-11-05 13:54:33 +01:00
ByteHamster 323149642a Decouple FeedItemUtil and PlaybackStatus 2022-11-05 13:19:41 +01:00
ByteHamster d08b9e196e Decouple sync service from other classes 2022-11-05 13:04:07 +01:00
ByteHamster 546c8841db
Merge pull request #6174 from ByteHamster/modularize-glide
Move Glide config to its own module
2022-11-05 12:50:13 +01:00
ByteHamster 70a847f6ba Remove dependency from MediaButtonReceiver to PlaybackService 2022-11-03 23:16:42 +01:00
ByteHamster 5b8cee0de0 Decouple restoring Playable from Preferences and storing position
Breaks dependency cycle
2022-11-03 23:04:48 +01:00
ByteHamster cd9845ed4c Make NetworkUtils less fat
Breaks dependency cycles
2022-11-03 22:49:33 +01:00
ByteHamster 6c1ec57bc1 Break dependency cycle
ClientConfig->HttpClient->UserAgentInterceptor->ClientConfig
2022-11-03 22:49:31 +01:00
ByteHamster c1fbb53805 Move Glide to its own module 2022-11-03 22:46:56 +01:00
ByteHamster 9b06bf0dc5
Merge pull request #6173 from ByteHamster/playbackservice-cleanup
PlaybackService cleanup
2022-11-03 21:35:18 +01:00
ByteHamster 6921d7162e Apply default RequestOptions globally instead of locally 2022-11-01 12:47:52 +01:00
ByteHamster 1e336ac0f8 No need to have a virtual method that is only used in one single instance 2022-11-01 12:06:21 +01:00
ByteHamster a836745079 Close video player when switching to audio 2022-11-01 12:06:21 +01:00
ByteHamster a29041cd4d No need to define INVALID_TIME multiple times 2022-11-01 12:06:13 +01:00
ByteHamster 17f2ebd7f2 Use normal pause/skip keycodes, not custom intent 2022-11-01 11:22:03 +01:00
Vishnu Sanal T c171ab6823
Remove 'seconds' and 'hours' options from sleep timer (#6148) 2022-10-29 17:26:14 +02:00
ByteHamster e260056f08
Merge pull request #6166 from ByteHamster/less-noisy-glide
Do not print stacktrace for image loading errors
2022-10-29 11:54:50 +02:00
Tong Liu a87d660698
Fix Inbox not default screen when set as such (#6168) 2022-10-28 22:36:00 +02:00
ByteHamster edcf831346 Do not print stacktrace for image loading errors 2022-10-27 22:48:53 +02:00
ByteHamster cac231a461
Merge pull request #6153 from ByteHamster/fast-document-file
Speed up local folder refresh
2022-10-23 12:10:07 +02:00
ByteHamster c7e41c31b6 If file size and name are the same, just assume that the metadata is the same as well 2022-10-21 22:01:47 +02:00
ByteHamster 9624d8ce9e Speed up chapter parsing 2022-10-21 21:46:18 +02:00
ByteHamster 25dd4902ba Make loading DocumentFiles faster 2022-10-21 21:46:15 +02:00
ByteHamster 7d0b0e57ee Remove text colors from shownotes 2022-10-14 22:39:05 +02:00
ByteHamster 504002c48f
Merge pull request #6109 from ByteHamster/home-only-greater-zero
Tweak Queue section on home screen
2022-10-14 19:03:09 +02:00
ByteHamster b0b95f0a05 Reorder queue section when pressing play, not when pausing 2022-10-04 19:48:47 +02:00
ByteHamster b90bfbd4dc Extend splash blue to navigation bar 2022-09-30 19:13:48 +02:00
ByteHamster 097a491504
Rewrite include/exclude filter dialog (#6057) 2022-09-18 22:25:06 +02:00
ByteHamster bd0f54dbf6
Merge pull request #6082 from TacoTheDank/deleteRedundantIcon
Delete redundant round app icons
2022-09-18 21:51:56 +02:00
ByteHamster 37b49b1e38 Use segmented buttons for filter 2022-09-18 19:12:41 +02:00
ByteHamster a524b81060 Expand app below system windows 2022-09-18 19:12:41 +02:00
ByteHamster e5d2d1b6ef Migrate navigation drawer to Material3 2022-09-18 19:12:41 +02:00
ByteHamster cbfa0181f4 Migrate dialogs to Material3 2022-09-18 19:12:38 +02:00
ByteHamster a12854a96b Material Design 3 Bringup 2022-09-18 18:15:14 +02:00
cliambrown a528e8adfd
Add Quick Settings tile (#6006) 2022-09-18 18:10:18 +02:00
Erik Johnson fcce8e9e0e
Implement "Downloaded and unplayed" subscription counter option (#6073) 2022-09-18 18:03:10 +02:00
TacoTheDank bbea9c990c Delete redundant round app icon 2022-09-14 18:01:39 -04:00
TacoTheDank 9599281fdb Remove robotium-solo library 2022-09-14 14:45:04 -04:00
ByteHamster ad9de4467b
Add 'default screen' setting (replaces 'back button behavior') (#6041) 2022-09-10 16:09:26 +02:00
Erik Johnson 539d0c928d
Remove "inbox and unplayed" feed counter option (#6033) 2022-09-10 12:06:32 +02:00
ByteHamster 836e2199bc Load only favorite IDs instead of whole FeedItems 2022-08-30 19:23:11 +02:00
ByteHamster 4c88a1aa69 Merge branch 'master' into develop 2022-08-28 16:02:21 +02:00
ByteHamster 77104c9038
Home Screen (#5864)
Co-authored-by: ueen <ueli.sarnighausen@online.de>
2022-08-27 11:19:34 +02:00
ByteHamster ec92722c04
Merge pull request #6039 from ByteHamster/statistics-performance
Make statistics loading more efficient
2022-08-26 21:01:53 +02:00
ByteHamster 28a397c897 Make statistics loading more efficient 2022-08-26 20:26:28 +02:00
ByteHamster 38dcfa9d35
Merge pull request #6030 from ByteHamster/rework-smart-shuffle
Rework smart shuffle
2022-08-25 22:02:20 +02:00
Erik Johnson 732462438a
Make widget buttons fill all horizontal space (#6031) 2022-08-25 21:58:26 +02:00
ByteHamster a265d17f54 Rework smart shuffle 2022-08-20 21:24:11 +02:00
ByteHamster 9558e61bad Simplify updating refresh menu 2022-08-20 20:48:11 +02:00
ByteHamster d3b5b0e14e Change subscriptions icon from folder to grid view 2022-08-20 16:47:14 +02:00
Dhruv Patidar 8e994165e6
Use downwards arrow icon to close player screen (#6012) 2022-08-14 12:22:01 +02:00
ByteHamster 1bab9f7f8f
Merge pull request #5959 from TacoTheDank/removeIconifyNavFailures
Remove iconify: NavListItem failures
2022-08-04 20:12:04 +02:00
ByteHamster eaafd58bd3 Merge branch 'master' into develop 2022-08-04 19:36:38 +02:00
TacoTheDank 504fb782c0 Remove iconify: ListItem failures 2022-07-31 20:29:14 -04:00
ByteHamster d3b689127f
Merge pull request #5989 from ByteHamster/remove-storage-error
Remove storage error activity
2022-07-31 10:51:51 +02:00
ByteHamster 8dc9dd888e Remove storage error activity
We fall back to the internal memory silently, so these code paths are
never actually called.
2022-07-30 21:50:14 +02:00
ByteHamster abf94c4d27
Merge pull request #5942 from TacoTheDank/newPlaylistIcons
Use new material playlist drawables
2022-07-30 17:37:48 +02:00
ByteHamster 92d8c6b674 Work around widget flickering 2022-07-24 14:50:56 +02:00
ByteHamster 485ecce6bd Disable sleep timer vibration by default 2022-07-02 13:38:16 +02:00
ByteHamster 1054e13221 Merge branch 'master' into develop 2022-06-30 11:11:35 +02:00
ByteHamster 72cd015480 Fix 2 NPEs reported on Google Play 2022-06-21 19:34:19 +02:00
TacoTheDank dc12b522e2 Fix name of chart box drawable 2022-06-12 17:57:55 -04:00
TacoTheDank 756e76e19d Use new material playlist drawables 2022-06-12 16:32:30 -04:00
ByteHamster 992ca915a0
Merge pull request #5930 from TacoTheDank/bumpGlide
Update Glide library
2022-06-09 22:55:39 +02:00
Paul Ganssle df53c5bfe5
Convert playback history fragment to lazy loading (#5886) 2022-06-09 22:24:22 +02:00
TacoTheDank bf84ba8e26 Update Glide to 4.13.2 2022-06-05 00:45:37 -04:00
Taco 89cfeb93db
Update jsoup library (#5902) 2022-05-26 09:59:10 +02:00
Tony Tam 484b6d0932
add episodes into android auto (#5907) 2022-05-24 18:45:44 +02:00
ByteHamster 0510539e29 Fix 'load more' not detecting next page 2022-05-15 17:57:15 +02:00
ByteHamster 5448e1f390 Remove gpodder toplist
Half of the toplist no longer returns a valid podcast feed.
Some of the suggested tags are just random characters and none of them
is actually helpful.

This does not remove search or synchronization.
Just gpodder discovery.
2022-05-13 20:55:52 +02:00
ByteHamster 934e2802f8 Remove 'mark all as read' button
Now available through multi-select
2022-05-08 21:28:59 +02:00
ByteHamster 03220d0774 Show correct total number for lazy loaded items 2022-05-08 11:18:53 +02:00
ByteHamster 01bddcc0a9
Move download logs to a button on the downloads page instead of a tab (#5866) 2022-05-06 22:52:02 +02:00
ByteHamster dfcc342c57
Rename 'new' screen to inbox (#5460) 2022-05-03 22:10:39 +02:00
ByteHamster 8eedb82f31 Merge branch 'master' into develop 2022-05-03 22:03:20 +02:00
ByteHamster 08515497d7
Merge pull request #5857 from ByteHamster/decouple-preferences
Decouple preferences
2022-04-26 19:31:41 +02:00
ByteHamster ed5d9212ea
Merge pull request #5861 from ByteHamster/fix-sending-empty-credentials
Do not send null:null as credentials
2022-04-26 19:09:18 +02:00
ByteHamster fc91229b5d Do not send null:null as credentials 2022-04-26 18:36:23 +02:00
ByteHamster 069a2ca329 Decouple preferences 2022-04-26 17:57:42 +02:00
ByteHamster d339729baf Decouple HttpClient
Remove dependencies:
- HttpClient->Preferences
- AuthorizationInterceptor->Download Service
- ExoPlayer->Download Service
2022-04-24 23:25:01 +02:00
Nicolas Araujo 9b78d4c3f3
Put playback speed in widget (#5774) 2022-04-24 22:36:37 +02:00
ByteHamster 9dc83aa2ac Clean up duplicate widget updates 2022-04-24 10:43:29 +02:00
ByteHamster 017ef0b4d8 Update translations 2022-04-22 23:21:18 +02:00
ByteHamster 8775031b20
Podcast page re-design (#5842)
Makes the settings button more visible, following a mock-up on the forum
2022-04-22 22:11:12 +02:00
ByteHamster a01c24984e
Restore episode sharing that only includes a media URL (#5835) 2022-04-22 20:11:37 +02:00
ByteHamster 8ea814cfdb Only crash debug version when trying to enqueue too many downloads at once 2022-04-09 16:28:06 +02:00
ByteHamster b751ad2aa4 Do not crash when pressing download while service is already partially destroyed 2022-04-09 16:15:38 +02:00
ByteHamster 1cc1fa1d12 Don't crash when download log entry is incomplete 2022-04-09 16:02:52 +02:00
Nils Rothaug e7f23ad1c2
Show on-demand configuration popup for stream vs download only once (#5818) 2022-04-09 11:54:18 +02:00
ByteHamster 0c26eb6c04
Merge pull request #5827 from ByteHamster/redirect-https
Upgrade feed url to https if possible
2022-04-02 12:32:38 +02:00
ByteHamster 4a91d6f5de Merge branch 'master' into develop 2022-04-02 12:03:44 +02:00
ByteHamster 0e43c3e508 Upgrade feed url to https if possible 2022-04-02 11:51:04 +02:00
ByteHamster 310eccc4ce
Merge pull request #5826 from ByteHamster/move-redirect-handling
Rewrite feed redirect handling
2022-04-02 11:35:51 +02:00
ByteHamster b53cec6795 Rework HttpDownloader for readability 2022-04-01 23:16:17 +02:00
ByteHamster bd6798d2af Move redirect handling to DownloadService
- Only redirects when feed was parsed successfully (captive portals)
- Decouple http client from database
2022-04-01 22:56:28 +02:00
cketti 7cd9abb0f6 Truncate existing file when exporting database 2022-03-29 00:46:12 +02:00
ByteHamster 6a477ec403 Update translations 2022-03-26 12:12:17 +01:00
ByteHamster 876ca0e68a
Merge pull request #5815 from ByteHamster/data-folder-creation
Rewrite data folder creation
2022-03-25 22:59:47 +01:00
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