Commit graph

6457 commits

Author SHA1 Message Date
Avently
883e4fcd7c Small fixes of issues with old devices support, brightness, etc 2020-09-11 20:52:38 +03:00
Stypox
2017e6a3e3
Refactor MediaSessionManager 2020-09-10 20:36:52 +02:00
Stypox
bccfe500b3
Fix seekbar invisible or not updating
Have the notification recreate only when strictly necessary, and recreate it if there was a timeline change, fixing the seekbar not updating at all sometimes
2020-09-10 20:22:22 +02:00
Stypox
5846fbabce
Change "image" to "thumbnail" 2020-09-10 19:47:07 +02:00
Stypox
52e89c1d1c
Prevent seeking out of video duration in player 2020-09-10 19:47:02 +02:00
Stypox
1605e50cef
Update notification when play queue is edited 2020-09-10 13:36:34 +02:00
Stypox
2215ce58a4
Merge pull request #3794 from budde25/download-same-file-crash
Fixes crash when a file is deleted then redownloaded
2020-09-09 15:41:06 +02:00
Stypox
a13e6b69e3
Merge branch 'dev' into pr3178 2020-09-08 23:58:10 +02:00
Stjepan
1d6370e11c
Translated using Weblate (Croatian)
Currently translated at 86.9% (508 of 584 strings)
2020-09-08 23:19:45 +02:00
Stypox
bd34c7ede3
Make player foreground playback-specific in manifest 2020-09-08 22:00:28 +02:00
Stypox
bc8954fbba
Fix notification content intent not being updated when needed 2020-09-08 22:00:28 +02:00
Stypox
9cf0bc6c82
Make notification creation and cancelling more consistent 2020-09-08 22:00:28 +02:00
Stypox
71b32fe641
Add notification costumization settings menu 2020-09-08 22:00:24 +02:00
Stypox
530f745e44
Merge pull request #4154 from avently/video-placement
Prevent jumping of the player and wrong padding on devices with cutout
2020-09-08 19:47:09 +02:00
opusforlife2
a5a2313851
Use new string for auto-queue toggle 2020-09-08 10:44:58 +00:00
opusforlife2
4e98c2e7f6
Add string for auto queue toggle 2020-09-08 10:43:11 +00:00
Avently
31814b70da Disabled preloading when switching streams 2020-09-07 19:34:10 +03:00
Stypox
408e819d32
Extract duplicate setActivityTitle code to own function 2020-09-07 15:28:38 +02:00
Antony
622676f9bc
Translated using Weblate (Greek)
Currently translated at 85.2% (498 of 584 strings)
2020-09-07 11:36:12 +02:00
Stypox
5b631e0387
Revert to deprecated BEHAVIOR_SET_USER_VISIBLE_HINT in TabAdapter
Also added comment explaining why
2020-09-06 14:02:25 +02:00
TacoTheDank
06d54ef77e
Clean up SDK version checks 2020-09-06 12:55:30 +02:00
TacoTheDank
6c5ef567ed
Replace deprecated Html#fromHtml with HtmlCompat#fromHtml 2020-09-06 12:55:30 +02:00
TacoTheDank
f86b40302d
Some general-purpose lint cleanup 2020-09-06 12:55:26 +02:00
TacoTheDank
273c287fbf
Fix some lambdas 2020-09-06 12:52:43 +02:00
TacoTheDank
6cb16be5df
Use enhanced 'for' loops 2020-09-06 12:52:43 +02:00
TacoTheDank
a4feb3fc09
Fix some deprecations 2020-09-06 12:52:43 +02:00
TacoTheDank
ba6c7de35a
Use AndroidX preference 2020-09-06 12:52:42 +02:00
TacoTheDank
79e2bb382f
Update ExoPlayer, OkHttp, use Kotlin JDK8 2020-09-06 12:48:35 +02:00
polymorphicshade
0e810e9a7b SponsorBlock: Fixed infinite skip loop
Fixed an issue where having "Use fast inexact seek" enabled causes an infinite segment skip loop.
2020-09-05 22:53:22 -06:00
polymorphicshade
844dc53220 SponsorBlock: Fixed rounding issue when marking segments 2020-09-05 22:25:02 -06:00
polymorphicshade
62b109171c SponsorBlock: Merge branch 'dev' into sponsorblock 2020-09-05 22:13:36 -06:00
pitachips
0090256ded
Translated using Weblate (Korean)
Currently translated at 87.3% (510 of 584 strings)
2020-09-05 22:36:11 +02:00
TobiGr
00ce077758
Translated using Weblate (Korean)
Currently translated at 87.3% (510 of 584 strings)
2020-09-05 22:36:11 +02:00
Stypox
a801d0994f
Merge pull request #4223 from avently/small-fixes
Small fixes of issues with brightness, background playback, gestures
2020-09-05 20:51:37 +02:00
Stypox
628575dc5f
Clean up MediaSessionManager 2020-09-04 18:44:09 +02:00
Avently
0a22f21410 Small fixes of issues with brightness, background playback, gestures 2020-09-04 05:39:55 +03:00
Stypox
97ff9e9c5b
Merge branch 'dev' into pr3178 2020-09-03 21:56:48 +02:00
Stypox
8b3a09306b
Various notification code improvements
Improve builder parameters
Reorder code and extract large icon function
service.startForeground() now is also provided with service type in android versions >= Q
2020-09-03 21:54:31 +02:00
Stypox
7766fd13fd
Extract hardcoded strings into strings.xml and improve them 2020-09-03 21:54:31 +02:00
Stypox
c79997ebe3
Show hourglass icon when buffering 2020-09-03 21:54:28 +02:00
vmazoyer
99442b6e04
Remember last selected media type for downloads. 2020-09-03 19:47:34 +02:00
Avently
b8a35e9e4a Moved device-specific code into DeviceUtils 2020-09-03 15:48:17 +03:00
Avently
e833d415e3 Fixed wrong padding on devices with cutout on vertical videos 2020-09-03 15:48:17 +03:00
Avently
8030312924 Prevent jumping of the player on devices with cutout 2020-09-03 15:48:17 +03:00
Stypox
a84b54f940
Merge pull request #4127 from nmurali94/bugfix-keep-license-on-rotate
Restore license pop-up when orientation changes
2020-09-02 16:28:43 +02:00
TobiGr
c66c81294e Remove unused and redundant code. 2020-09-01 17:39:06 +02:00
Tobias Groza
bfdc215c65
Merge pull request #4155 from avently/gestures-interception
Skipping interception of some gestures
2020-09-01 16:51:34 +02:00
Kahina Messaoudi
e10c7beedb
Translated using Weblate (Kabyle)
Currently translated at 31.8% (186 of 584 strings)
2020-08-29 00:15:27 +02:00
zeritti
18c3286364
Translated using Weblate (Czech)
Currently translated at 100.0% (584 of 584 strings)
2020-08-29 00:15:27 +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
Hakim Oubouali
59fc1e4b5f
Translated using Weblate (Berber)
Currently translated at 24.3% (142 of 584 strings)
2020-08-26 18:13:49 +02: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
ssantos
7ead581953
Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (584 of 584 strings)
2020-08-22 10:36:37 +02:00
Ivo Andonov
b860980df4
Translated using Weblate (Bulgarian)
Currently translated at 65.2% (381 of 584 strings)
2020-08-22 10:36:37 +02:00
Kim Nyberg
97a366d62e
Translated using Weblate (Swedish)
Currently translated at 99.3% (580 of 584 strings)
2020-08-22 10:36:36 +02:00
ssantos
9ad68097d0
Translated using Weblate (Portuguese)
Currently translated at 100.0% (584 of 584 strings)
2020-08-22 10:36:36 +02: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
472089eb8f SponsorBlock: Tweaked category title text 2020-08-19 20:26:21 -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
Luna Jernberg
6519d7051d
Translated using Weblate (Swedish)
Currently translated at 99.1% (579 of 584 strings)
2020-08-19 14:33:14 +02: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
Hakim Oubouali
970b636eb4
Translated using Weblate (Berber)
Currently translated at 17.9% (105 of 584 strings)
2020-08-15 00:56:30 +02:00
ssantos
fcf9131aae
Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (584 of 584 strings)
2020-08-15 00:56:28 +02:00
sivemortenfan
7fd27fac45
Translated using Weblate (Malayalam)
Currently translated at 100.0% (584 of 584 strings)
2020-08-15 00:56:19 +02:00
Juraj Liso
6e17af91fb
Translated using Weblate (Czech)
Currently translated at 98.4% (575 of 584 strings)
2020-08-15 00:56:18 +02:00
Juraj Liso
68555573ad
Translated using Weblate (Slovak)
Currently translated at 97.9% (572 of 584 strings)
2020-08-15 00:56:18 +02:00
Hakim Oubouali
1e7504dc5a
Added translation using Weblate (Berber) 2020-08-14 10:14:05 +02:00
nmurali94
04bb070afa Remove timestamp when sharing a live stream 2020-08-12 09:54:35 -04:00
Sérgio Marques
e693d80857
Added translation using Weblate (Portuguese (Portugal)) 2020-08-12 01:30:16 +02:00
Allan Nordhøy
45ae05f1b5
Translated using Weblate (Norwegian Bokmål)
Currently translated at 88.3% (516 of 584 strings)
2020-08-11 13:32:55 +02:00
Allan Nordhøy
05a83beb44
Translated using Weblate (Norwegian Bokmål)
Currently translated at 88.1% (515 of 584 strings)
2020-08-10 10:32:51 +02:00
Tobias Groza
8a1a42e83b
Merge pull request #3948 from TobiGr/basic_resize
Add basic resize functionality
2020-08-08 21:34:12 +02:00
BenjaminForster
1b3f3cedb3
Translated using Weblate (Afrikaans)
Currently translated at 4.6% (27 of 584 strings)
2020-08-07 14:32:58 +02:00
TobiGr
f815ae5973
Translated using Weblate (Filipino)
Currently translated at 11.1% (65 of 584 strings)
2020-08-07 14:32:58 +02:00
David Rebolo Magariños
fb7035bf22
Translated using Weblate (Galician)
Currently translated at 100.0% (584 of 584 strings)
2020-08-07 14:32:57 +02:00
Deleted User
02bcbc3221
Translated using Weblate (Malay)
Currently translated at 72.0% (421 of 584 strings)
2020-08-07 14:32:54 +02:00
TobiGr
f0a51d4ab4
Translated using Weblate (Belarusian)
Currently translated at 77.7% (454 of 584 strings)
2020-08-07 14:32:53 +02:00
TobiGr
24fe8fe9a0
Translated using Weblate (Azerbaijani)
Currently translated at 10.2% (60 of 584 strings)
2020-08-07 14:32:53 +02:00
TobiGr
244e95d959
Translated using Weblate (Telugu)
Currently translated at 23.9% (140 of 584 strings)
2020-08-07 14:32:53 +02:00
Kim Nyberg
ad72c64e32
Translated using Weblate (Swedish)
Currently translated at 98.6% (576 of 584 strings)
2020-08-07 14:32:53 +02:00