Commit Graph

5968 Commits

Author SHA1 Message Date
ByteHamster 4530413d97 Fix DownloadService deadlock
downloadExecutor.take() clears the interrupted state of the thread when throwing an
InterruptedException. When getting this exception, we need to return instead of relying
on the loop to get cancelled.
2019-12-10 23:01:19 +01:00
ByteHamster 2c9f758f39 Mark as seen after download completed 2019-12-10 22:25:21 +01:00
H. Lehmann a99a41e3bb
Merge pull request #3666 from ByteHamster/fix-cancellation-exception
Ignore cancellationException
2019-12-02 13:13:33 +01:00
ByteHamster c752d90f4f Wait for downloadCompletionThread to finish before stopping executors used by the thread 2019-12-02 13:07:51 +01:00
H. Lehmann 9818692db5
Merge pull request #3665 from ByteHamster/checkstyle-limit-nesting
Avoid too much nesting
2019-12-02 13:05:37 +01:00
ByteHamster cb3b1f2b1f Ignore cancellationException 2019-12-02 13:04:52 +01:00
ByteHamster 5789704c8f Removed intendation monster 2019-12-02 10:37:19 +01:00
ByteHamster 26e91c0b81 Avoid too much nesting 2019-12-02 10:30:49 +01:00
H. Lehmann cbcd97f6c9
Merge pull request #3663 from ByteHamster/continuous-playback-show-new-info
Show new info if playback stopped because continuous playback is off
2019-12-01 23:02:23 +01:00
H. Lehmann 55453c543f
Merge pull request #3653 from ByteHamster/test-playback-speed
Added test for changing playback speed
2019-12-01 23:02:07 +01:00
H. Lehmann ed6e4d6206
Merge pull request #3664 from spacecowboy/speedwhilepaused
Added playback params to wrapper so speed can be changed while paused
2019-12-01 23:01:42 +01:00
ByteHamster 19c7108dfb Added test for changing playback speed 2019-12-01 22:55:35 +01:00
Jonas Kalderstam 407e70ad2b Added playback params to wrapper so speed can be changed while paused
You can't modify playback params on the ExoPlayer while paused (see
https://github.com/google/ExoPlayer/issues/4064) so added a member
object which *can* be modified while playback is paused. These
parameters are always applied on start of playback.

Fixes #3651
2019-12-01 21:54:00 +01:00
ByteHamster 4b0f6fb22a Show new info if playback stopped because continuous playback is off 2019-12-01 19:34:39 +01:00
H. Lehmann 90f578aa48
Merge pull request #3656 from ByteHamster/fix-tests3
More test fixes
2019-11-28 22:59:54 +01:00
ByteHamster e593e37dd5 Simplified playback test 2019-11-28 22:55:11 +01:00
ByteHamster 48deef165c Fixed episode cleanup test on small screens 2019-11-28 22:49:04 +01:00
ByteHamster 8d3dde8cd5 Fixed drawer tests when having a small screen 2019-11-28 22:45:35 +01:00
H. Lehmann 2173f6212e
Merge pull request #3655 from ByteHamster/fix-tests2
Fixed db cleanup tests
2019-11-28 22:25:01 +01:00
ByteHamster 816a885f6b Fixed db cleanup tests
Cleanup is currently just enabled if autodownload is enabled
2019-11-28 12:14:12 +01:00
ByteHamster 21ff83158d Bumped version to 1.8.0-RC2 2019-11-26 21:06:35 +01:00
ByteHamster b1bc4be32a Added forgotten @ characters to changelog 2019-11-26 21:04:41 +01:00
H. Lehmann f6495232c5
Merge pull request #3647 from ByteHamster/fix-downloadservice-notification
Do not start download service if there is nothing to download
2019-11-26 21:02:57 +01:00
ByteHamster bbb7cfe7ed Do not start download service if there is nothing to download 2019-11-26 20:54:26 +01:00
H. Lehmann fd1e510106
Merge pull request #3644 from ByteHamster/crash-fix
Various tiny crash fixes and improvements reported on Google Play
2019-11-26 16:18:06 +01:00
ByteHamster 9d6225b022 Fixed NPE in DownloadRequester 2019-11-26 16:07:53 +01:00
ByteHamster 1dd5c19eea Fixed NPE in EmptyViewHandler 2019-11-26 00:58:11 +01:00
ByteHamster f2771f953f Decrease connection timeout
If the server does not reply within 10 seconds, the download will also most likely fail.
2019-11-24 20:24:26 +01:00
ByteHamster 5c8f2b6e37 Added names to threads 2019-11-24 20:13:05 +01:00
ByteHamster 5f5cf628ca Making sure that DownloadService always calls startForeground 2019-11-24 20:05:07 +01:00
ByteHamster 4bda044472 Fixed crash in download service 2019-11-24 19:57:56 +01:00
ByteHamster 66c91f9962 Merge branch 'master' into develop 2019-11-24 10:36:30 +01:00
ByteHamster caf063333a Updated contributors 2019-11-24 10:32:43 +01:00
ByteHamster 3904ebe0c6 Updated description 2019-11-24 10:30:44 +01:00
ByteHamster 523e084404 Updated translations 2019-11-24 10:28:44 +01:00
ByteHamster 19503f6971 Bumped version to 1.8.0 2019-11-24 10:09:06 +01:00
ByteHamster 03432bd8c3 Updated changelog 2019-11-24 10:06:51 +01:00
H. Lehmann 159b085984
Merge pull request #3643 from ByteHamster/episode-cleanup
Hotfix: Do not delete episodes
2019-11-24 10:04:53 +01:00
ByteHamster 02caa29faf Hotfix: Do not delete episodes 2019-11-24 09:47:40 +01:00
H. Lehmann 554aa33478
Merge pull request #3640 from ByteHamster/upgrade-exoplayer
Upgraded ExoPlayer
2019-11-22 22:49:23 +01:00
H. Lehmann 7c514c0d0c
Merge pull request #3621 from ByteHamster/debug-icon
Added different icon to debug version
2019-11-22 22:48:27 +01:00
H. Lehmann f5dd806279
Merge pull request #3637 from ByteHamster/remove-prestissimo
Removed prestissimo
2019-11-22 22:30:19 +01:00
ByteHamster 0d9708b848 Upgraded ExoPlayer 2019-11-22 22:24:48 +01:00
H. Lehmann 1a6cb9bd41
Merge pull request #3639 from ByteHamster/show-failed-parse-badge
Show update failed badge on parse errors
2019-11-22 22:19:43 +01:00
H. Lehmann c6fb84fa1f
Merge branch 'develop' into remove-prestissimo 2019-11-22 22:18:52 +01:00
H. Lehmann f3008f442e
Merge pull request #3636 from ByteHamster/api-16
Bumped minimum API version to 16
2019-11-22 22:18:04 +01:00
H. Lehmann e98f578081
Merge pull request #3638 from ByteHamster/fix-lint
Fixed some lint errors
2019-11-22 22:16:38 +01:00
ByteHamster ef8202149d Sending event after feed update failed 2019-11-22 22:12:57 +01:00
ByteHamster 71d09e321e Save feed failed also when parsing failed 2019-11-22 22:02:03 +01:00
ByteHamster 4a3db25876 Fixed some lint errors 2019-11-22 19:29:17 +01:00