Commit Graph

2891 Commits

Author SHA1 Message Date
ByteHamster a0813db189 Let test wait until database operation is completed 2021-06-05 18:57:23 +02:00
Mengshi24 b35eaa4fa5
Add a unit test under DbWriterTest.java (#5181) 2021-06-05 18:40:26 +02:00
ByteHamster 9976b6384f
Merge pull request #5165 from thrillfall/sync-position-on-pause
sync paused position on playback pause
2021-05-29 11:10:26 +02:00
Matthew Choi 3cfe588fdb
Added new test case for FeedItemUtil.java to test getIds() method (#5182) 2021-05-29 10:26:13 +02:00
gregoryjtom 426283109a
Add new test for Download Request equals (#5183) 2021-05-29 09:47:10 +02:00
ByteHamster ea47118a98 Merge branch 'master' into develop 2021-05-22 20:31:37 +02:00
thrillfall ffaa5b0045 sync paused position on playback pause 2021-05-17 23:18:34 +02:00
ByteHamster fcb75fc382
Merge pull request #5161 from ByteHamster/reduce-playback-controller
Remove some unnecessary code from playback controller
2021-05-14 21:22:22 +02:00
ueen 292c9bf151
New media player screen (#5075)
Co-authored-by: jonasburian <jonas.burian@protonmail.com>
Co-authored-by: ByteHamster <info@bytehamster.com>
2021-05-14 21:06:04 +02:00
ByteHamster f56ce1ea52 Just assume we can always set the playback speed
Our default ExoPlayer can always set the speed. All Android versions >23
also support it. So of the 2% of users with old devices, this only
affects the ones who manually selected another player.
2021-05-14 21:03:35 +02:00
ByteHamster 74dcf09b3b Removed method that is just used in one place 2021-05-14 20:38:46 +02:00
ByteHamster 390fb1a15b Use EventBus instead of broadcast for service shutdown 2021-05-14 20:26:57 +02:00
ByteHamster fb6bd0cbaa
Merge pull request #5160 from ByteHamster/disable-id3
Disable ExoPlayer id3 extraction
2021-05-13 19:11:21 +02:00
ByteHamster 93b2a07811 Disable ExoPlayer id3 extraction
Malformed audio files can cause a crash in ExoPlayer. We have our own
id3 extractor and don't use the data of ExoPlayer, so we can just
disable parsing in ExoPlayer. This reduces the number locations where
something can go wrong that prevents playback.
2021-05-13 18:17:23 +02:00
ByteHamster c72fd81886 Move common gradle setup to a single file
Original idea by @TacoTheDank
2021-05-11 22:38:46 +02:00
ByteHamster 65bf8bf70c
Merge pull request #5151 from ByteHamster/fix-proxy
Fixed proxy support
2021-05-10 23:11:59 +02:00
ByteHamster e521b85070 Fixed proxy support 2021-05-10 22:10:50 +02:00
ByteHamster be25ae7c67 Updated translations 2021-05-08 12:10:26 +02:00
ByteHamster 3c808c1393
Merge pull request #5146 from ByteHamster/future-date
Refuse to show future dates
2021-05-08 11:40:10 +02:00
ByteHamster 27d86cfb26 Refuse to show future dates
Some shows start to specify dates from the future to appear on top
of episode lists. If we find one of those episodes, just ignore that
it is there. We then use the date when we first found the item.
2021-05-06 21:31:05 +02:00
ByteHamster 78db02d7a7 Don't mark episodes as played when removing from queue
Was introduced in 67d2287323 but I
am not sure why. It is not really logical to do - removing from the
queue just means that one is no longer interested in the episode - not
that it was actually played.
2021-05-01 16:23:03 +02:00
ByteHamster 7bacb85367 Fix miniplayer sometimes showing old media file
Happens when pressing play on another episode without pausing the
previous one.
2021-05-01 11:00:31 +02:00
ByteHamster d08a9c423e
Merge download log+running lists (#5134) 2021-04-29 21:40:41 +02:00
ByteHamster e30533a810 Moved synchronization to its own module 2021-04-24 17:05:59 +02:00
peakvalleytech 04ff51bd67 New feed update interval or time dialog
Co-authored-by: Fivel Rangel <fivel10@hotmail.com>
Co-authored-by: ByteHamster <info@bytehamster.com>
2021-04-23 20:10:39 +02:00
ByteHamster ba66ae7633 Moved model to its own module 2021-04-22 23:17:11 +02:00
ByteHamster 2a47f49fde Remove dependency of FeedMedia to DbWriter 2021-04-22 22:27:39 +02:00
ByteHamster 09d402a945 Removed PlaybackPreferences dependency from FeedMedia 2021-04-22 22:19:02 +02:00
ByteHamster c04f36bb9f Decouple FeedMedia and PlaybackService 2021-04-22 22:08:05 +02:00
ByteHamster 762140bccd
Decouple FeedMedia and sync service (#5128) 2021-04-22 22:06:11 +02:00
ByteHamster 0081d232d0
Moved cursor related code out of model (#5126) 2021-04-22 22:04:20 +02:00
ByteHamster 0d49f39ea0 Reduce dependencies of model to UserPreferences 2021-04-22 21:17:52 +02:00
ByteHamster 74c8dc9c14 Moved notification icons to their own module, so they don't crash old Android versions 2021-04-21 23:05:47 +02:00
ByteHamster bd7793ffd4 Deleted duplicate resources 2021-04-21 23:05:42 +02:00
ByteHamster d51e9c7625 Use VectorDrawable compat library 2021-04-18 17:05:04 +02:00
ByteHamster 8d3e547a7b Fixed unused resources Lint errors
In the future, CI will complain when a PR leads to unused resources.
2021-04-17 17:59:03 +02:00
ByteHamster fcf918f304 Enabled Lint with dependency checking 2021-04-17 17:30:43 +02:00
ByteHamster 8768144c91 Don't handle play image resource in PlaybackController 2021-04-14 22:35:01 +02:00
ByteHamster 4caa5ebfb6 Updated translations 2021-04-13 21:54:10 +02:00
tamizh143 b8276d2fb3
Add filtering subscriptions based on new episodes notification setting (#5098) 2021-04-10 10:35:39 +02:00
tamizh143 d8ca965e0c
Add link to relevant settings screen in 'Episode cache full' dialog (#5088) 2021-04-06 22:52:39 +02:00
Tony Tam 79c79efce5
Parsing podcast:funding tag, showing payment, funding links on the show info screen (#4933) 2021-04-06 18:15:14 +02:00
ByteHamster ef41704166 Merge branch 'master' into develop 2021-04-04 19:31:59 +02:00
ByteHamster 3acdc83c66 Backport: Add missing synchronized keyword 2021-04-03 15:47:15 +02:00
peakvalleytech bb51e9ebd9
Add Contribute entry to settings screen under 'Project' (#5028) 2021-04-02 18:18:33 +02:00
ByteHamster 1d8d3203d4 Update play icon when service is stopped 2021-04-02 18:14:03 +02:00
ByteHamster d6e0799a21 Updated translations 2021-04-02 17:49:08 +02:00
ByteHamster 2df3cf9fe7 Rename audio player tabs 2021-04-02 17:14:01 +02:00
Tony Tam 843892e34f
Safer remain time - default to zero when the media duration is wrong (#5043) 2021-04-02 14:30:21 +02:00
ByteHamster ea4488c181 Fixed new SpotBugs violations after merging to develop 2021-03-28 22:57:48 +02:00