Commit Graph

5755 Commits

Author SHA1 Message Date
wb9688 9bbd03c14e Bump NewPipeExtractor version 2020-04-10 10:37:03 +02:00
wb9688 2852815e1a Use suggested layout for search filters 2020-04-10 10:35:54 +02:00
wb9688 41a100613f Add ability to translate YouTube Music search options 2020-04-10 10:35:54 +02:00
Stypox 63e489f134 Use ITEM_COUNT_UNKNOWN 2020-04-10 10:35:54 +02:00
Stypox 914d3c4a66 Use "mini" stream count alternatives for info items
Note: more_than_100_videos_mini and infinite_videos_mini are untranslatable
2020-04-10 10:35:54 +02:00
Stypox 2b47a1b06a Also use localizeStreamCount() in local items 2020-04-10 10:35:54 +02:00
Stypox 625419a7db Detect ITEM_COUNT_* in localizeStreamCount()
ITEM_COUNT_INFINITE and ITEM_COUNT_MORE_THAN_100.
Use localizeStreamCount in PlaylistFragment and PlaylistItemHolder
2020-04-10 10:35:54 +02:00
Stypox 2710d9de5b Add support for INFINITE_ and MORE_THAN_100_ITEMS in playlists 2020-04-10 10:35:53 +02:00
bopol 4c128d837c handle ContentNotSupportedException for Channel Fragment (when an user has no video tab) 2020-04-10 09:12:29 +02:00
bopol c392804f47 handle ContentNotSupportedException in ExtractorHelper.handleGeneralException() 2020-04-09 23:58:01 +02:00
bopol cc7a25d9ce handle ContentNotSupportedException in BaseStateFragment
thus not supported soundcloud streams (e.g. hls streams) don't crash
anyore
2020-04-09 23:58:01 +02:00
wb9688 36b2bea25f
Merge pull request #3395 from kapodamy/checkstyle-warnings
remove some warnings issued by checkstyle
2020-04-09 21:08:53 +02:00
Mauricio Colli 913796ff0f
Use exception utils in network error detection throughout the app 2020-04-09 13:22:24 -03:00
Mauricio Colli a1b9892c77
Move exception utils to a separate class and add tests for it 2020-04-09 13:22:18 -03:00
wb9688 03de4b29ea Suppress remaining Checkstyle errors 2020-04-09 17:24:43 +02:00
Hosted Weblate 35a706f745
Merge branch 'origin/dev' into Weblate. 2020-04-09 08:58:43 +02:00
Tobias Groza 65cd9751d8
Merge pull request #3288 from XiangRongLin/save-playback
Save and restore playback parameters into/from preferences
2020-04-08 21:38:53 +02:00
kapodamy ff9a1ebb1b checkstyle
* drop unused methods
* split blobs
* make no final parameters
2020-04-08 12:08:01 -03:00
Hosted Weblate b5df000e9d
Merge branch 'origin/dev' into Weblate. 2020-04-08 14:09:42 +02:00
Claudio Maradonna 655522a3e5
Translated using Weblate (Italian)
Currently translated at 99.6% (558 of 560 strings)
2020-04-08 14:09:40 +02:00
wb9688 e4a4af34c5
Merge pull request #3276 from lnjX/fix/the-the-typo
ThemeHelper: Fix 'the the' typo
2020-04-07 09:25:00 +02:00
wb9688 b047e562ca
Merge branch 'dev' into fix/the-the-typo 2020-04-07 09:17:10 +02:00
Software In Interlingua 2d0dadbd34
Translated using Weblate (Interlingua)
Currently translated at 35.5% (199 of 560 strings)
2020-04-07 05:23:54 +02:00
Tajnymag 49879bc9db
Translated using Weblate (Czech)
Currently translated at 100.0% (560 of 560 strings)
2020-04-07 05:23:53 +02:00
Mauricio Colli 225b9e1b15
Fix visibility of group sort button in the subscriptions fragment 2020-04-05 16:57:28 -03:00
ssantos 7a9d2c9a74
Translated using Weblate (Portuguese)
Currently translated at 100.0% (560 of 560 strings)
2020-04-05 19:41:29 +02:00
Xiang Rong Lin 3855e488cb Save and restore playback parameters into/from preferences
Playback parameters are speed, pitch and skip silence.
Remove parameters being passed on as intent to the player, since the parameters can be restored from the preferences instead.

# Conflicts:
#	app/src/main/java/org/schabi/newpipe/player/BasePlayer.java
2020-04-05 17:46:49 +02:00
Hosted Weblate ce75747887
Merge branch 'origin/dev' into Weblate. 2020-04-05 17:08:38 +02:00
Bruno Arruda c462766cb8
Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.8% (559 of 560 strings)
2020-04-05 17:08:38 +02:00
anonymous bb905b70df
Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.8% (559 of 560 strings)
2020-04-05 17:08:35 +02:00
Mauricio Colli c726639484
Avoid unnecessary changes to the upload date of saved streams
The upload date was being updated regardless if the new one had more
precision or not, this caused items on the feed to jump around when the
user opened one of them.

This changes it to only update when the existent upload date is null or
the new one has a higher precision (i.e. is not an approximation).
2020-04-05 10:57:54 -03:00
Mahyuddin 100c7b8360
Translated using Weblate (Acehnese)
Currently translated at 7.3% (41 of 560 strings)
2020-04-05 11:34:48 +02:00
WaldiS 5502df89bb
Translated using Weblate (Polish)
Currently translated at 100.0% (560 of 560 strings)
2020-04-05 11:34:47 +02:00
mitosagi 4491b66872 Make null sortable 2020-04-05 17:26:00 +09:00
Mahyuddin 9bc24728b4
Added translation using Weblate (Acehnese) 2020-04-05 09:47:16 +02:00
Hosted Weblate a3a00ea052
Merge branch 'origin/dev' into Weblate. 2020-04-05 04:25:04 +02:00
Allan Nordhøy 1b1534add5
Translated using Weblate (Norwegian Bokmål)
Currently translated at 89.6% (502 of 560 strings)
2020-04-05 04:25:01 +02:00
Enol P a54c8d4f55
Translated using Weblate (Asturian)
Currently translated at 51.9% (291 of 560 strings)
2020-04-05 04:25:01 +02:00
JoC 0cddd15203
Translated using Weblate (Spanish)
Currently translated at 100.0% (560 of 560 strings)
2020-04-05 04:25:00 +02:00
Tobias Groza 5653d443d9
Merge pull request #3344 from wb9688/checkfornewappversiontask-downloaderimpl
Use DownloaderImpl in CheckForNewAppVersionTask
2020-04-04 20:11:39 +02:00
wb9688 a5a497c4ea Clean up CheckForNewAppVersionTask 2020-04-04 19:34:13 +02:00
Hemanta Sharma a435167619
Translated using Weblate (Nepali)
Currently translated at 100.0% (560 of 560 strings)
2020-04-04 17:31:05 +02:00
Allan Nordhøy 99c823c763
Translated using Weblate (Norwegian Bokmål)
Currently translated at 89.1% (499 of 560 strings)
2020-04-04 17:31:04 +02:00
Jeff Huang aebed13a40
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (560 of 560 strings)
2020-04-04 17:31:03 +02:00
AioiLight 1347bdd545
Translated using Weblate (Japanese)
Currently translated at 100.0% (560 of 560 strings)
2020-04-04 17:31:03 +02:00
Hemanta Sharma 3a2444db0d
Translated using Weblate (Nepali)
Currently translated at 100.0% (560 of 560 strings)
2020-04-04 14:23:21 +02:00
zeritti 14d01ae358
Translated using Weblate (Czech)
Currently translated at 100.0% (560 of 560 strings)
2020-04-04 14:23:19 +02:00
Éfrit 1f4b147ddd
Translated using Weblate (French)
Currently translated at 100.0% (560 of 560 strings)
2020-04-04 14:23:19 +02:00
Hosted Weblate cb7ed4079f
Merge branch 'origin/dev' into Weblate. 2020-04-04 09:17:37 +02:00
anonymous 89fbc055f4
Translated using Weblate (Nepali)
Currently translated at 99.8% (559 of 560 strings)
2020-04-04 09:17:35 +02:00
Hemanta Sharma df12b838ad
Translated using Weblate (Nepali)
Currently translated at 99.8% (559 of 560 strings)
2020-04-04 09:17:35 +02:00
Allan Nordhøy 055fa19c9b
Translated using Weblate (Nepali)
Currently translated at 99.8% (559 of 560 strings)
2020-04-04 09:17:34 +02:00
Allan Nordhøy d1b661506e
Translated using Weblate (Norwegian Bokmål)
Currently translated at 88.9% (498 of 560 strings)
2020-04-04 09:17:33 +02:00
anonymous 180ddcceaa
Translated using Weblate (Estonian)
Currently translated at 73.5% (412 of 560 strings)
2020-04-04 09:17:33 +02:00
Allan Nordhøy 512fad207b
Translated using Weblate (Punjabi)
Currently translated at 80.3% (450 of 560 strings)
2020-04-04 09:17:33 +02:00
Allan Nordhøy 82d514d857
Translated using Weblate (Kurdish)
Currently translated at 99.4% (557 of 560 strings)
2020-04-04 09:17:32 +02:00
Allan Nordhøy 037fac7cd4
Translated using Weblate (Tamil)
Currently translated at 36.4% (204 of 560 strings)
2020-04-04 09:17:32 +02:00
Allan Nordhøy ebad85664d
Translated using Weblate (Telugu)
Currently translated at 24.4% (137 of 560 strings)
2020-04-04 09:17:32 +02:00
Allan Nordhøy 4b626c39fe
Translated using Weblate (Persian)
Currently translated at 81.6% (457 of 560 strings)
2020-04-04 09:17:32 +02:00
Oğuz Ersen 81c539f150
Translated using Weblate (Turkish)
Currently translated at 100.0% (560 of 560 strings)
2020-04-04 09:17:31 +02:00
Emin Tufan Çetin 0e74d82777
Translated using Weblate (Turkish)
Currently translated at 100.0% (560 of 560 strings)
2020-04-04 09:17:31 +02:00
Allan Nordhøy 5ea34a3c07
Translated using Weblate (Slovak)
Currently translated at 93.9% (526 of 560 strings)
2020-04-04 09:17:31 +02:00
Igor Nedoboy 4f8c5c3c0a
Translated using Weblate (Russian)
Currently translated at 100.0% (560 of 560 strings)
2020-04-04 09:17:30 +02:00
opusforlife2 37e45e0984
Translated using Weblate (English)
Currently translated at 99.8% (559 of 560 strings)
2020-04-04 09:17:30 +02:00
Stypox 92ca1e6e09
Check if already running before removing watched 2020-04-03 20:41:21 +02:00
Stypox 6571fdbaa2
Fix checkstyle errors 2020-04-03 20:13:56 +02:00
Stypox 9c3f138b8e
Use binary search to remove watched items from playlists 2020-04-03 19:51:29 +02:00
developer 0ac2865b74
Optimised 'removeWatchedStreams'
Removed merge mistake
Reordered code
Refactored 'removeWatchedWorker' to 'removeWatchedDisposable'
2020-04-03 19:50:12 +02:00
Grady Clark 98fc88dec6
Simplified the removal of watched videos, into the function `removeWatchedStreams`
Replaced unnecessary nested class.
Fixed formating issues
2020-04-03 19:49:41 +02:00
Grady Clark 8cab790030
- Will now use ReactiveX instead of AsyncTask, when removing watched videos.
- Removed redundant file 'local_playlist_control'
- Fixed grammer issue
2020-04-03 19:49:41 +02:00
Grady Clark 954399b255
Moved the 'Remove Watched' button to the three dot menu button. 2020-04-03 19:49:01 +02:00
Grady Clark 66c95f901d
Added the ability to remove all watched videos from local playlists
Changes:
 - local_playlist_control.xml
   * A copy of playlist_control.xml
   * To hold the 'Remove Watched Videos' buttton

 - local_playlist_header.xml
   * Changed the include layout	to now include local_playlist_control.xml

 - strings.xml
   * added string 'remove_watched' with value 'Remove Watched'

 - LocalPlaylistFragment.java
   * Added the functionality to remove watched videos,
      to the 'Remove Watched Videos' button in local_playlist_control.xml.
      In the background via AsyncTask.
      This will also change the playlist's thumbnail, if the thumbnail video is removed.

Tested on:
 - Pixel
2020-04-03 19:47:31 +02:00
Tobias Groza 2403184845
Merge pull request #3282 from wb9688/checkstyle
Check code style with Checkstyle
2020-04-03 17:10:07 +02:00
wb9688 15a53d299d Revert some more changes 2020-04-03 15:48:38 +02:00
Hosted Weblate 24a1a5d680
Merge branch 'origin/dev' into Weblate. 2020-04-03 14:43:36 +02:00
Vojtěch Šamla c1cfff1502
Translated using Weblate (Czech)
Currently translated at 100.0% (560 of 560 strings)
2020-04-03 14:43:33 +02:00
TobiGr 8b2599297b Release 0.19.2 (920) 2020-04-03 10:38:03 +02:00
Igor Nedoboy 1ed387dd54
Translated using Weblate (Russian)
Currently translated at 100.0% (560 of 560 strings)
2020-04-03 04:39:52 +02:00
Igor Nedoboy 9c795895ba
Translated using Weblate (Russian)
Currently translated at 100.0% (560 of 560 strings)
2020-04-03 02:13:55 +02:00
Alexander-- 3c193dca58 Merge remote-tracking branch 'newpipe/dev' into rebase 2020-04-03 06:56:52 +06:59
Hosted Weblate ce2a8fbfab
Merge branch 'origin/dev' into Weblate. 2020-04-03 00:39:15 +02:00
Igor Nedoboy 4bbcf44351
Translated using Weblate (Russian)
Currently translated at 99.2% (556 of 560 strings)
2020-04-03 00:39:12 +02:00
TobiGr a9a43538be Merge remote-tracking branch 'Weblate/dev' into dev 2020-04-02 23:37:14 +02:00
Igor Nedoboy 905e4f16e2
Translated using Weblate (Russian)
Currently translated at 98.0% (549 of 560 strings)
2020-04-02 23:24:25 +02:00
anonymous 008489361d
Translated using Weblate (Russian)
Currently translated at 98.0% (549 of 560 strings)
2020-04-02 23:24:23 +02:00
Igor Nedoboy dfa7fb53b2
Translated using Weblate (Russian)
Currently translated at 98.0% (549 of 560 strings)
2020-04-02 23:24:22 +02:00
Igor Nedoboy 63194ff292
Translated using Weblate (Russian)
Currently translated at 97.3% (545 of 560 strings)
2020-04-02 23:16:56 +02:00
anonymous 53a727955f
Translated using Weblate (Russian)
Currently translated at 97.3% (545 of 560 strings)
2020-04-02 23:16:54 +02:00
Igor Nedoboy a8fca89045
Translated using Weblate (Russian)
Currently translated at 97.3% (545 of 560 strings)
2020-04-02 23:16:54 +02:00
anonymous 1eff727722
Translated using Weblate (Russian)
Currently translated at 95.5% (535 of 560 strings)
2020-04-02 22:46:22 +02:00
TobiGr faefe957b0 Change APK base name depending on the branch name for debug builds 2020-04-02 21:45:28 +02:00
zmni 401422deb3
Translated using Weblate (Indonesian)
Currently translated at 99.2% (556 of 560 strings)
2020-04-02 20:49:16 +02:00
AioiLight b52ed8e4c9
Translated using Weblate (Japanese)
Currently translated at 100.0% (560 of 560 strings)
2020-04-02 20:49:16 +02:00
wb9688 41061d0289 Use DownloaderImpl in CheckForNewAppVersionTask 2020-04-02 20:13:05 +02:00
wb9688 b6c6dc7282 Use Checkstyle for org.schabi.newpipe.streams as well 2020-04-02 16:48:57 +02:00
Mauricio Colli 45194061b3
Make the drawer layout adapt to any status bar size
This improves the drawer specifically for phones that have a notch.
2020-04-02 11:05:19 -03:00
wb9688 63bcc04eff Move things back to its original place 2020-04-02 15:57:50 +02:00
wb9688 fda5405e48 Improve code style to be more consistent 2020-04-02 15:57:50 +02:00
wb9688 819e52cab3 Check code style with Checkstyle 2020-04-02 15:57:50 +02:00
Kik Ki ea917c82b6
Translated using Weblate (Thai)
Currently translated at 49.6% (278 of 560 strings)
2020-04-02 10:51:35 +02:00
Xiang Xu 65d5303765
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (560 of 560 strings)
2020-04-02 10:51:35 +02:00
CE4 08d37a4bef
Translated using Weblate (German)
Currently translated at 100.0% (560 of 560 strings)
2020-04-02 10:51:35 +02:00
kapodamy 62d934dd8e fix integer overflows
* available() method in ChunkFileInputStream.java
* free "ahead space" calculation in CircularFileWriter.java
2020-04-01 15:30:33 -03:00
kapodamy 96086b7733 code cleanup 2020-04-01 15:30:32 -03:00
Tobias Groza 182fc104bb
Merge pull request #3259 from mauriciocolli/improve-drawer-layout
Improvements for the drawer header layout
2020-04-01 18:47:53 +02:00
Jeff Huang ff4b13245c
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (560 of 560 strings)
2020-04-01 09:10:33 +02:00
Stypox 00a8906128
Fix mute button causing crashes on API 19
Using rootView.getContext() because getApplicationContext() didn't work (it was probably missing information about theme)
2020-04-01 09:08:03 +02:00
opusforlife2 8b73d2d39f
Translated using Weblate (English)
Currently translated at 99.8% (559 of 560 strings)
2020-03-31 18:15:23 +02:00
Vojtěch Šamla e976b3e43e
Translated using Weblate (Czech)
Currently translated at 100.0% (560 of 560 strings)
2020-03-31 14:04:56 +02:00
Jakub Gajdoš 1585ca7c85
Translated using Weblate (Slovak)
Currently translated at 94.2% (528 of 560 strings)
2020-03-31 14:04:56 +02:00
TobiGr f7697007e5 Merge branch 'master' into dev 2020-03-31 12:33:16 +02:00
TobiGr ba151a8b83 Release 0.19.1 2020-03-31 00:24:13 +02:00
TobiGr a5153f5375 Improve database migration SQL statement 2020-03-31 00:20:13 +02:00
Mauricio Colli e6b3107997
Add tests for database migration to version 3 handling null values 2020-03-30 15:50:47 -03:00
Mauricio Colli 053440c4a8
Fix handling of null values in database migration to version 3
Some values prior to this version could be null, this wasn't handled
properly before.
2020-03-30 15:50:46 -03:00
CaptainCrumble 249e9c0b52
Translated using Weblate (Portuguese)
Currently translated at 100.0% (560 of 560 strings)
2020-03-30 17:33:56 +02:00
ssantos 099d5570f4
Translated using Weblate (Portuguese)
Currently translated at 100.0% (560 of 560 strings)
2020-03-30 17:33:54 +02:00
Alexander-- 6a84f433ea Merge remote-tracking branch 'newpipe/dev' into rebase 2020-03-30 16:54:51 +06:59
chr56 12bf409e10
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (560 of 560 strings)
2020-03-30 00:51:52 +02:00
ssantos a01f1e64fe
Translated using Weblate (German)
Currently translated at 100.0% (560 of 560 strings)
2020-03-30 00:11:01 +02:00
Tobias Groza 5f549a8fc6
Merge pull request #3289 from B0pol/grid_moreinfo
add upload date on stream grid items
2020-03-29 23:49:39 +02:00
TobiGr 7f21975971 release version 0.19.0 (900) 2020-03-28 20:32:20 +01:00
vlt23 3c3848d4f8 Fix UI crash in Settings, Content (chinese language) 2020-03-28 20:12:17 +01:00
TobiGr 949150f9ff Update extractor version 2020-03-28 19:18:37 +01:00
Tobias Groza 7c72f17fad
Merge pull request #3279 from mauriciocolli/fix-not-found-handling
Handle content not available exception more comprehensively
2020-03-28 19:10:43 +01:00
Mauricio Colli b4cabe23e3
Handle content not available exception more comprehensively 2020-03-28 14:54:52 -03:00
Tobias Groza 40de014732
Merge pull request #3283 from Stypox/fix-mute-button
Fix mute button inflation problems on API<21
2020-03-28 18:38:36 +01:00
Mauricio Colli f9b718f1eb
Use correct class for getting a vector drawable in older APIs 2020-03-28 14:30:47 -03:00
Mauricio Colli 4dc28989c8
Fix bug when searching for urls from shared content 2020-03-28 14:06:11 -03:00
Mauricio Colli f133bbf499
Introduce a proper way to find urls in a string input 2020-03-28 14:06:09 -03:00
WaldiS eb144af0b9
Translated using Weblate (Polish)
Currently translated at 100.0% (560 of 560 strings)
2020-03-28 17:09:30 +01:00
ssantos 0d020d3a54
Translated using Weblate (Portuguese)
Currently translated at 90.7% (508 of 560 strings)
2020-03-28 17:09:29 +01:00
Terry Louwers e1042e326d
Translated using Weblate (Dutch)
Currently translated at 100.0% (560 of 560 strings)
2020-03-28 17:09:29 +01:00
anonymous f085e7d362
Translated using Weblate (Dutch)
Currently translated at 100.0% (560 of 560 strings)
2020-03-28 17:09:29 +01:00
bopol b995f39206 add upload date on stream grid items
fixes #3175
2020-03-28 14:19:57 +01:00
Mauricio Colli d8e83dabc6
Temporary: Fix menu visibility when restoring state in the pager adapter
When restoring the state of the adapter, all the fragments' menu
visibility were set to false, effectively disabling the menu from the
user until he switched pages or another event that triggered the menu to
be visible again happened.

FragmentStatePagerAdapter is deprecated and should be replaced with its
ViewPager2 counterpart, until then, this should do it.
2020-03-27 11:30:38 -03:00
Terry Louwers 0be78b1204
Translated using Weblate (Dutch)
Currently translated at 100.0% (560 of 560 strings)
2020-03-27 10:50:58 +01:00
anonymous 0a67ecbc3a
Translated using Weblate (Dutch)
Currently translated at 100.0% (560 of 560 strings)
2020-03-27 10:50:56 +01:00
Terry Louwers c57b4ee965
Translated using Weblate (Dutch)
Currently translated at 100.0% (560 of 560 strings)
2020-03-27 10:50:31 +01:00
anonymous d4db7b3fc1
Translated using Weblate (Dutch)
Currently translated at 100.0% (560 of 560 strings)
2020-03-27 10:50:29 +01:00
Terry Louwers e9db964a70
Translated using Weblate (Dutch)
Currently translated at 100.0% (560 of 560 strings)
2020-03-27 10:48:08 +01:00
anonymous 90c8a714fc
Translated using Weblate (Dutch)
Currently translated at 100.0% (560 of 560 strings)
2020-03-27 10:48:06 +01:00
Terry Louwers d958c0c68a
Translated using Weblate (Dutch)
Currently translated at 100.0% (560 of 560 strings)
2020-03-27 10:48:05 +01:00
Terry Louwers 377d02ab1a
Translated using Weblate (Dutch)
Currently translated at 100.0% (560 of 560 strings)
2020-03-27 10:46:46 +01:00
anonymous 2c0ad89a07
Translated using Weblate (Dutch)
Currently translated at 100.0% (560 of 560 strings)
2020-03-27 10:46:42 +01:00
Terry Louwers 101a8adbc2
Translated using Weblate (Dutch)
Currently translated at 100.0% (560 of 560 strings)
2020-03-27 09:34:55 +01:00
anonymous 5009fa461c
Translated using Weblate (Dutch)
Currently translated at 100.0% (560 of 560 strings)
2020-03-27 09:34:53 +01:00
Terry Louwers f48f6ae5df
Translated using Weblate (Dutch)
Currently translated at 100.0% (560 of 560 strings)
2020-03-27 09:32:53 +01:00
Terry Louwers be504212d0
Translated using Weblate (Dutch)
Currently translated at 100.0% (560 of 560 strings)
2020-03-27 09:32:51 +01:00
anonymous 0f075137c9
Translated using Weblate (Dutch)
Currently translated at 100.0% (560 of 560 strings)
2020-03-27 09:32:50 +01:00