Commit Graph

5907 Commits

Author SHA1 Message Date
wb9688 ff7344438b Optimize imports 2020-05-01 20:13:01 +02:00
wb9688 f5f8e5d279 Add Ktlint 2020-05-01 20:09:52 +02:00
Theophine Savio Theodore e556c8ee15
Translated using Weblate (Malayalam)
Currently translated at 100.0% (573 of 573 strings)
2020-04-30 02:16:11 +02:00
Anxhelo Lushka 2f9a0b3376
Translated using Weblate (Albanian)
Currently translated at 100.0% (573 of 573 strings)
2020-04-30 02:16:06 +02:00
Isak Holmström 828f07b401
Translated using Weblate (Swedish)
Currently translated at 85.8% (492 of 573 strings)
2020-04-30 02:16:06 +02:00
Isak Holmström 36921b3426
Translated using Weblate (Swedish)
Currently translated at 85.8% (492 of 573 strings)
2020-04-30 02:16:06 +02:00
Edoardo Regni 3988c6491c
Translated using Weblate (Dutch)
Currently translated at 100.0% (573 of 573 strings)
2020-04-30 02:16:05 +02:00
Igor Nedoboy 2cf558ec05
Translated using Weblate (Russian)
Currently translated at 100.0% (573 of 573 strings)
2020-04-29 21:53:56 +02:00
Anonymous 6fbadbdd94
Translated using Weblate (Dutch)
Currently translated at 100.0% (573 of 573 strings)
2020-04-29 16:06:40 +02:00
Edoardo Regni faa1d7effb
Translated using Weblate (Dutch)
Currently translated at 100.0% (573 of 573 strings)
2020-04-29 16:06:40 +02:00
Anonymous fe73a708d4
Translated using Weblate (Dutch)
Currently translated at 100.0% (573 of 573 strings)
2020-04-29 16:00:05 +02:00
Edoardo Regni a5ca262faa
Translated using Weblate (Dutch)
Currently translated at 100.0% (573 of 573 strings)
2020-04-29 16:00:05 +02:00
wb9688 8ebb1e29fa Allow time ago debug setting translation 2020-04-29 14:47:06 +02:00
Igor Nedoboy 1b44dc9522
Translated using Weblate (Russian)
Currently translated at 100.0% (573 of 573 strings)
2020-04-28 21:43:06 +02:00
Theophine Savio Theodore a66d468dc2
Translated using Weblate (Malayalam)
Currently translated at 81.5% (467 of 573 strings)
2020-04-28 05:27:35 +02:00
Igor Nedoboy ca8beafc2d
Translated using Weblate (Russian)
Currently translated at 100.0% (573 of 573 strings)
2020-04-27 19:08:53 +02:00
Igor Nedoboy 639c589a4a
Translated using Weblate (Russian)
Currently translated at 99.3% (569 of 573 strings)
2020-04-27 18:53:59 +02:00
Hosted Weblate cd66836218
Merge branch 'origin/dev' into Weblate. 2020-04-27 16:26:09 +02:00
Rex_sa 98662baa26
Translated using Weblate (Arabic)
Currently translated at 100.0% (573 of 573 strings)
2020-04-27 16:26:09 +02:00
Theophine Savio Theodore 004e5794e3
Added translation using Weblate (Malayalam) 2020-04-27 16:26:05 +02:00
Tobias Groza f4f4f062cf
Merge pull request #3495 from Stypox/fix-rotation
Fix rotation
2020-04-27 09:18:08 +02:00
Stypox d8d9c7e171
Fix crashes on rotation by checking for `null` 2020-04-27 09:01:24 +02:00
Hosted Weblate ceff82732e
Merge branch 'origin/dev' into Weblate. 2020-04-26 20:43:27 +02:00
Anxhelo Lushka d94b1708a9
Translated using Weblate (Albanian)
Currently translated at 100.0% (573 of 573 strings)
2020-04-26 20:43:27 +02:00
MohammedSR Vevo 46e1f16012
Translated using Weblate (Kurdish)
Currently translated at 99.8% (572 of 573 strings)
2020-04-26 20:43:27 +02:00
Milo Ivir bbd014d409
Translated using Weblate (Croatian)
Currently translated at 88.1% (505 of 573 strings)
2020-04-26 20:43:26 +02:00
Jeff Huang d553ee7c60
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (573 of 573 strings)
2020-04-26 20:43:26 +02:00
WaldiS 2df6ab240d
Translated using Weblate (Polish)
Currently translated at 100.0% (573 of 573 strings)
2020-04-26 20:43:26 +02:00
Emin Tufan Çetin 8a2b9dfd6a
Translated using Weblate (Turkish)
Currently translated at 100.0% (573 of 573 strings)
2020-04-26 20:43:26 +02:00
Иван 1f7892d7a9
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (573 of 573 strings)
2020-04-26 20:43:25 +02:00
vkhomenk d11c537bea
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (573 of 573 strings)
2020-04-26 20:43:25 +02:00
winqooq 2d4d237009
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (573 of 573 strings)
2020-04-26 20:43:25 +02:00
zeritti daeee6b616
Translated using Weblate (Czech)
Currently translated at 100.0% (573 of 573 strings)
2020-04-26 20:43:24 +02:00
StarFang208 eacb0b13b2
Translated using Weblate (Italian)
Currently translated at 100.0% (573 of 573 strings)
2020-04-26 20:43:23 +02:00
Igor Nedoboy dc5748059a
Translated using Weblate (Russian)
Currently translated at 100.0% (573 of 573 strings)
2020-04-26 20:43:23 +02:00
JoC 96d75f4bcb
Translated using Weblate (Spanish)
Currently translated at 100.0% (573 of 573 strings)
2020-04-26 20:43:23 +02:00
winqooq 19bfdf3f9f
Translated using Weblate (Russian)
Currently translated at 100.0% (573 of 573 strings)
2020-04-26 20:43:20 +02:00
Vincent Nagel 72c9845174 removed unnecessary method call 2020-04-25 21:39:53 -05:00
bopol 77597b329e store isTv value to prevent calculating it again and again 2020-04-26 00:36:45 +02:00
bopol f62f00b4ad Fix crash on Android 4.4 and surely other sdk versions 2020-04-25 23:38:34 +02:00
bopol 00262b4a49 Better detection of TV devices
Some devices were not detected as TV even though they are
2020-04-25 12:04:44 +02:00
Mitosagi d65552b59f
Translated using Weblate (Japanese)
Currently translated at 100.0% (573 of 573 strings)
2020-04-25 02:11:37 +02:00
Florian 3755f48bce
Translated using Weblate (French)
Currently translated at 100.0% (573 of 573 strings)
2020-04-25 02:11:36 +02:00
Anonymous 8fe75d2015
Translated using Weblate (French)
Currently translated at 100.0% (573 of 573 strings)
2020-04-25 02:11:36 +02:00
Lucas Araujo 17685f3d86
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (573 of 573 strings)
2020-04-24 17:04:09 +02:00
Anonymous 30f1c71569
Translated using Weblate (Indonesian)
Currently translated at 99.8% (572 of 573 strings)
2020-04-24 17:04:09 +02:00
zmni 137afba1b6
Translated using Weblate (Indonesian)
Currently translated at 99.8% (572 of 573 strings)
2020-04-24 17:04:09 +02:00
AioiLight b27de5cac1
Translated using Weblate (Japanese)
Currently translated at 100.0% (573 of 573 strings)
2020-04-24 17:04:08 +02:00
nautilusx 8d43ae9805
Translated using Weblate (German)
Currently translated at 100.0% (573 of 573 strings)
2020-04-24 17:04:08 +02:00
Yaron Shahrabani 3cebb028f4
Translated using Weblate (Hebrew)
Currently translated at 100.0% (573 of 573 strings)
2020-04-24 11:39:27 +02:00
Hosted Weblate 28ab9d3515
Merge branch 'origin/dev' into Weblate. 2020-04-24 11:19:02 +02:00
Mladen Pejaković f7739309e8
Translated using Weblate (Serbian)
Currently translated at 42.1% (240 of 569 strings)
2020-04-24 11:19:00 +02:00
Stypox 2db0d63c97
Merge pull request #3065 from GradyClark/dev
Added the ability to remove all watched videos from a local playlist
2020-04-23 23:52:28 +02:00
Stypox 437b86d1a7
Use centralized CompositeDisposable instead of custom Disposable
Also do not show any dialog if the user is aready removing watched videos in a local playlist
2020-04-23 23:35:00 +02:00
TobiGr 5ba1df52e0 Add Achinese (ACE) to the language selector 2020-04-23 23:24:52 +02:00
TobiGr 04ab753b26 Merge pull request Android TV support #2806
Closes #2806
2020-04-23 22:33:20 +02:00
TobiGr 651cdec9b5 Fix button ripples in VideoDetailFragment 2020-04-22 22:35:41 +02:00
Hosted Weblate 346f9fbacd
Merge branch 'origin/dev' into Weblate. 2020-04-21 22:05:03 +02:00
Anxhelo Lushka 0f493ae808
Translated using Weblate (Albanian)
Currently translated at 100.0% (569 of 569 strings)
2020-04-21 22:05:03 +02:00
Igor Nedoboy a07f143759
Translated using Weblate (Russian)
Currently translated at 100.0% (569 of 569 strings)
2020-04-21 22:05:00 +02:00
Stypox 0ec22c7a6e
Fix pause button is not focused on player control activation 2020-04-21 09:25:09 +02:00
Grady Clark 73611004a0
Code cleanup, and best practices 2020-04-21 01:57:23 -05:00
Grady Clark 776ddddc83
fixed naming and formatting issues 2020-04-21 01:03:42 -05:00
Vincent Nagel f60cce54ea rename setting to "YouTube restricted mode" 2020-04-20 21:47:32 -05:00
Vincent Nagel 63087a4311 renamed to "restricted mode" 2020-04-20 21:46:40 -05:00
Vincent Nagel 5a193d50f6 remove duplicate line 2020-04-20 21:45:32 -05:00
Vincent Nagel 08a6e999b9 fix checkstyle errors 2020-04-20 21:45:32 -05:00
Vincent Nagel e33cdca1ef added logging when context null in onPrefTreeClick 2020-04-20 21:45:32 -05:00
Vincent Nagel 9ede7a3c42 setupTabs() if ageRestrictedContent pref changed 2020-04-20 21:45:32 -05:00
Vincent Nagel 430d4e1ccd ageRestrictedContent cookie only sent for youtube
Now the age restricted content cookie is only sent when sending a
request to youtube. There's no need to remove the cookie when the
service changes because whether to add the cookie is determined by
looking at the url the request is being sent to.
2020-04-20 21:45:32 -05:00
Vincent Nagel de4d6037d3 ageRestrictedContent first draft
Cookie updated whenever ageRestrictedContent setting is changed or
service is changed. Right now there is only a cookie for youtube, but
cookies for other services could be added in the future.

Problems with this approach: Even when the service is set to youtube,
the downloader doesn't only request youtube urls e.g. it also sends
reqeusts to i.ytimg.com, suggestqueries.google.com, and yt3.ggpht.com.
The ageRestrictedContent cookie is not normally sent when sending
requests to these other urls, so doing so might have unknown effects.
2020-04-20 21:45:32 -05:00
wb9688 0649b297f6 Run Checkstyle only on debug builds 2020-04-20 17:01:36 +02:00
Hosted Weblate 9a470b9d41
Merge branch 'origin/dev' into Weblate. 2020-04-20 14:46:28 +02:00
MohammedSR Vevo 47d1ab356d
Translated using Weblate (Kurdish)
Currently translated at 99.8% (568 of 569 strings)
2020-04-20 14:46:27 +02:00
WaldiS 1ea5787486
Translated using Weblate (Polish)
Currently translated at 100.0% (569 of 569 strings)
2020-04-20 14:46:27 +02:00
thami simo 1d4695c109
Translated using Weblate (Arabic)
Currently translated at 100.0% (569 of 569 strings)
2020-04-20 14:46:27 +02:00
Gontzal Manuel Pujana Onaindia b673f9dd7f
Translated using Weblate (Basque)
Currently translated at 100.0% (569 of 569 strings)
2020-04-20 14:46:27 +02:00
Bruno Guerreiro a1dd03472f
Translated using Weblate (Portuguese)
Currently translated at 100.0% (569 of 569 strings)
2020-04-20 14:46:26 +02:00
Anxhelo Lushka 497e545024
Translated using Weblate (Albanian)
Currently translated at 100.0% (569 of 569 strings)
2020-04-20 14:46:22 +02:00
wb9688 aa1cc32d17 Open comment author on TV at long press 2020-04-20 13:37:35 +02:00
bopol b22398ae6c use nanojson instead of org.json 2020-04-20 11:02:45 +02:00
Tobias Groza cd53518897
Merge pull request #3345 from mitosagi/error-with-bookmarks
Fix repeated exceptions in Bookmarked Playlists
2020-04-19 22:00:31 +02:00
wb9688 8e9b1b7213
Merge pull request #3414 from Stypox/recaptcha
Fix ReCaptcha Activity for another type of recaptcha page
2020-04-19 19:49:01 +02:00
Stypox 34aa3d3e00
Enqueue on long click on background/popup in channel 2020-04-19 10:34:07 +02:00
Hosted Weblate 715119fd45
Merge branch 'origin/dev' into Weblate. 2020-04-16 21:55:01 +02:00
Allan Nordhøy bde34fc4c4
Translated using Weblate (Norwegian Bokmål)
Currently translated at 90.6% (516 of 569 strings)
2020-04-16 21:55:00 +02:00
MohammedSR Vevo 07b4aa89d4
Translated using Weblate (Kurdish)
Currently translated at 99.4% (566 of 569 strings)
2020-04-16 21:54:59 +02:00
Isak Holmström d60351114c
Translated using Weblate (Swedish)
Currently translated at 83.1% (473 of 569 strings)
2020-04-16 21:54:59 +02:00
Yaron Shahrabani c932a70bef
Translated using Weblate (Hebrew)
Currently translated at 100.0% (569 of 569 strings)
2020-04-16 21:54:58 +02:00
Jeff Huang 4641d7ee8c
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (569 of 569 strings)
2020-04-16 21:54:58 +02:00
Xiang Xu d4b3ee50f2
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (569 of 569 strings)
2020-04-16 21:54:58 +02:00
Samuel Carvalho de Araújo 5392daa3ff
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (569 of 569 strings)
2020-04-16 21:54:57 +02:00
Mostafa Ahangarha a70e366fb4
Translated using Weblate (Persian)
Currently translated at 85.2% (485 of 569 strings)
2020-04-16 21:54:56 +02:00
Oğuz Ersen dff14268db
Translated using Weblate (Turkish)
Currently translated at 100.0% (569 of 569 strings)
2020-04-16 21:54:55 +02:00
zmni 5517e157ad
Translated using Weblate (Indonesian)
Currently translated at 98.9% (563 of 569 strings)
2020-04-16 21:54:54 +02:00
anonymous bdf4ffc36b
Translated using Weblate (Arabic)
Currently translated at 100.0% (569 of 569 strings)
2020-04-16 21:54:54 +02:00
Vojtěch Šamla 71455c63c1
Translated using Weblate (Czech)
Currently translated at 100.0% (569 of 569 strings)
2020-04-16 21:54:54 +02:00
Aaron Feng b1ae2b1a41
Translated using Weblate (Chinese (Traditional, Hong Kong))
Currently translated at 30.0% (171 of 569 strings)
2020-04-16 21:54:53 +02:00
Jeannette L 8a31732ce2
Translated using Weblate (Italian)
Currently translated at 99.8% (568 of 569 strings)
2020-04-16 21:54:53 +02:00
AioiLight e79aed7792
Translated using Weblate (Japanese)
Currently translated at 100.0% (569 of 569 strings)
2020-04-16 21:54:52 +02:00
B0pol 973fc08f2d
Translated using Weblate (French)
Currently translated at 100.0% (569 of 569 strings)
2020-04-16 21:54:52 +02:00
JoC 00211e1fb2
Translated using Weblate (Spanish)
Currently translated at 100.0% (569 of 569 strings)
2020-04-16 21:54:52 +02:00
C. Rüdinger ce7286a72a
Translated using Weblate (German)
Currently translated at 100.0% (569 of 569 strings)
2020-04-16 21:54:51 +02:00
Grady Clark db335d5cec
Removed redundant code
reorganized code
2020-04-16 12:58:16 -05:00
Stypox ee5ce0c809
Save and restore cookies to/from preferences
So that the user does not have to solve a recaptcha every time he opens the app
2020-04-15 13:30:27 +02:00
Stypox b8efef7c7a
Remove duplicate check if cookies are already present 2020-04-15 13:30:27 +02:00
Stypox e2cbf40957
Fix recaptcha activity for another type of recaptcha page
Try to get cookies from pages even when they start loading, because non-html pages like ones with `pbj=1` never stop loading.
Try to extract the cookie directly from the redirection url, by looking at the field "google_abuse=".
Add `GOOGLE_ABUSE_EXEMPTION=` to the youtube recaptcha cookies.
2020-04-15 13:30:27 +02:00
Grady Clark 1d0c3de65f
Merge branch 'dev' of https://github.com/TeamNewPipe/NewPipe into dev 2020-04-14 13:24:57 -05:00
Grady Clark fe1646caa0
Changed "Remove Watched":
- Will now execute on the io thread
- Added confirmation dialog
  - Warning the user, and asking if they also want to remove partially watched videos
2020-04-14 13:15:07 -05:00
nautilusx 72710f075b
Translated using Weblate (German)
Currently translated at 100.0% (569 of 569 strings)
2020-04-14 18:37:12 +02:00
Jeannette L c7c01aedc2
Translated using Weblate (German)
Currently translated at 100.0% (569 of 569 strings)
2020-04-14 18:37:12 +02:00
C. Rüdinger c2e2e76fd8
Translated using Weblate (German)
Currently translated at 100.0% (569 of 569 strings)
2020-04-14 18:37:11 +02:00
anonymous f30a87e4e2
Translated using Weblate (German)
Currently translated at 100.0% (569 of 569 strings)
2020-04-14 18:37:11 +02:00
Igor Nedoboy 7a84cfd510
Translated using Weblate (Russian)
Currently translated at 100.0% (569 of 569 strings)
2020-04-14 10:43:22 +02:00
Jeannette L 7a5a773b07
Translated using Weblate (German)
Currently translated at 99.6% (567 of 569 strings)
2020-04-13 02:46:08 +02:00
Jeannette L cf1488f6ce
Translated using Weblate (German)
Currently translated at 99.6% (567 of 569 strings)
2020-04-13 02:43:01 +02:00
ce4 b02badba0c
Translated using Weblate (German)
Currently translated at 98.7% (562 of 569 strings)
2020-04-13 02:40:54 +02:00
Jeannette L 772d84ea5a
Translated using Weblate (German)
Currently translated at 99.6% (567 of 569 strings)
2020-04-13 02:40:30 +02:00
random r ddaa66f080
Translated using Weblate (Italian)
Currently translated at 100.0% (569 of 569 strings)
2020-04-13 02:34:48 +02:00
Igor Nedoboy 8fd75833f0
Translated using Weblate (Russian)
Currently translated at 100.0% (569 of 569 strings)
2020-04-12 22:07:15 +02:00
Igor Nedoboy 1967d60813
Translated using Weblate (Russian)
Currently translated at 100.0% (569 of 569 strings)
2020-04-12 21:59:31 +02:00
Hosted Weblate f38f265cf7
Merge branch 'origin/dev' into Weblate. 2020-04-12 16:45:50 +02:00
Isak Holmström 79f37ffee0
Translated using Weblate (Swedish)
Currently translated at 83.5% (468 of 560 strings)
2020-04-12 16:45:48 +02:00
Isak Holmström d4b2a3c696
Translated using Weblate (Swedish)
Currently translated at 83.5% (468 of 560 strings)
2020-04-12 16:45:47 +02:00
Samuel Carvalho de Araújo 39ec365821
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (560 of 560 strings)
2020-04-12 16:45:46 +02:00
Tolstovka bc423c471d
Translated using Weblate (Ukrainian)
Currently translated at 93.3% (523 of 560 strings)
2020-04-12 16:45:44 +02:00
thami simo a790f43566
Translated using Weblate (Arabic)
Currently translated at 100.0% (560 of 560 strings)
2020-04-12 16:45:43 +02:00
Gontzal Manuel Pujana Onaindia 9fbdc950d2
Translated using Weblate (Basque)
Currently translated at 100.0% (560 of 560 strings)
2020-04-12 16:45:41 +02:00
random r 8319963cbb
Translated using Weblate (Italian)
Currently translated at 100.0% (560 of 560 strings)
2020-04-12 16:45:39 +02:00
Mitosagi 4341219497
Translated using Weblate (Japanese)
Currently translated at 100.0% (560 of 560 strings)
2020-04-12 16:45:39 +02:00
Igor Nedoboy 835504270d
Translated using Weblate (Russian)
Currently translated at 100.0% (560 of 560 strings)
2020-04-12 16:45:38 +02:00
C. Rüdinger daed42d208
Translated using Weblate (German)
Currently translated at 100.0% (560 of 560 strings)
2020-04-12 16:45:38 +02:00
Alexander-- 850f51a156 When drawer opens, always place focus at it's start 2020-04-12 09:39:32 +06:59
TobiGr d37b195708 Fix F-Droid build
Fixes the behaviour described in https://github.com/TeamNewPipe/NewPipe/pull/3265#issuecomment-612102349
2020-04-11 22:18:04 +02:00
Alexander-- 54ceb85ebe Don't break navigation if player Views other than controls are focused 2020-04-11 16:04:38 +06:59
Alexander-- ef7a5bc753 Make channel info button focusable 2020-04-11 16:04:29 +06:59
wb9688 b7ef60eedd
Merge pull request #3410 from wb9688/fix-restricted
Show error when video has age limit and setting is disabled
2020-04-11 09:44:25 +02:00
wb9688 70ede70ea8 Hide tabs when a video is age restricted 2020-04-11 09:30:12 +02:00
Alexander-- d1d942f3fd Fix Checkstyle violations in MediaSourceManager 2020-04-11 09:51:50 +06:59
Alexander-- 53b3bda909 Comply with Checkstyle rules 2020-04-11 09:02:22 +06:59
Alexander-- ac5571a363 Merge remote-tracking branch 'newpipe/dev' into rebase 2020-04-11 08:30:40 +06:59
Alexander-- c42f5eca87 Merge remote-tracking branch 'newpipe/dev' into rebase 2020-04-11 08:24:05 +06:59
Tobias Groza 9cb6816b3c
Merge pull request #3294 from mauriciocolli/fix-network-issues-detection
Fix detection of network related exceptions
2020-04-10 23:10:34 +02:00
Stypox a50e430cd9
Fix checkstyle issues and improve code formatting
Also calculate differently the moved distance of a pointer: use euclidean and not manhattan geometry
2020-04-10 22:12:45 +02:00
Harshal Lele 46918ee907
formatting changes 2020-04-10 22:10:32 +02:00
Harshal Lele fe1889653e
made formatting changes 2020-04-10 22:10:32 +02:00
Harshal Lele 9487b5367d
changed popup resizing 2020-04-10 22:10:32 +02:00
Tobias Groza 6b47df75a7
Merge pull request #3412 from mauriciocolli/improve-drawer-title-size-handling
Improve size handling of the drawer header title
2020-04-10 22:04:53 +02:00
Mauricio Colli 506d1dc1f2
Improve size handling of the drawer header title
Some devices, specially with custom fonts that changed the font width,
weren't being correctly adjusted before.
2020-04-10 10:31:28 -03:00
wb9688 90f9819cbd Show error when video has age limit and setting is disabled 2020-04-10 15:29:48 +02:00