Commit Graph

2254 Commits

Author SHA1 Message Date
H. Lehmann 09927c060c
Merge pull request #3856 from ByteHamster/player-screen-update
Player screen design update
2020-02-13 20:42:56 +01:00
H. Lehmann b268390c21
Merge pull request #3848 from tonytamsf/fix-4xx-http-error
do not infinite download on 410, 400
2020-02-13 16:08:05 +01:00
H. Lehmann eec57362bf
Merge pull request #3860 from ByteHamster/fix-seeking-when-streaming
Fixed seeking when streaming
2020-02-13 14:02:19 +01:00
ByteHamster 5f9c70df0f Fixed seeking when streaming
Sometimes, `media` does not know the duration. `getDuration()` loads directly from the `PlaybackService`.
2020-02-13 13:47:32 +01:00
ByteHamster 3c6fd072e3 Added border to play button 2020-02-13 13:43:13 +01:00
ByteHamster b39dc02109 Merge remote-tracking branch 'upstream/develop' into player-screen-update 2020-02-13 12:42:26 +01:00
H. Lehmann f951d6362c
Merge pull request #3838 from ByteHamster/chapter-images
Support for chapter images
2020-02-13 12:38:53 +01:00
ByteHamster d0cc035950 Added support for opus files 2020-02-13 01:07:31 +01:00
ByteHamster 246a2e650c Reformatted vorbis reader for readability 2020-02-12 23:26:30 +01:00
H. Lehmann 93a4e8aeea
Merge pull request #3857 from ByteHamster/play-button-resolution
Replaced playback images with vector version
2020-02-12 23:16:31 +01:00
ByteHamster fe632a4f9f Fixed other square images 2020-02-12 18:57:15 +01:00
ByteHamster f9e97e878e Replaced images with vector version 2020-02-12 18:43:53 +01:00
ByteHamster ddfb4de9cf Load range only 2020-02-12 18:12:42 +01:00
ByteHamster d4948f91a1 Removed mime type 2020-02-12 17:35:09 +01:00
ByteHamster 419077043e Fixed Glide not caching chapter images 2020-02-12 17:31:27 +01:00
ByteHamster 312cb84598 Added ChapterImageModelLoader 2020-02-12 17:12:21 +01:00
ByteHamster 9497a97289 Store embedded chapter information 2020-02-12 17:12:21 +01:00
ByteHamster a980281d47 Added id3 chapter image reader 2020-02-12 17:12:21 +01:00
ByteHamster 5caaaa9e5a Initial database support for chapter images 2020-02-12 17:12:21 +01:00
ByteHamster 0485102797 Updated player screen appearance 2020-02-12 13:25:05 +01:00
ByteHamster f34430eb28 Increase blurred image size
Today's screens have a much better resolution than a few years ago when this code was created.
Use 1/3 of the target size of the image instead of a fixed size. The transformed image
is cached by Glide, so the transformation does not need to be done multiple times.

This way, the images look a lot better (because they are not stretched to be displayed).
2020-02-12 12:21:19 +01:00
H. Lehmann 25fbff6afd
Merge pull request #3827 from ByteHamster/extract-queue-item-view
Rewrite list item display
2020-02-12 11:09:11 +01:00
Tony Tam 3676644389 30dp buttons for notification / lock screen (play, fwd, rewind) buttons (#3840) 2020-02-10 09:32:18 +01:00
H. Lehmann d5c6b8a218
Merge pull request #3845 from ByteHamster/set-file-size-after-download
Set file size after downlaod
2020-02-09 13:53:42 +01:00
Tony Tam 332c4657e5 do not infinite download on 410, 400 2020-02-08 19:13:07 -08:00
ByteHamster ca4e5500f6 Set file size after downlaod
Fixes media size being unknown even if item is downloaded
2020-02-08 00:32:52 +01:00
ByteHamster aa48cdb14c Do not return true in handleKeycode if nothing was done 2020-02-08 00:12:33 +01:00
ByteHamster 7ec9b00e8b Updated running downloads list 2020-02-06 22:51:58 +01:00
ByteHamster 24a51062e0 Updated download log list 2020-02-06 12:49:13 +01:00
ByteHamster 2e6fc7a0a5 Using unified item view in search fragment 2020-02-05 18:18:10 +01:00
ByteHamster d74b8d06b2 Merge branch 'develop' into extract-queue-item-view 2020-02-05 16:51:59 +01:00
ByteHamster c3e1f8afbb Made a bit more space 2020-02-05 16:43:41 +01:00
ByteHamster f790b78b1a Merge branch 'master' into develop 2020-02-05 13:10:04 +01:00
H. Lehmann 634c98317f
Merge pull request #3830 from ByteHamster/search-podcasts
Improved search function
2020-02-05 11:52:57 +01:00
ByteHamster 3ca6be8b04 Increase touchable area 2020-02-05 11:39:28 +01:00
ByteHamster f3cbaee61b Replaced eye icon with video cam 2020-02-05 10:07:01 +01:00
ByteHamster 3be4f80a5c Removed search strings 2020-02-05 09:55:55 +01:00
ByteHamster f4cfe7bdca Do not search in chapters
This speeds up searching a LOT. I hope that most podcasts use good descriptions
and we do not need to search for chapters. Podcasts outside of Germany use chapters
only very infrequently.
2020-02-05 09:51:32 +01:00
H. Lehmann 8036498484
Merge pull request #3787 from ByteHamster/splash-for-all-screens
Display splash for all screens
2020-02-05 00:54:44 +01:00
H. Lehmann 3f85413b8d
Merge pull request #3831 from ByteHamster/verify-database
Verify database version before import
2020-02-05 00:51:26 +01:00
ByteHamster 75e0d2d7e1 Verify database version before import 2020-02-05 00:35:48 +01:00
ByteHamster 8d23571bba Search for feeds separately 2020-02-05 00:06:32 +01:00
ByteHamster 50dd85276c Fixed search returning duplicates 2020-02-04 23:50:38 +01:00
ByteHamster cb702a2de6 Cleaned up layout 2020-02-04 22:46:13 +01:00
Keunes 12288d01a5
Update strings.xml
With the removal of the subheading (#3811), it isn't clear anymore when AP will vibrate. This will clarify the function/checkbox.
2020-02-04 22:18:04 +01:00
H. Lehmann 9c1232532c
Merge pull request #3825 from ByteHamster/do-not-linkify-duration
Do not linkify shownotes duration
2020-02-04 15:14:49 +01:00
ByteHamster cae04b5b13 Extract queue item holder to new class
First step to use a single item holder in the future
2020-02-04 14:53:52 +01:00
ByteHamster 6a0542ca1f Moved css to readable file instead of variable 2020-02-04 00:02:19 +01:00
ByteHamster c524d20cc9 Do not add timecode link if timecode equals duration 2020-02-04 00:02:15 +01:00
H. Lehmann 7e2fd0b1d7
Merge pull request #3820 from ByteHamster/checkstyle
Enforce more checkstyle rules
2020-02-03 23:17:58 +01:00
H. Lehmann da890bba52
Merge pull request #3819 from ByteHamster/notify-default-playback-speed
Update speed when changing feed defaults
2020-02-03 11:15:36 +01:00
ByteHamster 719af170a7 Enforce SeparatorWrap 2020-02-02 18:42:10 +01:00
ByteHamster b656cb91a2 Enforce MethodParamPad 2020-02-02 18:42:06 +01:00
ByteHamster 8f08bd1f6d Enforce method names 2020-02-02 17:48:30 +01:00
ByteHamster b2fb239853 Enforce valid javadoc 2020-02-02 17:48:30 +01:00
ByteHamster 998a17a852 Update speed when changing feed defaults 2020-02-02 17:09:25 +01:00
H. Lehmann 4a4bbe16a6
Merge pull request #3818 from ByteHamster/fix-link-crash
Fixed crash when tapping external link in shownotes
2020-02-02 11:46:04 +01:00
ByteHamster 05b4945233 Fixed crash when tapping external link in shownotes 2020-02-02 10:50:16 +01:00
H. Lehmann c16385743c
Merge pull request #3814 from ByteHamster/clean-up-statistics
Clean up statistics
2020-02-02 10:04:12 +01:00
ByteHamster 42313f5cea Removed unused code 2020-02-01 19:24:19 +01:00
ByteHamster edef730bd4 Clean up statistics
Removed unused `StatisticsData` wrapper class and extracted `StatisticsItem` to new class
2020-02-01 19:20:17 +01:00
ByteHamster c174b3dcc1 Updated translations 2020-02-01 18:28:58 +01:00
H. Lehmann 63290ae762
Merge pull request #3813 from ByteHamster/shownotes-webview
ShownotesWebView improvements
2020-02-01 18:18:38 +01:00
ByteHamster 8356226e97 Always allow clicking timecodes 2020-02-01 18:02:19 +01:00
H. Lehmann f5a30f6eed
Merge pull request #3811 from ByteHamster/sleep-timer-ui
Updated sleep timer UI
2020-02-01 11:05:04 +01:00
ByteHamster 17444d9a3c Updated sleep timer UI 2020-02-01 10:50:44 +01:00
ByteHamster 29bc5109a6 Do not restart sleep timer when automatically playing next episode 2020-01-31 16:37:42 +01:00
ByteHamster bb8a7a2ac0 Removed OPML import activity with only one button 2020-01-29 11:08:11 +01:00
ByteHamster 639c586a80 Cleanup 2020-01-29 11:08:11 +01:00
ByteHamster 8ecbe95e16 Moved database import/export to settings 2020-01-29 11:08:06 +01:00
ByteHamster 0c7dd3cc24 Added summaries 2020-01-29 11:04:08 +01:00
ByteHamster 2311c756ae Updated html export design 2020-01-27 18:42:00 +01:00
ByteHamster 5e84229918 Enable PiP by default 2020-01-27 09:09:14 +01:00
H. Lehmann 8dd595e0e8
Merge pull request #3248 from maxbechtold/feat/simple-adjust-volume-per-feed
Feat/simple adjust volume per feed
2020-01-26 17:08:50 +01:00
ByteHamster 116125f721 Display splash for all screens 2020-01-26 13:44:30 +01:00
ByteHamster 964a519b8c Always mock full feedMedia 2020-01-25 23:18:56 +01:00
ByteHamster e09fae22a2 Fix volume adaption while paused 2020-01-25 22:53:26 +01:00
ByteHamster 190b54ad70 Converted to EventBus instead of broadcast 2020-01-25 22:52:00 +01:00
ByteHamster e2ec07f607 Database upgrade 2020-01-25 22:35:18 +01:00
H. Lehmann c8a05a83f9
Merge pull request #3782 from ByteHamster/seek-reliability
Make seeking more reliable
2020-01-25 22:22:47 +01:00
ByteHamster 3913ff8c45 Make seeking more reliable 2020-01-25 14:32:46 +01:00
H. Lehmann d3964dac74
Merge pull request #3690 from ByteHamster/more-forgiving-duplicate-detection
More forgiving duplicate detection
2020-01-20 16:29:41 +01:00
ByteHamster ac0cb04154 More forgiving duplicate detection 2020-01-20 15:39:00 +01:00
ByteHamster b4b46fb4d8 Fix playback button
Steps to reproduce:
- Play
- Pause
- Close AudioPlayerActivity
- Open AudioPlayerActivity
- Tap speed button
- Always sets to the one after 1.0
2020-01-20 15:33:31 +01:00
ByteHamster 7702c9ee8c Convert playback speeds to float
Advantage: When setting the speed to a value that is not available for the button
using the audio controls dialog, we no longer jump to the lowest value. Instead,
we jump to the next bigger one.
2020-01-20 15:33:24 +01:00
J.P.Klippel 7930d62bc0 changed mentions of 'feed' to 'podcast' 2020-01-19 11:07:14 +01:00
ByteHamster 8d0e89b255 Pulled translations 2020-01-16 00:23:11 +01:00
H. Lehmann 2f0c627b15
Merge pull request #3523 from wseemann/develop
Show storage size of downloaded episodes
2020-01-12 09:52:04 +01:00
William Seemann 6817c00491 Show storage size of downloaded episodes 2020-01-12 09:35:21 +01:00
ByteHamster 352078eeeb Do not create new httpclient for each download
This is a memory leak and can cause crashes on some devices
2020-01-11 17:28:26 +01:00
H. Lehmann 2c45c4cd10
Merge pull request #3743 from txtd/mark-as-played
Show "mark as read" rather than "mark as play" in case item has no media
2020-01-11 12:47:22 +01:00
txtd ce659f5cb2 Show mark as read rather than mark as played in case item has no media 2020-01-11 11:26:34 +01:00
Tony Tam 970cdd9905 Add summary to main settings/preferences screen (#3745) 2020-01-09 22:28:53 +01:00
H. Lehmann b3f76e333b
Merge pull request #3711 from ByteHamster/load-more-new-episodes
Added paged loading to 'new episodes' list
2020-01-09 20:59:19 +01:00
H. Lehmann 5975f579d4
Merge pull request #3719 from ByteHamster/removed-unused-code
Removed unused code
2020-01-09 20:56:11 +01:00
ByteHamster 128f80fe55 Added paged loading to 'new episodes' list 2020-01-09 20:41:50 +01:00
H. Lehmann cd0a69ef63
Merge pull request #3715 from ByteHamster/speed-up-search
Increased search performance
2020-01-09 17:27:48 +01:00
ByteHamster 2d93af6707 Use Google Trust provider 2020-01-07 12:17:08 +01:00
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 44bb7d53a2 Removed custom ArrayList implementation that was only used in one location 2020-01-02 18:34:46 +01:00