Commit graph

2415 commits

Author SHA1 Message Date
Tobias Groza
bfdc215c65
Merge pull request #4155 from avently/gestures-interception
Skipping interception of some gestures
2020-09-01 16:51:34 +02:00
Tobias Groza
8d2ec30818
Merge pull request #4120 from mhmdanas/replace-SubtitlesStream-getURL-with-getUrl
Use SubtitlesStream#getUrl instead of getURL
2020-08-26 22:15:44 +02:00
mhmdanas
e5ffddfc6b Use SubtitlesStream#getUrl instead of getURL 2020-08-26 23:04:18 +03:00
polymorphicshade
7db26f3721 SponsorBlock: Fixed button from being cut off on smaller screens
Adjusted the layout of the secondary buttons in the player. This should (hopefully) make all the buttons accessible on smaller screens. Also gave the SponsorBlock icons some padding to look a little better. Also renamed some string resources.
2020-08-25 18:45:30 -06:00
polymorphicshade
4f417b5b7c SponsorBlock: "exclusion" to "whitelist"
Changed wording, and some other things I forgot do to earlier...
2020-08-24 11:28:53 -06:00
polymorphicshade
983078168c SponsorBlock: Forgot another pesky null check... 2020-08-23 15:28:21 -06:00
polymorphicshade
4bfd2b0bd5 SponsorBlock: Made some strings translatable
I forgot to make these translatable...
2020-08-23 15:21:38 -06:00
polymorphicshade
4cadf54bc2 SponsorBlock: Added exclusion list feature
Added the ability to add uploaders to a persistent exclusion list by long-pressing the SponsorBlock icon. Segments won't be skipped, but they will still be marked.
2020-08-23 15:03:48 -06:00
polymorphicshade
dfb94a2503 SponsorBlock: One more blockSponsorsButton null check 2020-08-21 09:03:16 -06:00
polymorphicshade
e18579b016 SponsorBlock: Added some null checks for the blockSponsorsButton
In case it's null for whatever reason...
2020-08-20 22:37:45 -06:00
polymorphicshade
2da3dead0d SponsorBlock: Made string resource names consistent
Renamed "sponsorblock" to "sponsor_block" where applicable. Also cleaned up some related debug logging.
2020-08-19 15:23:41 -06:00
polymorphicshade
bf78cbb63e SponsorBlock: Improved enable/disable icons
Re-did the enable/disable icons to be cleaner and their behavior more understandable (w/ toast). Made icons more consistent with others (black, white, actually 24dp).
2020-08-19 09:36:23 -06:00
TobiGr
552d585fca Extract common part from if 2020-08-18 13:28:13 +02:00
Avently
24c24d6c72 Skipping interception of some gestures 2020-08-17 20:42:05 +03:00
wb9688
b7f50c3e12
Merge pull request #4080 from avently/cpu-usage-improvement
Reduced CPU usage when playing a video by 7-10%
2020-08-17 09:46:07 +02:00
polymorphicshade
76c649ada0 SponsorBlock: Changed how MarkableSeekBar draws markers.
These changes should fix issues on different screen densities. Also removed unnecessary "segment" verbiage from toast notification strings.
2020-08-16 21:00:18 -06:00
Avently
aed1687a45 Improved an animation logic 2020-08-16 22:44:27 +03:00
polymorphicshade
f7575da5a5 SponsorBlock: Merge branch 'dev' into sponsorblock 2020-08-16 11:19:29 -06:00
nmurali94
daa427dc15 Restore license pop up after orientation change 2020-08-16 12:23:40 +02:00
Tobias Groza
e9d4303fdb
Merge pull request #4134 from avently/bottom-space
Set bottom padding of the main fragment when the mini player is visible
2020-08-16 12:15:08 +02:00
Tobias Groza
5485e994ee
Merge pull request #4138 from XiangRongLin/checkstyle_final
Add checkstyle rule to show final local variable violations as warning
2020-08-16 11:55:46 +02:00
wb9688
87228673b4 Use final where possible 2020-08-16 10:25:09 +02:00
Stypox
e08480f345
Completely remove old player notification 2020-08-15 22:03:32 +02:00
Avently
d3d65c8e3a Set bottom padding of the main fragment when the mini player is visible 2020-08-15 20:51:52 +03:00
Stypox
12ac5ef781
[regression] Close player in onPlaybackShutdown() 2020-08-15 15:58:25 +02:00
Stypox
adef9a8acf
Rename notification functions: they are not background player only 2020-08-15 15:16:17 +02:00
nmurali94
04bb070afa Remove timestamp when sharing a live stream 2020-08-12 09:54:35 -04:00
polymorphicshade
9e66a8656b SponsorBlock: Added button to player that enables/disables segment skipping for the current video 2020-08-06 17:06:44 -06:00
polymorphicshade
8a1e474b6f SponsorBlock: Improved category settings screen UX
Added color previews and Reset Colors option in the category settings screen. Changed segment skipping toast message to reflect the type of segment skipped. Also some more setting string refactoring.
2020-08-05 17:26:39 -06:00
Avently
d7574973e9 Reduced CPU usage when playing a video by 7-10% 2020-08-05 12:46:25 +03:00
polymorphicshade
a029c0ef9e SponsorBlock: Added segment categories
Added category preferences with customizable colors. Also did some related preference/strings refactoring and updated the API calls to SponsorBlock to no longer use legacy versions.
2020-08-04 17:56:21 -06:00
polymorphicshade
ed831376ff SponsorBlock: Merge branch 'dev' into sponsorblock 2020-08-04 01:04:40 -06:00
Tobias Groza
eb2f75579a
Merge pull request #3892 from wb9688/fix-local-playlist-tab
Fix crash when opening video in local playlist tab
2020-08-03 15:49:06 +02:00
wb9688
5fd7ae33b4 Replace getFragmentManager() with getFM() 2020-08-03 14:47:10 +02:00
wb9688
13a065f2dc Fix crash when opening video in local playlist tab 2020-08-03 14:47:10 +02:00
Avently
45408caf33 Removed java.util.Objects calls 2020-08-03 03:33:51 +03:00
polymorphicshade
b407ae4824 SponsorBlock: Made entering the API Url more user-friendly
Added a custom preference to make the dialog easier to use (if a bit janky). Also did some related string refactoring.
2020-08-02 17:40:26 -06:00
Stypox
963ee4dbab
Merge branch 'dev' into pr3178 2020-08-02 22:59:43 +02:00
polymorphicshade
639c238d3f SponsorBlock: Merge branch 'dev' into sponsorblock 2020-08-01 14:47:02 -06:00
Tobias Groza
d8b5549fd9
Merge pull request #2907 from avently/unifiedplayer
Expandable player with unified UI
2020-08-01 12:53:19 +02:00
wb9688
6de03f2bf0 Fix crash when playing stream in background with shuffle in notification 2020-07-31 09:25:32 +02:00
wb9688
caf7c55069 Log only in debug build 2020-07-31 09:10:28 +02:00
wb9688
7d499ffba1 Use vector drawables for close and replay 2020-07-31 09:10:28 +02:00
cool-student
4abf6b2f5c Notification Improvements
- add MediaStyle notifications for Background and Popup playback
- reduce excessive notification updating ( / recreating of Notification.Builder object) when playing background / popup media
- add new buffering state indicator (can be disabled)
- upscale close icon / downscale replay icon
- add notification slot settings
- move notification settings to appearance
- fix Metadata (song title, artist and album art) sometimes not being set correctly
- other misc notification fixes

Co-authored-by: wb9688 <wb9688@users.noreply.github.com>
2020-07-31 09:10:28 +02:00
Stypox
04e7d13043
Remove deprecated calls to set Sender class to ACRA
setReportSenderFactoryClasses() is deprecated, now extensions (ReportSenderFactory is an extension) should be registered using AutoService: https://github.com/ACRA/acra/wiki/Custom-Extensions#by-annotation
2020-07-29 10:56:33 +02:00
Avently
e41218c46b Disable starting player service via media button when there is nothing to play (no active play queue) 2020-07-28 21:36:06 +03:00
polymorphicshade
f0b029df06 SponsorBlock: Now requires the API url to be set
Added/rearranged/renamed some SponsorBlock settings. Now the API Url setting must be set for SponsorBlock to work.
2020-07-28 11:37:41 -06:00
polymorphicshade
41479dc37c SponsorBlock: Changed normal app notification to be a simple toast notification 2020-07-28 11:37:41 -06:00
polymorphicshade
abf9df36ad SponsorBlock: Added the ability to customize the server url
A setting was added to allow the user to change the base SponsorBlock API server url.
2020-07-28 11:37:40 -06:00
Atemu
fea9cbd34e SponsorBlock: Add link to privacy policy
Using the SponsorBlock has a slight privacy implication which the user should be
able to inform themself on.
2020-07-28 11:37:40 -06:00