Commit graph

240 commits

Author SHA1 Message Date
Alexander--
4ea4b5436d Intercept ActivityNotFoundException for ACTION_MANAGE_OVERLAY_PERMISSION 2020-03-12 05:32:20 +06:59
Alexander--
a1d056bdb8 Merge remote-tracking branch 'newpipe/dev' into rebase 2020-03-12 04:48:37 +06:59
Stypox
712a4222f6 Merge pull request #3165 from karkaminski/mute_button
Mute button
2020-03-08 10:29:25 +01:00
bopol
0fcc0f0c40 public Utils.round() moved to private Localization.round() 2020-02-28 17:04:25 +01:00
bopol
1162f7b09e Round at one place for Localization.shortCount() 2020-02-28 17:04:25 +01:00
karol
ae8c842406 mute intent send between main-bckgrnd-popup players 2020-02-27 22:30:18 +01:00
Alexander--
c5c7c41c8f Merge remote-tracking branch 'newpipe/dev' into rebase 2020-02-26 05:56:09 +06:59
Stypox
857f7bbc9a Address @mauriciocolli suggestions in #2960
Simplify code to enable history button
2020-02-22 11:34:08 +01:00
bopol
b13c03a99f created default_localization_key 2020-02-16 22:41:32 +01: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
Alexander--
971a83fd55 Merge remote-tracking branch 'newpipe/dev' into rebase 2020-02-06 02:44:08 +06:59
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
Alexander--
909d1bbccc Rename FireTvUtils to AndroidTvUtils and isFireTv() to isTV()
Because those methods are no longer exclusive to Amazon devices
2020-01-29 03:16:33 +06:59
Alexander--
b1a2612958 Merge remote-tracking branch 'newpipe/dev' into rebase 2020-01-29 03:10:16 +06:59
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
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
B0pol
bf96bdf606 Merge branch 'dev' into dev 2020-01-19 18:09:17 +01:00
bopol
39b0359712 upload date in description now matches newpipe's language 2020-01-18 10:46:53 +01:00
Raphaël Jakse
decf049198 Add field START_PAUSED to the Player Intent
This allows fixing spurious playback resume when minimizing to the background player.
2020-01-16 20:57:55 +01:00
Karol Kaminski
31930fa0a7 menu-item History visibility accordingly to settings 2020-01-14 19:30:36 +01:00
bopol
679ddf4481 fixed some activities where the wrong languages would be set 2020-01-10 15:50:15 +01:00
bopol
3dd492e82b app language now changes time formatting (3hrs ago), was system language b4 2020-01-09 15:51:41 +01:00
B0pol
bc0564fa07 Merge branch 'dev' into dev 2020-01-09 10:07:22 +01:00
bopol
af690618d4 changed the way to change language, now is «NewPipe's language» selector 2020-01-09 09:40:05 +01:00
kapodamy
463799071c fixup
* [DownloadDialog.java] use *.opus extension instead of *.webm (bad change from https://github.com/TeamNewPipe/NewPipe/pull/2679/commits/3641f572944b68787e88eb865755ffb16eb87c42)
* [StreamItemAdapter.java] show "opus" in format label instead of "WebM Opus"
2020-01-08 12:42:34 -03:00
bopol
732bd75d28 Update localizations settings
1) now, on « content language » change, it will also change the app language
2) added Esperanto to the list of language in content language
2020-01-04 21:38:27 +01:00
TobiGr
db39ff1b78 Code improvements 2020-01-02 15:00:31 +01:00
k1rakishou
96976f591d Rebase onto the latest dev, update appcompat dependencies to use androidx 2020-01-02 15:00:31 +01:00
k1rakishou
3f173c984d Show video thumbnail on the lock screen 2020-01-02 15:00:31 +01:00
Alexander--
1a01d8b5af Merge remote-tracking branch 'newpipe/dev' into rebase 2020-01-01 12:55:05 +06:59
Markus
abc61fa14d Remove commented-out code and hide stacktraces in release mode 2019-12-13 21:46:19 +01:00
Markus
7718801390 Fix formatting and remove unused code 2019-12-13 21:43:03 +01:00
Markus Richter
c13f0249c8 Enable TLS v1.1/1.2 for KitKat devices
This enables modern TLS versions in the collection browser, the Downloader and the Player.
This is neccessary because media.ccc.de rejects all older TLS connection attempts, see issue #2777.
2019-12-13 21:42:58 +01:00
Alexander--
825135d7af Merge remote-tracking branch 'newpipe/dev' into rebase 2019-12-10 21:20:26 +06:59
yausername
7547dd59b3 merged upstream/dev 2019-12-10 01:37:33 +05:30
kapodamy
f719f8f38a add missing change after updating NPE
use +webm_opus instead of +opus
2019-12-07 00:16:01 -03:00
yausername
d41ae244c1 update extractor, kiosk names and icons 2019-12-03 01:50:23 +05:30
Alexander--
72d23158c3 Release seekbar on any confirmation key, not just DPAD_CENTER 2019-12-01 12:41:11 +06:59
Alexander
50410c4791 Do not discriminate against non-Amazon TV boxes 2019-12-01 12:41:10 +06:59
yausername
aba23d54bb white space changes 2019-11-24 21:42:05 +05:30
yausername
5047d5430f merged origin/peertube-ui 2019-11-24 21:19:23 +05:30
yausername
491cc18bfd easily switch between multiple peertube instances 2019-11-24 21:08:06 +05:30
TobiGr
62f43902f7 Fix code formatting 2019-11-23 20:04:40 +01:00
yausername
512fca8897 validate peertube instance. changed peertube color 2019-11-23 00:31:35 +05:30
yausername
2a843a16d7 merged upstream/dev 2019-11-20 03:48:56 +05:30
Mauricio Colli
ab1c2b00da Show parsed relative times instead of whatever the service gives us
Before, the direct value was given to the user, now it uses the parsed
date so we can match the device's language.

To get the relative time from the parsed dates, we use the PrettyTime
library.

Also introduces a debug option to check the service's original value.
2019-11-17 23:58:55 -03:00
Mauricio Colli
8df3186f83 Show proper text for live streams watching/listening count 2019-11-17 23:58:54 -03:00
Mauricio Colli
cb2f0625b1 Use new Localization and Downloader implementations from extractor 2019-11-17 23:58:52 -03:00
yausername
ca9dff049c merged upstream/dev 2019-11-16 04:37:14 +05:30