Commit graph

2642 commits

Author SHA1 Message Date
Stypox
431be4003d Implement Settings buttons 2020-02-22 10:36:10 +01:00
Stypox
a7e61b31f7 Merge branch 'dev' into localisation 2020-02-21 14:34:40 +01:00
kapodamy
25bed07c07 fixup for #3081
* dont write the "sbpg" box in video tracks
2020-02-20 13:20:20 -03:00
Alexey Dubrov
808c1a81ef Merge branch 'dev' into dev 2020-02-19 15:05:42 +03:00
Laurent Arnoud
37ae893c9e Migrate annotation to androidx on ReCaptchaActivity 2020-02-18 21:50:28 +01:00
bopol
defb693615 give info if content language is system on crash 2020-02-18 18:35:13 +01:00
Alexey Dubrov
8aa2b50da0 Merge branch 'dev' into dev 2020-02-17 12:14:07 +03:00
bopol
ce38410f54 use plural string for dynamic_seek_duration_description 2020-02-17 10:12:08 +01:00
Alexey Dubrov
2ce828ece7 Get brightness from settings if screenBrightness is set to auto 2020-02-17 12:11:00 +03:00
B0pol
28100a9311 Merge branch 'dev' into localisation 2020-02-17 09:27:03 +01:00
bopol
b13c03a99f created default_localization_key 2020-02-16 22:41:32 +01:00
Stypox
fb58bc72e7 Merge branch 'dev' into patch-10 2020-02-16 21:58:44 +01:00
Alexey Dubrov
6077085cd5 Fix initial brightness value 2020-02-16 16:08:53 +03:00
bopol
9020ba6280 Multiple localization fixes
With the extractor PR, fixes title & description shown in the wrong language.
Fixed views / spectators counts possibly in the wrong language
Fixed live spectators not showing full count on detail page
Fixed LIVE shown on players, it shows translated instead

Fixed Videos string in search / three dots not available in Weblate
(because it was videos, but there already was a plural string named videos, in Weblate)

Subscriber count is always giving the short count.
We can't get exact number since this YouTube update: https://support.google.com/youtube/thread/6543166
But only short count (B, M, k), so showing full number, eg for 1.9M: 1,900,000, is wrong because the number could be 1,923,490 or 1,897,789…

Added a « sytem default » option to content language and country language selector.
It's the one selected by default (not en-GB anymore then), and correspond to the
language of the system / country of the system
By system I mean phone, tablet, TV…

Fixed russian showing - before time ago (eg 19hrs ago)
This is a workaround fix, I opened an issue on prettytime library repo.

Fixed russian plurals:
other was used instead of many for videos and subscribers

Fixed seek_duration english only
2020-02-15 12:40:23 +01:00
Avently
38440abb30 AppBarLayout scrolling awesomeness, PlayQueue layout touches interception, player's controls' margin
- made scrolling in appBarLayout awesome
- PlayQueue layout was intercepting touches while it was in GONE visibility state. Now it's not gonna happen
- removed margin between two lines of player's controls
- when a user leaves the app with two back presses the app will not stop MainPlayer service if popup or background players play
2020-02-12 22:33:23 +03:00
Alexander--
0dc23288eb Merge remote-tracking branch 'newpipe/dev' into rebase 2020-02-11 08:01:05 +06:59
Stypox
9eed20c2a7 Merge branch 'dev' into unhook-save-restore 2020-02-09 13:10:35 +01:00
Tobias Groza
4db0c82cd1 Merge pull request #2959 from kapodamy/m4a-stsc-stco
mp4 muxer fix
2020-02-09 00:27:57 +01:00
kapodamy
f9541d6a00 Merge branch 'dev' into m4a-stsc-stco 2020-02-08 16:04:28 -03:00
B0pol
e92647e2a2 Merge branch 'dev' into tubepeer 2020-02-08 10:54:05 +01:00
bopol
49bdc1b350 real markdown support for descriptions
and update third-party licences in about page
2020-02-08 10:48:36 +01:00
TobiGr
3438fc1313 Make report error title in snackbar uppercase again 2020-02-07 22:22:27 +01:00
bopol
b52b76ff7e refactor Description 2020-02-07 14:14:55 +01:00
Alexander--
2283b45a4b Merge remote-tracking branch 'newpipe/dev' into rebase 2020-02-07 07:39:40 +06:59
bopol
6da847737a fix thumbnail for PeerTube, and description changes
description:
- PeerTube: it's now full description (it cut at 250 characters before), and it displays ok (newlines are ok, but markdown isn't)
- MediaCCC: descriptions are now displayed well (newlines added)
- YouTube: timestamps in descriptions are clickable and work

more PeerTube fixes:
thumbnail is now high quality
age limit is now handled
upload date in «recently added» feed is good now (it was one hour delayed)
all fixes come from https://github.com/TeamNewPipe/NewPipeExtractor/pull/239, so it need to be merged before this PR
2020-02-06 22:42:09 +01:00
kapodamy
5e2aee6af2 Update DataReader.java
make rewind() method fully rewind the stream
2020-02-06 17:00:32 -03:00
Alexander--
971a83fd55 Merge remote-tracking branch 'newpipe/dev' into rebase 2020-02-06 02:44:08 +06:59
harshlele
07e1340939 Update CommentsMiniInfoItemHolder.java
Co-Authored-By: yausername <5203007+yausername@users.noreply.github.com>
2020-02-05 14:48:39 +05:30
Avently
c7c4c2172a Mini player, ExpandableSurfaceView with ZOOM support, popup
- mini player's title, image and author information will be updated in many situations but the main idea is that the info will be the same as currently playing stream. If nothing played then you'll see the info about currently opened stream in fragment. When MainPlayer service stops the info updates too
- made ExpandableSurfaceView to replace AspectRatioFrameLayout. The reason for that is to make possible to use aspect ratio mode ZOOM. It's impossible to show a stream inside AspectRatioFrameLayout with ZOOM mode and to fit the video view to a screen space at the same time. Now the new view able to do that and to show vertical videos in a slightly wide space for them
- refactored some methods to make the code more understandable
- made fixes for player view for landscape-to-landscape orientation change
- added Java docs
- adapted swipe tracking inside bottom sheet
- fixed PlayQueue crashes on clearing
- paddings for popup player now as small as possible
2020-02-05 08:59:30 +03:00
Harshal Lele
b88e8e1976 removed settings entry 2020-02-04 18:01:39 +05:30
Harshal Lele
00f19e6380 added ability to copy comments on long press 2020-02-04 16:40:57 +05:30
Xiang Rong Lin
02bb6494dc Fix bug causing crashes when sharing a downloaded file. 2020-02-03 10:43:08 +01:00
Stypox
eec0ae3bb8 Remove unused imports and clean up comment style 2020-02-02 21:48:45 +01:00
Stypox
f0493335ff Merge branch 'dev' into recaptcha 2020-02-02 21:36:15 +01:00
Stypox
e276a743f5 Fix addYoutubeCookies functions (Yt changed things lately) 2020-02-02 21:33:07 +01:00
Stypox
29080683d0 Save and restore whether pitch and tempo are unhooked or not
Fixes #1536
2020-02-02 15:52:35 +01:00
Xiang Rong Lin
71b0311bb1 Use AlertDialog.Builder instead of BookmarkDialog class for the same look.
Use "rename" string instead of "save" string.
2020-02-02 12:54:43 +01:00
kapodamy
2a9586b557 Merge branch 'dev' into m4a-stsc-stco 2020-02-01 18:59:22 -03:00
Stypox
8ed77bbb17 Merge branch 'dev' of github.com:TeamNewPipe/NewPipe into recaptcha 2020-02-01 18:27:00 +01:00
Stypox
afcbe6c016 Remove left-behind Log 2020-02-01 18:24:16 +01:00
Stypox
55d7a645f8 Try to extract cookies just before closing recaptcha activity
Even if the page didn't auto-close
2020-02-01 18:24:16 +01:00
Stypox
f41d13e559 Move "Done" button and make it theme conpliant in ReCaptcha 2020-02-01 18:24:16 +01:00
Stypox
c218bddf25 Improve formatting 2020-02-01 18:24:16 +01:00
Stypox
3b648428b4 Fix ReCaptchaActivity crash and save cookies correctly 2020-02-01 18:24:16 +01:00
Markus Richter
87d563b0db fixes #3021, see also https://github.com/TeamNewPipe/NewPipe-legacy/pull/21 2020-02-01 18:24:16 +01:00
Xiang Rong Lin
1c873141fe Move more log statements into "if (DEBUG)" 2020-02-01 16:36:45 +01:00
XiangRongLin
e013e64482 Merge branch 'dev' into 1907renamePlaylist 2020-02-01 16:29:21 +01:00
Xiang Rong Lin
3abe2423c0 Move log statement into "if (DEBUG)" 2020-02-01 16:27:53 +01:00
TobiGr
13b747263a Improve formatting 2020-02-01 15:35:33 +01:00
bopol
953fd580f7 fix toast on app language change
I forgot to change the key here when I renamed it
2020-02-01 15:30:51 +01:00