Commit graph

1522 commits

Author SHA1 Message Date
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
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
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
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
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
kapodamy
9e5714b978 Merge branch 'dev' into android5-temp-dir-issue 2020-01-20 23:23:44 -03:00
kapodamy
27aa1abfdc 2 typo fixup
* add missing namespace of StandardCharsets
* use an unused constructor argument
2020-01-18 01:10:25 -03:00
kapodamy
0f5ce15280 StandardCharsets.UTF_8 instead of Charset.forName("utf-8") 2020-01-18 00:43:38 -03: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
karkaminski
e5faa7b1cf Merge branch 'dev' into issue-#2254 2020-01-14 22:23:32 +01:00
Karol Kaminski
31930fa0a7 menu-item History visibility accordingly to settings 2020-01-14 19:30:36 +01:00
kapodamy
3ed183a7a6 android 5 (lollipop) fixup
this commit attempts to fix the pickAvailableTemporalDir() method in ROMS that not are CTS compliant.
2020-01-14 00:05:34 -03:00
kapodamy
3877cec0ff ttml to srt conversion
rewrite SubtitleConverter (use JSoup library instead, remove unused methods)
2020-01-14 00:04:16 -03:00
Karol Kaminski
a1b4634171 removed dot menu where its no longer needed 2020-01-13 20:28:32 +01:00
TobiGr
30c9d97d1a Use Integer value directly for formatted string
a
2020-01-13 20:25:32 +01:00
Kamil Szczęk
4b8d5fbc26 Style corrected 2020-01-11 15:19:24 +01:00
Kamil Szczęk
0a95c7cec3 Add a snackbar to allow user to undo file deletion 2020-01-11 15:09:01 +01:00
Kamil Szczęk
ac10e09acb Reorder buttons in clear downloads dialog 2020-01-11 15:09:01 +01:00
Kamil Szczęk
9f05049e03 Use a dialog option instead of a checkbox 2020-01-11 15:09:01 +01:00
Kamil Szczęk
2bff989a68 Fix inconsistent style 2020-01-11 15:09:01 +01:00
Kamil Szczęk
328339f3a4 Put call to forget finished downloads in an else statement to prevent potential bugs 2020-01-11 15:09:01 +01:00
Kamil Szczęk
578395a351 Remove unnecessary import 2020-01-11 15:09:01 +01:00
Kamil Szczęk
7bd3f1bec4 Add option to remove downloaded files when clearing finished downloads 2020-01-11 15:09:01 +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
TobiGr
2caa9f430c Fix code style and improve imports 2020-01-07 22:48:35 +01:00
decarvalhobo
7c2d43ea44 Usage of drawable instead of remote image + refactor the append to an empty playlist by just updating the thumbnail before adding the item in it. 2020-01-07 22:33:45 +01:00
De Carvalho Marcio Antonio
47bdbba81c remove comments 2020-01-07 22:33:45 +01:00
De Carvalho Marcio Antonio
8e64aaab92 remove comments 2020-01-07 22:33:45 +01:00
decarvalhobo
074fa0c45d fix issue: thumbnail update when element deleted + thumbnail update when element added and no thumbnail 2020-01-07 22:33:45 +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
5b3481d3d3 improve code consistency in ScrollableTabLayout 2020-01-02 13:02:14 +01:00
Paweł Matuszewski
f6965f7277 fix ScrollableTabLayout content width calculation
fix bug where only minimum width requested by tab was counted even if actual content was wider
2020-01-02 13:02:14 +01:00
Paweł Matuszewski
3111b390d5 simplify ScrollableTabLayout tabs width checking 2020-01-02 13:02:14 +01:00
Paweł Matuszewski
d154e56fa2 hide main page tab selector with single tab 2020-01-02 13:02:14 +01:00
Paweł Matuszewski
fae26b94b8 make main page tabs scrollable 2020-01-02 13:02:14 +01:00