Commit Graph

8633 Commits

Author SHA1 Message Date
Erik Johnson 637230e382
Fix seeking to end using seek bar (#6763)
Merging #6074 has caused a new edge case for VBR audio files, in which
using the seek bar to seek to the end of an episode sometimes hits the
new code path, and the `skip()` function is called.

Because `skip()` invokes `endPlayback()` with `hasEnded` set to `false`,
post-processing tasks are not executed unless the pre-seek position
falls within the "Smart mark as played" range. If "Smart mark as played"
is set to `Disabled`, or the pre-seek position is outside that range,
then the episode is not marked as played, and not removed from queue.

This commit fixes that edge case by replacing `skip()` with a direct
call to `endPlayback()`, with `hasEnded` set to `true`.
2023-11-15 20:47:51 +01:00
ByteHamster 10672f8086 Bump version to 3.2.0-beta2 2023-11-13 22:53:58 +01:00
ByteHamster 1e3761984a Update contributors list 2023-11-13 22:53:42 +01:00
ByteHamster 956a455f84 Update translations 2023-11-13 22:48:30 +01:00
ByteHamster 46c3d4e8c1
Fix file deletion (#6758)
- When deleting local folders, don't delete files
- Don't try to delete files twice
- Fix deleting non-local feeds
2023-11-12 23:00:06 +01:00
Tony Tam 7bfb53cc00
Fix sometimes stopping at the end of each episode (#6753)
The bug is on this line [#145](f7a13065a9/core/src/main/java/de/danoeh/antennapod/core/storage/DBWriter.java (L145)) - the call to `PlaybackPreferences.getCurrentlyPlayingFeedMediaId()` returns the episode that was playing and deleted, hence it stops playing the next episode like it is supposed to.  Because it's called in a Thread, the next episode already started playing for 1 second or so and then stops

The fix will now save into the preference the correct episode that is playing on the PREPARE stage.
2023-11-11 10:55:01 +01:00
ByteHamster 8af06a9f25
Fix deeplink/search?query=xy intent (#6754) 2023-11-11 10:52:16 +01:00
Matej Drobnič 4d627cc3af
Only set target gain when enhancer was enabled (#6751) 2023-11-09 20:26:43 +01:00
ByteHamster 47761bf98f Bump version to 3.2.0-beta1 2023-11-05 16:14:41 +01:00
ByteHamster 0a6a3d6854
Add button to share exported database export (#6746)
Also hide path, is not accessible on recent Android versions anyway.
2023-11-05 16:06:20 +01:00
ByteHamster 34c7fd576f
Show 'copied to clipboard' message on Android 12L (#6745) 2023-11-05 15:48:35 +01:00
ByteHamster 1d415c9f7f
Announce played/unplayed in TalkBack (#6744) 2023-11-05 15:31:07 +01:00
ByteHamster f7a13065a9 Merge branch 'master' into develop 2023-11-05 08:27:34 +01:00
Harshad Vedartham 2c3fb5610a
Do not reinit on pause (#6732)
The call to `reinit()` causes Android Auto to close the player view when pausing
2023-11-01 15:56:28 +01:00
Vinod Patil 691ed73910
Fix adding new playback speed preset when service is not running (#6734) 2023-11-01 14:39:10 +01:00
Bhaskar Kaura 01f1927770
Add more spacing to OnlineFeedViewActivity, use MD3 styles (#6670) 2023-10-29 16:13:51 +01:00
ByteHamster 4931734d94
Allow hiding notification permission nag (#6730)
- Support showing most error messages as a snackbar
- Ask for notification permission when enabling episode notifications
- Clarify what we use notifications for
2023-10-29 16:10:38 +01:00
Erik Johnson 8a011badd3
Fix fast-forward at end of episode (#6074)
When using variable speed, skipping back and forth introduces some
uncertainty to the current position, causing skip-forward to try to skip
to an invalid position when very near the end of the episode. This
change fixes this by skipping the current episode if the desired
skip-forward position exceeds the duration.
2023-10-29 09:43:20 +01:00
Matej Drobnič 346365b8d0
Delete local feed episodes (#6400) 2023-10-22 16:53:41 +02:00
ByteHamster fa75317bce
Do not try to sync local feeds (#6722) 2023-10-22 16:51:16 +02:00
ByteHamster 69be89881a
Make 'change times' button a settings icon (#6721)
Users didn't scroll down to find the button. Now it is next to the checkbox,
so it is harder to overlook.
2023-10-22 15:09:07 +02:00
ByteHamster 0b7403e1dd
Some more accessibility tweaks (#6713) 2023-10-22 13:14:36 +02:00
Vinod Patil 61669d32fa
Multi-select actions on search results (#6719) 2023-10-22 13:07:12 +02:00
ByteHamster 8d4270ab87 Bump version to 3.1.2 2023-10-22 12:52:25 +02:00
ByteHamster eb8267a4ae Update translations 2023-10-22 12:39:31 +02:00
Taco e9d190da1b
Bump AGP and Gradle (#6489) 2023-10-17 20:52:21 +02:00
Keunes 77483913d4
Remove periods for single sentences (#6707) 2023-10-15 10:52:34 +02:00
ByteHamster 0efa91a0b1
Add error icon on subscriptions screen (#6679) 2023-10-15 10:26:13 +02:00
ByteHamster 475e0f5128
Remove ProgressBar background (#6703)
Might lead to bad contrast in dark theme when applying dynamic colors
2023-10-13 17:31:39 +02:00
ByteHamster 58484d5790
Add 'Search online' button if local search has no results (#6681) 2023-10-13 17:31:09 +02:00
ByteHamster 2ee2cb6702
Ignore skip in first second of playback (#6704)
Users complained that they wanted to skip the ending of
an episode and accidentally skipped the next one that
started while their finger was moving.
2023-10-13 00:26:07 +02:00
ByteHamster c732ecba8b
User material3 dialog in 'mobile updates' setting (#6682) 2023-10-12 18:13:55 +02:00
ByteHamster c38b263458
Better content descriptions for TalkBack (#6684) 2023-10-06 18:24:13 +02:00
ByteHamster 3fae29b375
Show playback speed in dialog even when not playing (#6685) 2023-10-06 08:18:17 +02:00
ByteHamster da200f6139
Fix crash if vorbis exception does not have message (#6678) 2023-10-02 21:12:45 +02:00
ByteHamster 4dc1196c39
Apply username and password when subscribing (#6675) 2023-10-01 18:08:54 +02:00
ByteHamster 7cb0ba8156
Switch to colorBackground instead of windowBackground (#6674) 2023-10-01 18:07:47 +02:00
ByteHamster 7e8ac3aeb6
Fix stuck notification when refreshing single feed (#6662)
Updating a singletonList throws an UnsupportedOperationException,
so the worker does not remove the notification
2023-10-01 14:21:19 +02:00
blair e466bba013
Handle double/triple headset button press (#6535) 2023-09-30 12:23:58 +02:00
Rahmat Ramadhan 922395a448
Sort downloads by size (#6659) 2023-09-27 21:59:58 +02:00
ByteHamster 7229cb40e9
Don't update redirect url if it is the same as the original (#6661) 2023-09-27 21:54:50 +02:00
caoilTe O'Connor 574ec1434c
Remove Iconify from SubscriptionFragment (#6645) 2023-09-24 13:10:28 +02:00
ByteHamster 0e52f08aa5
Fix file deletion and queueing after download (#6652)
WorkManager does not tell us whether it was cancelled by
the user (not retried) or by the system (retried later).
So we need to delete the file and remove from queue when
we know that it was actually the user. Also make sure
to always delete the file when the download fails.

Also, don't show "will retry" message on last retry attempt.
2023-09-24 10:03:50 +02:00
caoilTe O'Connor 705aae44ba
Remove Iconify from NavListAdapter (#6578) 2023-09-16 12:34:30 +02:00
ByteHamster 8073de55af Bump version to 3.1.1 2023-09-12 20:09:34 +02:00
ByteHamster c680f84a0f Update translations 2023-09-12 19:58:55 +02:00
ByteHamster b933c0eb71
Refresh local feeds even if there is no internet (#6633) 2023-09-12 19:53:42 +02:00
ByteHamster 955fca6e38
Improve wording (#6604) 2023-09-12 19:23:39 +02:00
ByteHamster 37c29a6372
Remove auto-download notification setting (#6625)
Also, add episode notifications to multi select options
2023-09-12 19:19:28 +02:00
ByteHamster 1e7c347cd2 No longer use 'metered' work-around for VPNs
WorkManager doesn't do the workaround either.
So we would launch a download that then never starts.
2023-09-12 19:18:12 +02:00