Commit Graph

3403 Commits

Author SHA1 Message Date
ByteHamster 2d77b1f118
Remove dependency from :ui:glide to :core module (#6998) 2024-03-17 20:25:44 +01:00
Taco b84a05bd4e
Add POST_NOTIFICATIONS permission checks (#6951)
Also update AndroidX Core to 1.9.0 because then `checkSelfPermission()` delegates to `areNotificationsEnabled()` if needed
2024-03-17 19:58:33 +01:00
ByteHamster 0cbd97b5cb
Move theme to :ui:common module (#6997)
This enables creating Activities outside the app and core modules
2024-03-17 18:43:55 +01:00
ByteHamster 17f5a5d1b8
Move notification icons and widget icons to separate modules (#6995) 2024-03-17 12:06:41 +01:00
Tony Tam 8dc8cc64a8
Allow retrying chapter loading if interrupted (#6828)
Chapter loading can sometimes get interrupted, most importantly if
the corresponding fragment tries to refresh the view again.
Before, this set the chapters to an empty list, indicating that it
should not be tried again. Now, interrupted exceptions do not set
the list to be empty, so it can be retried later.
2024-03-17 11:52:16 +01:00
ByteHamster 2f3f1fd186
Move import/export to its own module (#6986)
Also clean up ImportExportPreferencesFragment a bit.
2024-03-11 23:10:09 +01:00
ByteHamster baa58ac17f
Remove wearable support library (#6978)
The library is the last one requiring Jetifier
and we only use 3 string constants in that whole library anyway.
2024-03-10 10:16:13 +01:00
ByteHamster 095a6b3e9d
Remove stream library that is just used in 3 locations (#6976)
Especially on the SwipeActionsDialog, this is even a bit easier to understand.
2024-03-10 10:14:17 +01:00
ByteHamster 393a8cebd3
Remove last few usages of Iconify (#6977) 2024-03-10 08:02:34 +01:00
Taco b18e5f0de6
Fix some Media3 deprecations (#6980) 2024-03-10 07:59:53 +01:00
Taco f1fe1b573f
Fix OkHttp deprecations (#6979) 2024-03-10 07:55:35 +01:00
ByteHamster aaf225c7af
Remove okio library (#6972) 2024-03-09 17:55:07 +01:00
ByteHamster 755ccc42ec
Upgrade ExoPlayer to media3 version (#6971) 2024-03-09 17:52:21 +01:00
peking_ling b4a6203e1a
Convert teaser from png to webp for smaller file size (#6959) 2024-03-07 07:23:20 +01:00
ByteHamster 68ec4e2527
Merge pull request #6958 from TacoTheDank/bumpSpotBugs
Update and fix SpotBugs
2024-03-06 17:46:05 +01:00
TacoTheDank 522288260c Clean up some old SpotBugs rules 2024-03-06 02:55:01 -05:00
TacoTheDank c2ccc28b95 Update SpotBugs 2024-03-06 02:52:14 -05:00
ByteHamster 5e8960f4bc
Merge pull request #6955 from ByteHamster/checkstyle
Move some Checkstyle rules from new-code file to main file
2024-03-06 07:32:24 +01:00
ByteHamster cae848b505 Fix indentation in last 8 files 2024-03-04 23:09:59 +01:00
ByteHamster 6c0f9eec62 Remove tab characters from last 6 files 2024-03-04 23:09:55 +01:00
Taco 40da13e014
Clean up some dead code (#6952) 2024-03-04 23:07:28 +01:00
Taco c06a3a6d27
Update AGP and Gradle (#6954) 2024-03-04 22:17:44 +01:00
quails4Eva 60f3d77eb2
Skip silence setting per feed (#6910) 2024-03-03 20:17:22 +01:00
ByteHamster 3c77d43e76
Specify foreground service type (#6953) 2024-03-03 13:00:00 +01:00
ByteHamster ee99ef934c
Remove FeedComponent and FeedFile class (#6949)
We want to be more flexible in what we store for each type of item. Also rename misleading function (lastUpdate to lastModified)
2024-03-02 09:50:24 +01:00
peking_ling fa9dd8cb5a
Cache streamed media files on disk (#6927) 2024-02-29 21:02:48 +01:00
Matej Drobnič 7332c04631
Add option to add new episodes to queue (#6855) 2024-02-25 16:11:30 +01:00
mueller-ma 9cfbae183c
Toggle sleep timer from notification (#6913) 2024-02-25 15:02:44 +01:00
ByteHamster 82c93bf7ee
Guess next episode release date (#6925) 2024-02-25 14:01:03 +01:00
ByteHamster 3b2e7420cd
Remove some deprecated methods (#6932) 2024-02-20 21:15:55 +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