Commit Graph

2080 Commits

Author SHA1 Message Date
ByteHamster 3e8c1ee117 Only modify and query downloads array in main thread
This fixes a ConcurrentModificationException if the thread that queues downloads (database IO)
adds the item to the downloads list and the notification updater queries the downloads list at
the same time.
2020-01-03 22:50:30 +01:00
ByteHamster e119b154cb Do not enqueue on main tread (database IO) 2020-01-02 18:01:00 +01:00
ByteHamster d8a1744cd8 Fixed ArrayIndexOutOfBoundsException when updating feeds 2019-12-29 15:30:54 +01:00
ByteHamster a7a35b1569 Updated translations 2019-12-24 10:29:18 +01:00
H. Lehmann 14d02f5143
Merge pull request #3695 from ByteHamster/playback-icon-size
Fixed playback speed icon mismatch
2019-12-20 00:15:08 +01:00
H. Lehmann 707fcdbc7f
Merge pull request #3654 from ByteHamster/emulator-test
Run integration tests on CI
2019-12-20 00:12:51 +01:00
ByteHamster 98647a705f Fixed playback speed icon mismatch 2019-12-19 17:37:03 +01:00
ByteHamster 6785eb7689 Do not crash when clicking menu items while loading 2019-12-19 16:52:37 +01:00
ByteHamster ecad7bdf94 Updated translations 2019-12-19 16:40:22 +01:00
ByteHamster c148f76ef7 Signal unread items update after downloading 2019-12-17 15:23:52 +01:00
H. Lehmann 72520d7ac4
Merge pull request #3687 from ByteHamster/cancel-notification-updater
Cancel notification after cancelling notification updater
2019-12-15 10:26:48 +01:00
ByteHamster 3461bc376b Cancel notification after cancelling notification updater
Otherwise, the notification can stay while the service is actually stopped
2019-12-15 10:03:18 +01:00
ByteHamster e9f11c6c57 Extracted string resource 2019-12-13 10:00:37 +01:00
ByteHamster 51442cb047 Making sure to not click the wrong list
We might have multiple lists with the same ID in the hierarchy
2019-12-12 09:47:16 +01:00
ByteHamster e2aa83f047 Remove queue item without checking taskmanager first 2019-12-12 09:47:16 +01:00
H. Lehmann c21bc58525
Merge pull request #3680 from ByteHamster/create-channels
Make sure to create notification channels
2019-12-12 09:46:38 +01:00
ByteHamster 29f468b332 Make sure to create notification channels 2019-12-12 09:41:35 +01:00
H. Lehmann 3758caeefe
Merge pull request #3677 from ByteHamster/mark-seen-after-download
Mark as seen after download completed
2019-12-11 08:25:57 +01:00
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
ByteHamster cb3b1f2b1f Ignore cancellationException 2019-12-02 13:04:52 +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
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 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
ByteHamster 9d6225b022 Fixed NPE in DownloadRequester 2019-11-26 16:07:53 +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 523e084404 Updated translations 2019-11-24 10:28:44 +01:00
ByteHamster 02caa29faf Hotfix: Do not delete episodes 2019-11-24 09:47:40 +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
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
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
ByteHamster 9f1eb5a175 Removed prestissimo 2019-11-22 18:56:36 +01:00
ByteHamster 201bb0fe91 Bumped minimum API version to 16 2019-11-22 18:50:32 +01:00
H. Lehmann a5ee83f373
Merge pull request #3629 from ByteHamster/streaming-icon
Updated streaming icon
2019-11-21 15:46:08 +01:00
H. Lehmann 275d608711
Merge pull request #3631 from ByteHamster/fix-sleep-timer
Stop listening to shake events and reset volume if sleep timer is reset
2019-11-21 14:16:16 +01:00
H. Lehmann 7fd8aa8503
Merge pull request #3630 from ByteHamster/podcast-settings-icon
Added icons to podcast settings
2019-11-21 14:13:10 +01:00
H. Lehmann 6c0f773188
Merge pull request #3628 from ByteHamster/explicitly-set-streaming
Explicitly set default download/streaming value for existing users
2019-11-21 14:08:50 +01:00