Commit Graph

3211 Commits

Author SHA1 Message Date
ByteHamster ccea00e405
Remove deprecated media players (#6354) 2023-02-26 16:38:31 +01:00
ByteHamster 3e077e5653
Add cancel action to download notification (#6353) 2023-02-25 16:30:58 +01:00
ByteHamster 8be62b6d0e
Always add feeds from opml, even if download fails (#6347) 2023-02-24 22:08:59 +01:00
ByteHamster 6d72d7cebf
Add mobile sync setting (#6349) 2023-02-24 22:06:12 +01:00
GitStart 658c47f7a7
Resume playback does not work when streaming after data connection drops (#6272) 2023-02-24 19:08:57 +01:00
Andrew Booze 59253db2e4
Add back skip buttons and more custom actions on Android Auto (#6050) 2023-02-24 17:10:44 +01:00
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
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