Commit Graph

3378 Commits

Author SHA1 Message Date
ByteHamster 84b0a79d8c
Fix missing episodes on Android Auto (#7021) 2024-03-24 12:25:52 +01:00
ByteHamster ac8e8137bb
Catch quick settings tile exceptions (#7006)
The exception gets thrown if AntennaPod is installed in a work profile.
2024-03-20 20:30:45 +01:00
ByteHamster 8177875674
Fix opml elements not showing title (#6988) 2024-03-11 23:09:00 +01:00
ByteHamster 44e123105c Backport: Remove tab characters from last 6 files 2024-03-10 20:57:32 +01:00
ByteHamster e8807bb329
Fix importing opml file with empty url and title (#6966) 2024-03-07 22:54:34 +01:00
ByteHamster 0d29e44de5 Merge branch 'master' into develop 2024-02-18 19:05:13 +01:00
mueller-ma 556597a173
Rewind when sleep timer pauses playback (#6923) 2024-02-18 19:02:33 +01:00
Matej Drobnič 0f5600932d
Add next chapter button to notification (#6276) 2024-02-04 19:54:46 +01:00
ueen 34fb2050b2
Hide refresh from toolbar (#6850) 2024-01-20 17:31:16 +01:00
ByteHamster bf67218422
Print duration as number of days only on Echo (#6842)
Reverts an accidental change to the queue time display
2024-01-03 20:32:56 +01:00
quails4Eva c5093c9ff9
Move 'skip silence' checkbox to playback speed dialog (#6834) 2024-01-02 20:17:29 +01:00
ByteHamster 28edb71fd6
Share AntennaPod subscribe link instead of RSS url (#6835)
Apparently users are confused by RSS links.
2023-12-31 11:08:30 +01:00
ByteHamster 9db26b7bab
Remove unnecessary autodownload code (#6832)
This should not change any behavior.
The retry count and timing are managed by WorkManager, so this code is irrelevant.
2023-12-29 19:25:39 +01:00
Tony Tam 7508e15ab1
Show currently playing episode in Android Auto (#6816) 2023-12-29 17:50:31 +01:00
Matej Drobnič f476086114
Check if volume boost effect is supported on the device (#6808) 2023-12-29 17:15:21 +01:00
ByteHamster ae4205c6d3 Merge branch 'master' into develop 2023-12-06 21:02:53 +01:00
ByteHamster 2e76dc8d0c
New sort dialog (#6789) 2023-12-03 16:36:28 +01:00
ByteHamster c1712fe2f5
Update debug icons with new design (#6782) 2023-12-02 10:45:00 +01:00
ByteHamster ee554d0306
AntennaPod Echo (#6780) 2023-11-28 20:26:29 +01:00
Andrey Gusev b792eaa18e
Make onPlayFromSearch continue playback (#6779)
According to the Android documentation, if onPlayFromSearch is called with an empty query, the app should make a decision what to play. Before, a database search with this empty query was performed, which returned arbitrary results. Now we play the last played episode instead.
2023-11-28 19:50:49 +01:00
ByteHamster 6177cc2460
De-duplicate also if episodes have different but similar media type (#6776) 2023-11-26 11:15:14 +01:00
caoilTe O'Connor 95f431fec9
Remove Iconify from FeedInfoFragment (#6655) 2023-11-22 20:29:58 +01:00
Tony Tam c7d6cd358c
Honor sort in episode list view in Android Auto (#6756) 2023-11-17 22:33:16 +01:00
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 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
Matej Drobnič 4d627cc3af
Only set target gain when enhancer was enabled (#6751) 2023-11-09 20:26:43 +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
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
Taco e9d190da1b
Bump AGP and Gradle (#6489) 2023-10-17 20:52:21 +02:00
ByteHamster 0efa91a0b1
Add error icon on subscriptions screen (#6679) 2023-10-15 10:26:13 +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
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 b933c0eb71
Refresh local feeds even if there is no internet (#6633) 2023-09-12 19:53:42 +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
ByteHamster e4df6222c2
Make preference switch background less prominent (#6623) 2023-09-08 22:11:12 +02:00
ByteHamster ce7cffdbf3
Open inbox instead of 'all' from new episodes notification (#6624) 2023-09-08 22:05:19 +02:00
Matej Drobnič 8ebf153970
Add volume boost (#6573) 2023-09-08 13:28:20 +01:00
ByteHamster b5cd973a86
Do not try to resume download of feeds (#6591) 2023-08-22 12:00:34 +02:00