summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-05-09Smart shuffle: spread episodes evenlyStephen Kitt
This reworks the sort algorithm used in smart shuffle so that episodes are spread out evenly, which avoids episodes bunching up at the bottom of the queue when one feed has more episodes than others, and avoids running through feeds with few episodes very quickly. Signed-off-by: Stephen Kitt <steve@sk2.org>
2019-05-08Bumped version to 1.7.2-RC5ByteHamster
2019-05-08Merge pull request #3166 from ByteHamster/fix-some-testsH. Lehmann
Fixed some integration tests
2019-05-08Do not deadlockByteHamster
The Android internal media player blocks its `start()` call until the seek listener completes. The seek listener is called on the main thread even though `start()` is called on the executor. This makes the main thread wait for the lock and the executor (which has the lock) wait for the main thread to finish the call to the listener.
2019-05-08Fix cover fragment in small screensAnderson Mesquita
The cover fragment would hide both podcast and episode names in small screen devices or multi-window mode. This replaces the deprecated PercentRelativeLayout in favor of a regular LinearLayout with weights to make sure that each section of the fragment (podcast title, image, episode name) will have the necessary space in the screen. Since PercentRelativeLayout was only being used here, it also removes the dependencies from the gradle files. Closes: #3169
2019-05-08Fixed NPEByteHamster
2019-05-07Open web links in browserByteHamster
2019-05-07Updated translationsByteHamster
2019-05-07Bumped version to 1.7.2-RC4ByteHamster
2019-05-07Merge pull request #3167 from ByteHamster/threadingH. Lehmann
Fixed threading bugs in Sonic
2019-05-07Updated release notesByteHamster
2019-05-07Do not deadlock on seek when using SonicByteHamster
Callbacks are called on the thread that created the MediaPlayer. For Sonic, this is the executor. For ExoPlayer, this is the main thread. When calling executor.submit, every thread waiting for the runnable to complete gets blocked. Because the callback is called in the thread that created the player, we can simply remove the call to executor.submit and still be sure that a background thread is used.
2019-05-07Do not block when using Sonic+Sleep timerByteHamster
2019-05-06Fixed some integration testsByteHamster
2019-05-06Removed opml pick actionByteHamster
2019-05-06Charging constraint is related to auto download onlyByteHamster
2019-05-06Using WorkManager for feed updatesByteHamster
2019-05-06Merge pull request #3161 from andersonvom/2982-fix-icon-paddingH. Lehmann
Fix padding when count is zero and error happened
2019-05-05Scroll to chapter currently being playedAnderson Mesquita
This is especially helpful for episodes that have a large number of chapters. Closes: #2853
2019-05-05Handle iTunes single-number duration formatAnderson Mesquita
Apple says this [1] about the `<itunes:duration>` tag: If you specify a single number as a value (without colons), Apple Podcasts displays the value as seconds. This commit makes it also handle this single-number format. Closes: #3024 [1]: https://help.apple.com/itc/podcasts_connect/#/itcb54353390
2019-05-05Extract DurationParserAnderson Mesquita
This makes it easier to test the logic of parsing duration strings. References: #3024
2019-05-04Fix padding when count is zero and error happenedAnderson Mesquita
When we're not able to get the episode count for a podcast and updating the feed fails, the error icon shown in the navbar is too close to the right/end border of the nav drawer. This fixes this padding. Closes: #2982
2019-05-04Extract methods in NSITunesAnderson Mesquita
References: #3024
2019-05-03Merge pull request #3155 from ByteHamster/empty-view-simplificationH. Lehmann
Simplify empty view handling on recycler views
2019-05-03Merge pull request #3156 from ByteHamster/crash-episodes-long-pressH. Lehmann
Fixed NPE when selected item is null
2019-05-03Merge pull request #3157 from ByteHamster/add-thread-namesH. Lehmann
Added names for threads
2019-05-03Added names for threadsByteHamster
So it is easier to identify problems in bug reports
2019-05-03Fixed NPE when selected item is nullByteHamster
The method is called again with a valid listAdapter automatically Closes #3154
2019-05-03Simplify empty view handling on recycler viewsByteHamster
2019-05-03Fixed about screen readability in amoled theme (Closes #3151)ByteHamster
2019-05-01Updated stringByteHamster
Closes #3145
2019-04-30Merge pull request #3147 from ByteHamster/fix-empty-listMartin Fietz
Fixed empty list not receiving updates
2019-04-30Fixed empty list not receiving updatesByteHamster
2019-04-30Merge pull request #3141 from andersonvom/remove-exceptionsH. Lehmann
Fix thrown exceptions when adding/removing podcasts
2019-04-30Return Optional feed when loading feed itemsAnderson Mesquita
RxJava 2.x no longer accepts `null` values and will yield a `NullPointerException` immediately or as a signal to downstream [1]. This returns an Optional<Feed> instead to avoid errors. [1]: https://github.com/ReactiveX/RxJava/wiki/What's-different-in-2.0#nulls
2019-04-28force refresh time when playback speed changeCédric Cabessa
This is useful when media is paused
2019-04-28use time converter and pref in MediaPlayer and WidgetCédric Cabessa
2019-04-28add a time conversion classCédric Cabessa
convert time depending on current playback speed and preferences
2019-04-28add preference for "Time respects playback speed"Cédric Cabessa
2019-04-28Close OkHttp request before making new onesAnderson Mesquita
When adding certain podcasts [1], a `LeakedClosableViolation` is thrown due to the fact that we're reusing the OkHttpClient to make multiple requests (one to get the iTunes toplist for the user's language, and another one defaulting to US). This makes sure that all requests are closed to prevent this exception, according to OkHttp docs [2]. [1]: https://podcasts.apple.com/us/podcast/stupid-genius-with-emma-chamberlain/id1458568923 [2]: https://github.com/square/okhttp/blob/18f2b5e/okhttp/src/main/java/okhttp3/Call.kt#L32-L40
2019-04-28Bumped version to RC3ByteHamster
2019-04-28Made null check workByteHamster
2019-04-27Fixed sleep timer ANR (Closes #3139)ByteHamster
2019-04-26Bumped version to 1.7.2-RC2ByteHamster
2019-04-26Fixed crash where recyclerAdapter is nullByteHamster
Closes #3138
2019-04-26Imported store description into new publisher layoutByteHamster
2019-04-26New Play publisher directory layoutByteHamster
2019-04-26Merge pull request #3134 from ByteHamster/prepare-releaseH. Lehmann
Prepare 1.7.2 release
2019-04-26Merge pull request #3137 from andersonvom/warning-cleanupH. Lehmann
Cleanup compiler warnings
2019-04-26Making sure that publisher releases to alpha first, so we can wait for ↵ByteHamster
Pre-Launch-Report