Commit Graph

7649 Commits

Author SHA1 Message Date
ByteHamster e1277b1bb8
Merge pull request #4939 from ByteHamster/fix-toggle-disappearing
Fixed disappearing drawer toggle
2021-02-16 15:55:03 +01:00
ByteHamster df4b013611 Fixed disappearing drawer toggle
When the activity is recreated after it was stopped in background,
the BackStackEntryCount is the same for all fragments. The one that
should display the toggle therefore thinks it shouldn't. This change
saves the button state now. This is only needed for top-level fragments.
2021-02-16 14:42:37 +01:00
ByteHamster 3f1c1c4bf5 Rewrite chapter parser for testability 2021-02-16 14:39:49 +01:00
ByteHamster 0f692be2d4
Merge pull request #4940 from ByteHamster/more-reliable-chapters
More reliable chapter loading
2021-02-16 09:39:23 +01:00
ByteHamster fe0c710bc8
Merge pull request #4941 from ByteHamster/fix-chapters-multiple-nullbytes
Fix parsing chapters with multiple null bytes
2021-02-16 09:38:02 +01:00
ByteHamster 4f2dcc189c Fix parsing chapters with multiple null bytes
Previously, we relied on the string to fill the complete frame.
Some podcasts terminate the string early and leave some garbage in
the frame data. Skip that garbage, so that the reader is at a valid
frame header position when starting the next iteration.
2021-02-15 23:13:29 +01:00
ByteHamster 57587c928e Removed method that does the same as loadMediaInfo anyway 2021-02-15 22:02:55 +01:00
ByteHamster 339aa936bf Removed return parameter of loadMediaInfo
We return true anyways. The call for actually loading is asynchronous,
so returning anything here does not make sense.

Reduces likelihood of loader being interrupted to just load the same
item again when the state changes.
2021-02-15 21:56:06 +01:00
ByteHamster c0d3a6e3be Don't filter chapters in the UI 2021-02-15 21:35:45 +01:00
Geist5000 aaeea78b37
changed the "Use Episode Cover" setting to only apply to list items. (#4908) 2021-02-15 16:04:03 +01:00
ByteHamster 394122dade
Updated broken beta testing link in readme 2021-02-15 15:39:31 +01:00
ByteHamster 42ce907aaf
Merge pull request #4936 from ByteHamster/chapter-reader
Simplified chapter reader
2021-02-15 15:21:49 +01:00
ByteHamster 5b7c2b7483
Merge pull request #4937 from ByteHamster/downloadservice-cleanup
Clean up DownloadService
2021-02-15 15:20:46 +01:00
ByteHamster b1bf77d4e3 New workaround for hiding the notification directly 2021-02-15 11:44:02 +01:00
ByteHamster c6b5d60a7c Don't set progress to 0 and then back to a number
This triggers an animation
2021-02-15 11:44:02 +01:00
ByteHamster 4aa5443529 Refresh all feeds at once instead of sending tons of lists with 1 feed each 2021-02-15 11:43:57 +01:00
ByteHamster 52421d81f7 Removed some unnecessary calls to startForeground 2021-02-15 11:28:03 +01:00
ByteHamster 5a234a367d Simplified chapter reader
No longer uses code duplication for opening local and remote streams.
Also, switched to OkHttp to handle redirects.
2021-02-15 11:08:00 +01:00
ByteHamster 66ae028719 Merge branch 'master' into develop 2021-02-14 22:44:08 +01:00
Tony Tam f57cf0c317
New preference to show the remaining time in the 'queue' and podcast episode view (#4880) 2021-02-14 12:18:27 +01:00
ByteHamster cca5a8a624
Merge pull request #4920 from ByteHamster/jcenter-deprecation
Migrate away from jcenter
2021-02-13 13:53:18 +01:00
ByteHamster 1a803fcbf8
Merge pull request #4926 from ByteHamster/move-basic-views
Move basic views to new module
2021-02-13 13:33:26 +01:00
ByteHamster b0af98e644 Use speed dial view from jitpack 2021-02-13 13:31:40 +01:00
ByteHamster cda24e4b8f Removed unmaintained recyclerview-flexibledivider library 2021-02-13 13:31:40 +01:00
ByteHamster 78b604355e Added mavenCentral repository 2021-02-13 13:31:08 +01:00
ByteHamster 010ed376cd Move basic views to new module 2021-02-12 21:00:39 +01:00
ByteHamster 87b149b764
Merge pull request #4925 from ByteHamster/remove-playback-service-callbacks
Remove PlaybackServiceCallbacks
2021-02-12 20:05:20 +01:00
ByteHamster 24ea4708ea Remove PlaybackServiceCallbacks 2021-02-12 18:08:58 +01:00
Herbert Reiter 60968089ae
Refactoring: Remove ClientConfig.automaticDownloadAlgorithm (#4924) 2021-02-07 17:57:09 +01:00
ByteHamster ded779d0c9
Merge pull request #4693 from spacecowboy/cleanup-space-needed
Added new cleanup option: when not favorited
2021-02-07 12:50:01 +01:00
Jonas Kalderstam ae8759869d Fixed default number of items to clean up
Not sure why this worked before TBH - but default value should
naturally be to reduce to desired cache size.

Probably makes no difference in actual use - but it is how the tests
are constructed.
2021-02-06 21:43:34 +01:00
Jonas Kalderstam 3a9e1fc2dd
Applied code review suggestions
Co-authored-by: ByteHamster <ByteHamster@users.noreply.github.com>
2021-02-06 15:54:25 +01:00
Jonas Kalderstam 08edd151f9 Added new cleanup option: when not favorited
This is another way of solving #2077.

The root issue is that queued episodes are never auto-deleted
currently which means that if you automatically add episodes to the
queue you will eventually end up with AntennaPod refusing to auto
download more episodes because the cache is full and it can't make
space.

This option will only refuse to delete favorited items. Otherwise it
will simply delete the oldest episodes.
2021-02-05 11:15:22 +01:00
ByteHamster f7409c08a6 Bumped version to 2.1.3 2021-02-04 13:06:25 +01:00
ByteHamster aa64ae132f Updated translations 2021-02-04 13:05:40 +01:00
ByteHamster 0e33daa74d
Merge pull request #4922 from ByteHamster/fix-null-local-folder-title
Fixed local folder name being set to null
2021-02-04 13:01:37 +01:00
ByteHamster 931bda4bed Fixed local folder name being set to null 2021-02-04 12:36:23 +01:00
ByteHamster 9924952e2f
Merge pull request #4900 from ByteHamster/decouple-widget
Reduce coupling between widget and playback service
2021-02-03 23:56:33 +01:00
ByteHamster b6f72f8847 Reduce coupling between widget and playback service
Instead of binding to the service, pass the required data. This also
ensures that the widget is updated instantly when calling from
PlaybackService. JobService had the problem that the OS sometimes
took some seconds before actually executing the job.
2021-02-03 23:37:51 +01:00
Tim Schumacher 1297a16850
Allow remapping hardware buttons (#4881) 2021-02-03 12:50:01 +01:00
Tony Tam 4ff6ff4fb7
Fix Android Auto next episode (#4895) 2021-01-31 23:17:33 +01:00
Tony Tam c31ab79434
Fix cover image cut off in landscape mode (#4901) 2021-01-31 22:31:39 +01:00
ByteHamster 4af0f98d2f Fixed update event sending incomplete item 2021-01-26 18:58:26 +01:00
Christopher Lorenz df45f60cf3 Bugfix: Read feed when updating item in database 2021-01-26 18:47:33 +01:00
Tony Tam f3bf708e26
Show publish date for podcasts and file creation date for local feeds (#4862) 2021-01-25 14:17:30 +01:00
Margaret Borowiec cd23eccf95
Google Assistant App Actions for AntennaPod (#4417) 2021-01-24 15:41:55 +01:00
Tony Tam c32239be0e
Android auto skip button (#4865) 2021-01-24 12:27:37 +01:00
ByteHamster a36d66bf35
Merge pull request #4893 from damoasda/robolectric-feed-parser2
Run AtomParserTest and RssParserTest with Robolectric
2021-01-24 12:20:09 +01:00
ByteHamster 72ab17f153
Merge pull request #4894 from damoasda/robolectric-DbReaderTest
Run DbReaderTest etc. with Robolectric
2021-01-24 12:01:10 +01:00
Herbert Reiter a87c505380 Run DbReaderTest etc. with Robolectric 2021-01-23 23:12:01 +01:00