Commit graph

1576 commits

Author SHA1 Message Date
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
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
bopol
b52b76ff7e refactor Description 2020-02-07 14:14:55 +01:00
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
harshlele
07e1340939 Update CommentsMiniInfoItemHolder.java
Co-Authored-By: yausername <5203007+yausername@users.noreply.github.com>
2020-02-05 14:48:39 +05:30
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
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
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
bopol
649e188b67 Merge remote-tracking branch 'upstream/dev' into dev
merging dev
2020-02-01 15:11:01 +01:00
Tobias Groza
89eac71067 Merge pull request #3004 from harshlele/ask-overlay-perm-settings
ask for display over other apps permission in settings
2020-02-01 14:28:02 +01:00
TobiGr
8a417a127f Fix formatting and use lamda functions 2020-02-01 13:41:03 +01:00
bopol
a74f0873a3 fix wrong language shown many popup dialogs
Changed android.R.string.ok, which is "OK", into R.string.finish, which is also OK, but from our strings
Then for a small amount of languages that don't have Android translation, it will show the good string.
2020-02-01 09:44:49 +01:00
bopol
eaed951dbd app language: refactoring
renamed NewPipe's language into App language, and same for all the
concerning thing (keys, comments…)

we now call assureCorrectAppLanguage(CONTEXT) in activities needing it
instead of changeAppLanguage(getAppLocale(CONTEXT), RESOURCES)
changeAppLanguage becomes private.
2020-01-29 21:21:00 +01:00
kapodamy
10d6eab342 typo fixup 2020-01-29 16:06:40 -03:00
kapodamy
f7a6e6ff53 Merge branch 'dev' into m4a-stsc-stco 2020-01-29 15:58:20 -03:00
kapodamy
154de6231c Merge branch 'm4a-stsc-stco' of https://github.com/kapodamy/NewPipe into m4a-stsc-stco 2020-01-29 16:08:32 -03:00
kapodamy
035bb657cd restore offset after writting lastest CTTS entries 2020-01-29 16:04:24 -03:00
Markus Richter
b6108a45bd fixes #3021, see also https://github.com/TeamNewPipe/NewPipe-legacy/pull/21 2020-01-29 13:48:02 +01:00
Harshal Lele
f99ac44a99 reformatted code 2020-01-28 20:54:24 +05:30
Harshal Lele
c4c50d25cd reformatted and commented code 2020-01-28 20:14:35 +05:30
B0pol
36c1097883 Merge branch 'dev' into dev 2020-01-27 19:24:18 +01:00
Christophe
37d8cddf1f Add send to Kodi button to player next to share button 2020-01-27 10:27:24 +01:00
XiangRongLin
0a80cc1d02 Merge branch 'dev' into 1907renamePlaylist 2020-01-26 20:36:18 +01:00
Tobias Groza
9d2072c246 Merge pull request #2917 from raphj/patch-1
Allow a BasePlayer to start paused
2020-01-26 17:39:39 +01:00
XiangRongLin
2c4dd54d49 Merge branch 'dev' into 1907renamePlaylist 2020-01-26 15:34:12 +01:00
Tobias Groza
8322c7c496 Merge pull request #2958 from kapodamy/android5-temp-dir-issue
fix #2889
2020-01-26 11:04:45 +01:00
Harshal Lele
a8d4964be9 ask for display over other apps permission in settings 2020-01-25 22:30:49 +05:30
Xiang Rong Lin
798753145e Use custom dialog to edit and delete local playlists at once 2020-01-21 20:56:06 +01:00
kapodamy
4e14cbdf6e Merge branch 'dev' into subtitles 2020-01-20 23:23:51 -03:00
kapodamy
3551e39d32 readability changes 2020-01-20 23:33:30 -03:00