Commit graph

375 commits

Author SHA1 Message Date
Alexey Dubrov
6077085cd5 Fix initial brightness value 2020-02-16 16:08:53 +03: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
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
299f4e6d0e fix: wrong language shown in playback parameters dialog
This is a hardly reproduceable bug that I hopefully fixed. After a long time of watching videos, you could have your system language shown in playback parameters dialog.
Calling changeAppLanguage(getAppLocale(…),…) onCreate will most certainly fix this bug
2020-01-18 09:46:38 +01:00
Raphaël Jakse
9dbc7c0076 Simplify an if expression 2020-01-17 11:49:33 +01:00
Raphaël Jakse
ebab29c9f9 Deduplicate code switching to another player into a function 2020-01-17 11:49:20 +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
B0pol
aafac65997 fix: wrong language shown when rotating screen in popup player 2020-01-15 08:33:57 +01:00
Karol Kaminski
a1b4634171 removed dot menu where its no longer needed 2020-01-13 20:28:32 +01:00
bopol
679ddf4481 fixed some activities where the wrong languages would be set 2020-01-10 15:50:15 +01:00
k1rakishou
458d59e570 Couple more code review changes 2020-01-03 16:29:04 +03:00
k1rakishou
e973adef8f Code-review changes 2020-01-03 13:00:53 +03:00
k1rakishou
1db537cb64 Merge remote-tracking branch 'push_here/(#1570)-lock-screen-video-thumbnail' into (#1570)-lock-screen-video-thumbnail
# Conflicts:
#	app/src/main/java/org/schabi/newpipe/player/BackgroundPlayer.java
#	app/src/main/java/org/schabi/newpipe/player/helper/MediaSessionManager.java
#	app/src/main/java/org/schabi/newpipe/util/BitmapUtils.java
#	app/src/main/res/xml/video_audio_settings.xml
2020-01-03 12:56:01 +03:00
TobiGr
db39ff1b78 Code improvements 2020-01-02 15:00:31 +01:00
TobiGr
85da8b0652 Enable lockscreen video thumbnail by default 2020-01-02 15:00:31 +01:00
k1rakishou
aa10bbcede Add a setting for the lock screen thumbnail feature 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
Paweł Matuszewski
84601a3af3 limit amount of notification thumbnail updates
limits amount of calls to updateNotificationThumbnail in background player
2020-01-01 16:38:46 +01:00
Mauricio Colli
a3075dce2e Fix for player access out of its creation thread 2019-12-31 02:52:16 -03:00
Xiang Rong Lin
d9c74ae200 Rename "seek_duration_default_key" and use it in BasePlayer 2019-12-13 07:14:17 +01:00
Xiang Rong Lin
462a57d6ce Remove local variable for seek duration 2019-12-13 07:14:17 +01:00
Xiang Rong Lin
5cb9e0d51f Extract getting of seek duration into a function 2019-12-13 07:14:17 +01:00
Xiang Rong Lin
f06e7b71f9 Adjust BasePlayer to use seek duration of preferences.
Changes behaviour when double-tapping in video and clicking fast forward/rewind in background mode.
2019-12-13 07:14:17 +01:00
k1rakishou
3807ab26ab Add a setting for the lock screen thumbnail feature 2019-11-28 21:47:15 +03:00
k1rakishou
36419e0430 Rebase onto the latest dev, update appcompat dependencies to use androidx 2019-11-28 21:47:15 +03:00
k1rakishou
ac43d23767 Show video thumbnail on the lock screen 2019-11-28 21:47:15 +03:00
Robin
273838ebf8 squashed commit 2019-11-24 16:24:39 +01:00
Robin
768dca0a28 Remember caption option in player, closes #2811 2019-11-24 11:10:50 +01:00
mitosagi
00f1b114f3 Fix popup player gestures 2019-11-22 11:41:10 +01:00
Mauricio Colli
cb2f0625b1 Use new Localization and Downloader implementations from extractor 2019-11-17 23:58:52 -03:00
Redirion
3ccd90806b Apply suggestions from code review
Co-Authored-By: Tobias Groza <TobiGr@users.noreply.github.com>
2019-10-07 11:27:43 +02:00
Robin
4479cd8f9f Make use of isPlaying feature of ExoPlayer 2.10.5 2019-10-07 11:18:27 +02:00
Robin
709b9a511c Fixed deprecations 2019-10-07 11:18:26 +02:00
Robin
6a28c5767c Update to ExoPlayer 2.10.5 2019-10-07 11:18:26 +02:00
Robin
edd5ad2d13 Migrate to AndroidX 2019-10-04 14:59:08 +02:00
TobiGr
2f5c1f5732 Do not save playback position when watch history is disabled 2019-08-13 14:39:57 +02:00
Stypox
845c0a0098 Fix player resume 2019-08-11 22:10:05 +02:00
Stypox
382c943917 Fix crash when closing a not-yet-loaded popup. 2019-07-25 12:32:56 +02:00
Christian Schabesberger
7164d85479 Merge branch 'dev' into issue-2240 2019-07-21 16:07:32 +02:00
Alan Nelson
c5b7f59514 Add title to additional metadata object 2019-07-11 00:48:28 -05:00
Alan Nelson
98eeae4bf5 Add current and total track numbers to metadata 2019-07-09 22:37:03 -05:00
Alan Nelson
d96e371ad2 Fix Bluetooth AVRCP duration metadata 2019-07-09 22:34:18 -05:00
Marcel Dopita
299933b178 Handle (auto)rotation changes during activity lifecycle
Fixes #1156
2019-07-04 07:30:01 +02:00
Vasily
ea8bdd8835 Merge branch 'dev' into playback_state_list 2019-06-23 20:23:29 +03:00
kapodamy
db76d1e179 Merge branch 'dev' into ps-branch 2019-06-14 12:55:49 -03:00
Redirion
c259eaeeeb Fixed selected subtitle stream not being shown
closes #2393
this ammends my obviously incomplete fix in PR #2311.

This is just an UI issue. Subtitle track selection works, it just shows "No Captions" unfortunately.
2019-06-12 14:44:36 +02:00