Commit Graph

6418 Commits

Author SHA1 Message Date
Avently 24c24d6c72 Skipping interception of some gestures 2020-08-17 20:42:05 +03:00
wb9688 b7f50c3e12
Merge pull request #4080 from avently/cpu-usage-improvement
Reduced CPU usage when playing a video by 7-10%
2020-08-17 09:46:07 +02:00
Avently aed1687a45 Improved an animation logic 2020-08-16 22:44:27 +03:00
nmurali94 daa427dc15 Restore license pop up after orientation change 2020-08-16 12:23:40 +02:00
Tobias Groza e9d4303fdb
Merge pull request #4134 from avently/bottom-space
Set bottom padding of the main fragment when the mini player is visible
2020-08-16 12:15:08 +02:00
Tobias Groza 5485e994ee
Merge pull request #4138 from XiangRongLin/checkstyle_final
Add checkstyle rule to show final local variable violations as warning
2020-08-16 11:55:46 +02:00
wb9688 87228673b4 Use final where possible 2020-08-16 10:25:09 +02:00
Stypox e08480f345
Completely remove old player notification 2020-08-15 22:03:32 +02:00
Avently d3d65c8e3a Set bottom padding of the main fragment when the mini player is visible 2020-08-15 20:51:52 +03:00
Stypox 12ac5ef781
[regression] Close player in onPlaybackShutdown() 2020-08-15 15:58:25 +02:00
Stypox adef9a8acf
Rename notification functions: they are not background player only 2020-08-15 15:16:17 +02:00
Hakim Oubouali 970b636eb4
Translated using Weblate (Berber)
Currently translated at 17.9% (105 of 584 strings)
2020-08-15 00:56:30 +02:00
ssantos fcf9131aae
Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (584 of 584 strings)
2020-08-15 00:56:28 +02:00
sivemortenfan 7fd27fac45
Translated using Weblate (Malayalam)
Currently translated at 100.0% (584 of 584 strings)
2020-08-15 00:56:19 +02:00
Juraj Liso 6e17af91fb
Translated using Weblate (Czech)
Currently translated at 98.4% (575 of 584 strings)
2020-08-15 00:56:18 +02:00
Juraj Liso 68555573ad
Translated using Weblate (Slovak)
Currently translated at 97.9% (572 of 584 strings)
2020-08-15 00:56:18 +02:00
Hakim Oubouali 1e7504dc5a
Added translation using Weblate (Berber) 2020-08-14 10:14:05 +02:00
nmurali94 04bb070afa Remove timestamp when sharing a live stream 2020-08-12 09:54:35 -04:00
Sérgio Marques e693d80857
Added translation using Weblate (Portuguese (Portugal)) 2020-08-12 01:30:16 +02:00
Allan Nordhøy 45ae05f1b5
Translated using Weblate (Norwegian Bokmål)
Currently translated at 88.3% (516 of 584 strings)
2020-08-11 13:32:55 +02:00
Allan Nordhøy 05a83beb44
Translated using Weblate (Norwegian Bokmål)
Currently translated at 88.1% (515 of 584 strings)
2020-08-10 10:32:51 +02:00
Tobias Groza 8a1a42e83b
Merge pull request #3948 from TobiGr/basic_resize
Add basic resize functionality
2020-08-08 21:34:12 +02:00
BenjaminForster 1b3f3cedb3
Translated using Weblate (Afrikaans)
Currently translated at 4.6% (27 of 584 strings)
2020-08-07 14:32:58 +02:00
TobiGr f815ae5973
Translated using Weblate (Filipino)
Currently translated at 11.1% (65 of 584 strings)
2020-08-07 14:32:58 +02:00
David Rebolo Magariños fb7035bf22
Translated using Weblate (Galician)
Currently translated at 100.0% (584 of 584 strings)
2020-08-07 14:32:57 +02:00
Deleted User 02bcbc3221
Translated using Weblate (Malay)
Currently translated at 72.0% (421 of 584 strings)
2020-08-07 14:32:54 +02:00
TobiGr f0a51d4ab4
Translated using Weblate (Belarusian)
Currently translated at 77.7% (454 of 584 strings)
2020-08-07 14:32:53 +02:00
TobiGr 24fe8fe9a0
Translated using Weblate (Azerbaijani)
Currently translated at 10.2% (60 of 584 strings)
2020-08-07 14:32:53 +02:00
TobiGr 244e95d959
Translated using Weblate (Telugu)
Currently translated at 23.9% (140 of 584 strings)
2020-08-07 14:32:53 +02:00
Kim Nyberg ad72c64e32
Translated using Weblate (Swedish)
Currently translated at 98.6% (576 of 584 strings)
2020-08-07 14:32:53 +02:00
Yaron Shahrabani 767ac6a51b
Translated using Weblate (Hebrew)
Currently translated at 100.0% (584 of 584 strings)
2020-08-07 14:32:52 +02:00
TobiGr 3a6f87659a
Translated using Weblate (Armenian)
Currently translated at 13.0% (76 of 584 strings)
2020-08-07 14:32:52 +02:00
Samuel Carvalho de Araújo b7ac16c7d9
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (584 of 584 strings)
2020-08-07 14:32:52 +02:00
Emin Tufan Çetin f9f84cbd89
Translated using Weblate (Turkish)
Currently translated at 100.0% (584 of 584 strings)
2020-08-07 14:32:52 +02:00
TobiGr 701c87eefa
Translated using Weblate (Ukrainian)
Currently translated at 98.9% (578 of 584 strings)
2020-08-07 14:32:52 +02:00
karnak2016 5379cf0544
Translated using Weblate (Ukrainian)
Currently translated at 98.9% (578 of 584 strings)
2020-08-07 14:32:51 +02:00
TobiGr 6b5c37f17f
Translated using Weblate (Greek)
Currently translated at 83.2% (486 of 584 strings)
2020-08-07 14:32:51 +02:00
Terry Louwers 50b2fad180
Translated using Weblate (Dutch)
Currently translated at 100.0% (584 of 584 strings)
2020-08-07 14:32:51 +02:00
ButterflyOfFire b9cb65b24e
Translated using Weblate (Kabyle)
Currently translated at 31.5% (184 of 584 strings)
2020-08-06 15:51:51 +02:00
Avently d7574973e9 Reduced CPU usage when playing a video by 7-10% 2020-08-05 12:46:25 +03:00
Tobias Groza ff48c93d59
Merge pull request #4050 from TeamNewPipe/popup-setting-text
Reduce redundancy in "Remeber popup size and position" setting
2020-08-04 23:23:03 +02:00
Selyan Sliman Amiri 05b8c3f35f
Translated using Weblate (Kabyle)
Currently translated at 31.1% (182 of 584 strings)
2020-08-03 19:16:19 +02:00
ButterflyOfFire 70b643e7ba
Fixing name for Taqbaylit language
Fixing name for Taqbaylit language
2020-08-03 19:01:51 +02:00
TobiGr dce973a519 Add basic resize functionality
Addresses #3947
See 9e352df1ed
See https://developer.samsung.com/samsung-dex/modify-optimizing.html#Enabling-Multi-Window-support
2020-08-03 18:40:32 +02:00
Tobias Groza eb2f75579a
Merge pull request #3892 from wb9688/fix-local-playlist-tab
Fix crash when opening video in local playlist tab
2020-08-03 15:49:06 +02:00
Tobias Groza 773316ce4f
Merge pull request #4061 from avently/unsupported_api
Removed java.util.Objects calls
2020-08-03 15:32:56 +02:00
wb9688 5fd7ae33b4 Replace getFragmentManager() with getFM() 2020-08-03 14:47:10 +02:00
wb9688 13a065f2dc Fix crash when opening video in local playlist tab 2020-08-03 14:47:10 +02:00
wb9688 1a8ff81087 Use AppCompatImageButton to not crash on 4.4 2020-08-03 14:17:12 +02:00
Tobias Groza 65637fce40
Merge pull request #3944 from Stypox/playlist-layout
Improve playlist header layout: align with info items
2020-08-03 14:15:30 +02:00
ButterflyOfFire b11fa7a28e
Translated using Weblate (Kabyle)
Currently translated at 6.5% (38 of 584 strings)
2020-08-03 13:04:58 +02:00
Avently 45408caf33 Removed java.util.Objects calls 2020-08-03 03:33:51 +03:00
Stypox 963ee4dbab
Merge branch 'dev' into pr3178 2020-08-02 22:59:43 +02:00
TobiGr 3b46d5a440
Translated using Weblate (Catalan)
Currently translated at 85.2% (498 of 584 strings)
2020-08-02 13:20:01 +02:00
Kim Nyberg 212fddd8e1
Translated using Weblate (Swedish)
Currently translated at 98.2% (574 of 584 strings)
2020-08-02 13:20:01 +02:00
ktln 433485470e
Translated using Weblate (Armenian)
Currently translated at 12.8% (75 of 584 strings)
2020-08-02 13:20:00 +02:00
TobiGr e160a1f794
Translated using Weblate (Armenian)
Currently translated at 12.8% (75 of 584 strings)
2020-08-02 13:20:00 +02:00
WaldiS 7911b7e637
Translated using Weblate (Polish)
Currently translated at 100.0% (584 of 584 strings)
2020-08-02 13:19:59 +02:00
Oğuz Ersen 7fc5a77e7e
Translated using Weblate (Turkish)
Currently translated at 99.6% (582 of 584 strings)
2020-08-02 13:19:59 +02:00
TobiGr f0fb55640e
Translated using Weblate (Romanian)
Currently translated at 69.5% (406 of 584 strings)
2020-08-02 13:19:59 +02:00
TobiGr d5685f2255
Translated using Weblate (Slovenian)
Currently translated at 55.9% (327 of 584 strings)
2020-08-02 13:19:58 +02:00
Igor Nedoboy a732233db6
Translated using Weblate (Russian)
Currently translated at 100.0% (584 of 584 strings)
2020-08-02 13:19:55 +02:00
Laszlo Almasi a5918c29ee
Translated using Weblate (Hungarian)
Currently translated at 72.9% (426 of 584 strings)
2020-08-02 13:19:55 +02:00
TobiGr 3b719803bb
Translated using Weblate (Hungarian)
Currently translated at 72.9% (426 of 584 strings)
2020-08-02 13:19:54 +02:00
TobiGr d77463c9f1
Translated using Weblate (German)
Currently translated at 100.0% (584 of 584 strings)
2020-08-02 13:19:53 +02:00
TobiGr 2d8fd9bedf
Translated using Weblate (Hungarian)
Currently translated at 62.3% (364 of 584 strings)
2020-08-02 12:07:46 +02:00
Laszlo Almasi b17a667a9d
Translated using Weblate (Hungarian)
Currently translated at 62.3% (364 of 584 strings)
2020-08-02 12:07:46 +02:00
Tobias Groza b7287a070b
Make title and summary of "Remeber popup size and position" setting less redundant 2020-08-02 11:07:48 +02:00
Artyom baaf2815e4
Translated using Weblate (Russian)
Currently translated at 100.0% (584 of 584 strings)
2020-08-01 19:03:30 +02:00
Tobias Groza d8b5549fd9
Merge pull request #2907 from avently/unifiedplayer
Expandable player with unified UI
2020-08-01 12:53:19 +02:00
wb9688 6de03f2bf0 Fix crash when playing stream in background with shuffle in notification 2020-07-31 09:25:32 +02:00
wb9688 caf7c55069 Log only in debug build 2020-07-31 09:10:28 +02:00
wb9688 7d499ffba1 Use vector drawables for close and replay 2020-07-31 09:10:28 +02:00
cool-student 4abf6b2f5c Notification Improvements
- add MediaStyle notifications for Background and Popup playback
- reduce excessive notification updating ( / recreating of Notification.Builder object) when playing background / popup media
- add new buffering state indicator (can be disabled)
- upscale close icon / downscale replay icon
- add notification slot settings
- move notification settings to appearance
- fix Metadata (song title, artist and album art) sometimes not being set correctly
- other misc notification fixes

Co-authored-by: wb9688 <wb9688@users.noreply.github.com>
2020-07-31 09:10:28 +02:00
Mateo Coltura a842b06301
Translated using Weblate (Flemish)
Currently translated at 73.6% (430 of 584 strings)
2020-07-30 23:12:37 +02:00
Oymate 0bca4925d7
Translated using Weblate (Bengali (Bangladesh))
Currently translated at 32.7% (191 of 584 strings)
2020-07-30 23:12:37 +02:00
Éfrit ae3953cbec
Translated using Weblate (French)
Currently translated at 100.0% (584 of 584 strings)
2020-07-30 23:12:36 +02:00
Raymundo a99667c54c
Translated using Weblate (Spanish)
Currently translated at 100.0% (584 of 584 strings)
2020-07-30 23:12:35 +02:00
Ajeje Brazorf 465963a8c2
Translated using Weblate (Sardinian)
Currently translated at 99.4% (581 of 584 strings)
2020-07-30 01:08:02 +02:00
Digiwizkid b9b4762faf
Translated using Weblate (Bengali (India))
Currently translated at 61.6% (360 of 584 strings)
2020-07-30 01:07:50 +02:00
MohammedSR Vevo a56b128a4b
Translated using Weblate (Kurdish)
Currently translated at 99.3% (580 of 584 strings)
2020-07-30 01:07:49 +02:00
sudoLife d43cc089fd
Translated using Weblate (Lithuanian)
Currently translated at 42.9% (251 of 584 strings)
2020-07-30 01:07:49 +02:00
Jeff Huang 771513d287
Translated using Weblate (Chinese (Traditional))
Currently translated at 99.8% (583 of 584 strings)
2020-07-30 01:07:48 +02:00
Samuel Carvalho de Araújo c387678217
Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.8% (583 of 584 strings)
2020-07-30 01:07:48 +02:00
thami simo 847368718b
Translated using Weblate (Arabic)
Currently translated at 100.0% (584 of 584 strings)
2020-07-30 01:07:48 +02:00
pjammo 458b3daac3
Translated using Weblate (Italian)
Currently translated at 99.8% (583 of 584 strings)
2020-07-30 01:07:47 +02:00
AioiLight 3ea5278b12
Translated using Weblate (Japanese)
Currently translated at 99.8% (583 of 584 strings)
2020-07-30 01:07:47 +02:00
sudoLife 20b9748a8c
Translated using Weblate (Russian)
Currently translated at 100.0% (584 of 584 strings)
2020-07-30 01:07:46 +02:00
Artyom 79487adbec
Translated using Weblate (Russian)
Currently translated at 100.0% (584 of 584 strings)
2020-07-30 01:07:46 +02:00
sudoLife 89f3fca6b1
Translated using Weblate (English)
Currently translated at 99.8% (583 of 584 strings)
2020-07-30 01:07:46 +02:00
Tobias Groza f290b2bf5a
Merge pull request #3982 from Stypox/fix-acra
Fix ACRA bug reports not containing stack trace
2020-07-29 17:58:52 +02:00
Stypox 04e7d13043
Remove deprecated calls to set Sender class to ACRA
setReportSenderFactoryClasses() is deprecated, now extensions (ReportSenderFactory is an extension) should be registered using AutoService: https://github.com/ACRA/acra/wiki/Custom-Extensions#by-annotation
2020-07-29 10:56:33 +02:00
Avently e41218c46b Disable starting player service via media button when there is nothing to play (no active play queue) 2020-07-28 21:36:06 +03:00
Avently 8562fbdbbe Merge branch 'dev' 2020-07-28 21:35:01 +03:00
Anxhelo Lushka c841d7a32b
Translated using Weblate (Albanian)
Currently translated at 100.0% (584 of 584 strings)
2020-07-28 17:20:25 +02:00
Ville Rantanen 8827ae4d2c
Translated using Weblate (Finnish)
Currently translated at 100.0% (584 of 584 strings)
2020-07-28 17:20:24 +02:00
chr56 2e1029e157
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (584 of 584 strings)
2020-07-28 17:20:24 +02:00
Rafael Gonçalves a7dc0c2d55
Translated using Weblate (Portuguese (Brazil))
Currently translated at 98.8% (577 of 584 strings)
2020-07-28 17:20:24 +02:00
WaldiS 7f1749d853
Translated using Weblate (Polish)
Currently translated at 100.0% (584 of 584 strings)
2020-07-28 17:20:23 +02:00
zmni b4a34d58db
Translated using Weblate (Indonesian)
Currently translated at 100.0% (584 of 584 strings)
2020-07-28 17:20:23 +02:00
ssantos 4a50fcab2c
Translated using Weblate (Portuguese)
Currently translated at 100.0% (584 of 584 strings)
2020-07-28 17:20:23 +02:00
Bernd N c9ef089199
Translated using Weblate (German)
Currently translated at 100.0% (584 of 584 strings)
2020-07-28 17:20:14 +02:00
TobiGr 94ecf9a081 Merge remote-tracking branch 'Weblate/dev' into dev 2020-07-28 13:46:36 +02:00
Stypox 67aaa9a655
Make local playlist layout consistent with remote one 2020-07-28 13:10:28 +02:00
TobiGr 45d1c63895 Fix color of correct / suggested search term
Fixes TeamNewPipe/NewPipe#3973
2020-07-28 11:41:23 +02:00
Stypox 21d1f69d6d
Do not init ACRA if inside its own process
https://github.com/ACRA/acra/wiki/Troubleshooting-Guide#applicationoncreate
2020-07-28 10:48:54 +02:00
Stypox 1b9f5989ef
Fix empty stacktrace in bug report
ACRA has to be initialized after MultiDex
https://github.com/ACRA/acra/issues/619
https://github.com/ACRA/acra/wiki/Troubleshooting-Guide#legacy-multidex
2020-07-28 10:48:25 +02:00
Hosted Weblate 348e46ff3b
Merge branch 'origin/dev' into Weblate. 2020-07-28 09:55:58 +02:00
TobiGr 7918e3a1aa Update version to 0.19.8 (953)
Update extractot version.
Fix extraction of YouTube's decryption function.
2020-07-28 01:07:13 +02:00
TobiGr d6d8c7830c Merge branch 'dev' 2020-07-26 14:40:57 +02:00
TobiGr f53a0f0d07 Update version to 0.19.7 (952) 2020-07-26 14:39:18 +02:00
TobiGr b0685c153a Update extractor version 2020-07-26 14:26:09 +02:00
Hosted Weblate a5ca20ee4c
Merge branch 'origin/dev' into Weblate. 2020-07-26 13:22:12 +02:00
Stypox 03685db2fc
Improve playlist header layout: align with info items 2020-07-26 12:04:40 +02:00
Avently 68ed738dcd Renamed files 2020-07-25 09:45:33 +03:00
Avently 5293d17e32 Removed unused files, translations, styles, settings key 2020-07-25 09:39:42 +03:00
Avently f2e4b69466 Another part of UI improvements for Android TV
- focus will be hidden right after start of a video; fullscreen works like this too
- back button will not needed to be pressed one more time like before
- prev & next buttons for playqueue will be hidden with play/pause button before video be ready to play
2020-07-25 07:00:53 +03:00
Avently ec8b00042b Merged the latest code 2020-07-25 04:18:41 +03:00
Avently 08db1d59e5 Android TV: ability to select all buttons in the main player, as well as in the main fragment 2020-07-25 04:14:29 +03:00
Avently 7c79d421e8 Quality selector for external playback and better fullscreen mode for old devices 2020-07-24 00:43:09 +03:00
TobiGr ade5e38fa5 Disable shrinkResources to fix F-Droid's reproducible build
For more information see https://f-droid.org/docs/Reproducible_Builds/#resource-shrinker
2020-07-23 21:19:47 +02:00
Tobias Groza 7385aa09a8
Merge pull request #3928 from wb9688/disable-shrink-resources
Disable shrinkResources
2020-07-23 18:02:44 +02:00
wb9688 185a5fad88 Disable shrinkResources 2020-07-23 13:24:48 +02:00
Hosted Weblate a1e2477d14
Merge branch 'origin/dev' into Weblate. 2020-07-22 19:15:38 +02:00
Ajeje Brazorf a1200a5fff
Added translation using Weblate (Sardinian) 2020-07-22 19:15:35 +02:00
Avently 91a0257c8f Fixes for Android API <21 2020-07-22 17:19:32 +03:00
Alexander-- 801267df18
Add @NonNull annotation to method argument
Co-authored-by: Tobias Groza <TobiGr@users.noreply.github.com>
2020-07-22 07:57:04 -04:00
Alexander-- 6e73e0b395 Use View.isShown() to avoid focus overlay glitches
A View can become focused while being invisible, if it's
parent is invisible. Use global draw listener and
View.isShown() to catch such cases.
2020-07-22 06:21:25 +06:59
Avently 7aa8a5c368 Fixed a situation when background playback could use a video stream instead of an audio stream 2020-07-22 02:20:58 +03:00
Avently 3ecbbea7cb Better TV support, icons, activity_main refactoring
- on Android TV you'll be able to navigate with D-pad in main fragment and in the player. But not between them for now
- play/pause/next/previous buttons are smaller now
- replaced ic_list with previous version of it
- activity_main looks better which helps with Android TV support
2020-07-22 01:20:30 +03:00
Avently 77cd3182f1 Removed unused line 2020-07-21 01:53:59 +03:00
Avently c7ccf9bab8 AndroidTvUtils -> DeviceUtils 2020-07-21 01:43:49 +03:00
Avently 06e70abb86 Merged the latest changes 2020-07-21 01:37:36 +03:00
TobiGr 88c86e88b0 Update extractor version 2020-07-20 20:34:02 +02:00
Hosted Weblate 2d6cf48532
Merge branch 'origin/dev' into Weblate. 2020-07-18 15:48:16 +02:00
Tobias Groza 19e152a54b
Merge pull request #3689 from wb9688/next-stream
Remove calls to getNextStream()
2020-07-18 11:59:04 +02:00
Tobias Groza 2898bead66
Merge pull request #3902 from wb9688/null-description
Check for description == null
2020-07-18 11:54:10 +02:00
Hosted Weblate a3de3705f7
Merge branch 'origin/dev' into Weblate. 2020-07-18 10:16:37 +02:00
Mario Rossi dc3dc6b77f
Added translation using Weblate (Neapolitan) 2020-07-18 10:16:35 +02:00
wb9688 e028a63f30 Check for description == null 2020-07-18 10:01:44 +02:00
Avently d196f8b4b2 New icons 2020-07-16 01:15:24 +03:00
wb9688 4274827dbe Use relatedItems instead of info.getRelatedStreams() 2020-07-15 18:52:36 +02:00
wb9688 7a30f4a7d2 Remove calls to getNextStream() 2020-07-14 21:27:59 +02:00
wb9688 d0c03a0211 Use androidx.annotation.NonNull instead of io.reactivex.annotations.NonNull 2020-07-14 21:15:29 +02:00
Avently 787b136d13 NonNull instead of NotNull annotations 2020-07-14 22:08:12 +03:00
Avently 08412d6108 Mini player slide to botom fix, buttons size fix 2020-07-14 21:52:55 +03:00
Avently d8f7db4715 Made checkStyle happy 2020-07-14 20:21:32 +03:00
Avently bff238774e Small fixes of issues 2020-07-13 23:28:39 +03:00
Avently d2aaa6f691 Merged the latest changes 2020-07-13 04:17:21 +03:00
Avently b2164ce5fc Marked many (too many) variables as final 2020-07-12 03:59:47 +03:00