Commit graph

620 commits

Author SHA1 Message Date
Stypox
4919161754 Show video metadata below the decription 2021-06-02 14:19:25 +02:00
Zhiheng Xu
8b6da2f3ba Simplify code 2021-05-26 12:01:58 -04:00
Zhiheng Xu
0bb046dc7b Add comment 2021-05-26 12:01:58 -04:00
Zhiheng Xu
0e2f4f1922 Add formatting removal on paste for search
Closes #5912
2021-05-26 12:01:58 -04:00
camo0112
bbc89ffea6 Fix display of channel details when it has no videos 2021-04-09 12:45:43 +05:30
krlvm
ef0999b9c3 Merge branch 'dev' into daynight 2021-04-03 00:08:26 +03:00
Stypox
fa3867ebde Merge pull request #5974 from fynngodau/related-items
Rename related streams to related items
2021-04-02 20:34:39 +02:00
Saurav Rao
065fd7afab NullPointerException on screen rotation during exit fix (#5976) 2021-04-01 15:07:21 +02:00
Fynn Godau
36177cefaa Rename related streams to related items 2021-03-31 22:33:22 +02:00
Stypox
7e39224074 Merge pull request #5944 from Stypox/fix-search-menu
Fix some random NullPointerExceptions
2021-03-31 15:21:13 +02:00
Stypox
858361f0bb Fix random NullPointerException in PlaylistFragment 2021-03-31 09:12:47 +02:00
Stypox
9f4fd09cfc Fix random NullPointerException in SearchFragment 2021-03-31 09:12:45 +02:00
Mohammed Anas
a613b17990 Add channel details option to long-press menu (#5851)
Add dialog item to open channel details
Use `List` as type of `entries`
Put channel details item last
Only show channel option when channel is present
2021-03-28 18:32:40 +02:00
krlvm
4f07840b44 Remove unused SuggestionListAdapter.resolveResourceIdFromAttr 2021-03-28 15:12:59 +03:00
krlvm
0e9ca54c4e Fix Search colors on KitKat 2021-03-28 14:55:54 +03:00
krlvm
224a86a124 Fix tab highlight opacity on KitKat 2021-03-28 14:43:11 +03:00
krlvm
a8de222577 Fix Dark elements in Light Theme 2021-03-27 17:46:05 +03:00
Stypox
b654da4e4c Fix error panel created in onViewCreated() but disposed in onDestroy() 2021-03-24 09:27:17 +01:00
Stypox
e608ad777f Merge pull request #5820 from TeamNewPipe/mini_player_title
Fix empty stream title in minimized player
2021-03-17 08:56:50 +01:00
TobiGr
bc2333cdc9 Ignore ContentNotSupportedException caused by Bandcamp fan pages 2021-03-14 17:52:15 +01:00
Tobi
714c9fb397 Merge pull request #5148 from Stypox/error-panel
Show improved error panel instead of annoying snackbar or crashing
2021-03-14 17:41:27 +01:00
Tobi
5f9da04d93 Merge pull request #5562 from mbarashkov/hardware_keyboard_space_shortcut_v2
Implement "pause/play" toggle on hardware keyboard space button.
2021-03-14 13:08:44 +01:00
TobiGr
7f9fdb1e4c Fix empty stream title in minimized player 2021-03-13 20:12:57 +01:00
Stypox
ef661dcaf4 Fix error panel and search fragment state saving 2021-03-12 23:21:54 +01:00
Stypox
c401e8ad76 Hide meta info panel in search when starting a new search 2021-03-12 23:21:54 +01:00
Stypox
47c3ebcd98 Fix views not scrollable when showing error panel 2021-03-12 23:21:54 +01:00
Stypox
22c92f1fb3 Completely remove return activity, now outdated 2021-03-12 23:21:54 +01:00
Stypox
9dc583da87 Optimize imports and solve checkstyle issues 2021-03-12 23:21:53 +01:00
Stypox
0ea6b4928c Add report/solve-recaptcha button in error panel
It will be shown even when nothing could be loaded not due to a network error, and the user can choose to ignore or report it.

Also improve error reporting arguments
Also completely refactor error activity
Also improve some code here and there
2021-03-12 23:21:49 +01:00
Stypox
bb398189d6 Move all error-related classes into error package 2021-03-07 17:49:28 +01:00
TiA4f8R
78e37c1705 Add different error messages for SoundCloud and YouTube unavailable contents
Add new error strings for the six new exceptions created in the extractor and catch these exceptions. Extractor is, of course, updated with this PR.
2021-03-07 15:33:25 +01:00
Tobi
79e28b7aa2 Merge pull request #5563 from Stypox/fix-tablayout-visibility
Fix tab layout visibility with age restricted videos
2021-02-14 21:32:10 +01:00
Stypox
aac5abedd0 Hide tab layout view pager on error 2021-02-14 13:40:17 +01:00
Stypox
e0ca7d6494 Fix tab layout visibility with age restricted videos
Add comments
2021-02-14 13:25:39 +01:00
Mikhail Barashkov
0569989126 Implement "pause/play" toggle on hardware keyboard space button. 2021-02-12 11:58:15 +03:00
Stypox
52ced8bf9c Fix channel subscribe button causing crash in main page tab
The binding was being set to null on onDestroyView() instead of in onDestroy()
2021-01-21 15:31:50 +01:00
Stypox
64c7884850 Animate secondary controls toggle 2021-01-17 15:59:29 +01:00
Stypox
ff97338c11 Use KoreUtil function 2021-01-17 15:46:00 +01:00
Stypox
83b548da4b Hide tab layout in detail fragment when there is no space 2021-01-17 15:42:54 +01:00
Stypox
4c88c573ec Add content description to detail fragment tabs 2021-01-17 15:38:12 +01:00
Stypox
6d7ad35457 Add preference to hide description tab in video details 2021-01-17 15:36:42 +01:00
Stypox
923a68beaf Add icons to VideoDetailFragment tab layout for better accessibility 2021-01-17 15:34:24 +01:00
Stypox
8a4783f97b Move description to a tab alongside related streams and comments 2021-01-17 15:26:25 +01:00
Stypox
249ea33571 Add a secondary control panel to video detail fragment
It is shown when the user expands the description
It contains share, open in browser and play in kodi
2021-01-17 15:12:29 +01:00
Isira Seneviratne
8c73c2fe86 Use view binding in VideoDetailFragment. 2021-01-17 09:57:40 +05:30
Stypox
2f181dfc16 Move TextLinkifier computation out of main thread 2021-01-16 13:23:42 +01:00
TiA4f8R
e44495af9a Apply the requested changes and little improvements
Apply the requested changes, use ShareUtils.shareText to share an stream in the play queue and optimize imports for Java files, using Android Studio functionality.

Apply the requested changes and do little improvements
Apply the requested changes, use ShareUtils.shareText to share an stream in the play queue and optimize imports for Java files, using Android Studio functionality.
2021-01-16 13:23:42 +01:00
TiA4f8R
d2cb003585 External sharing improvements
Improve NewPipe's share on some devices + fix crash when no browser is set on some devices

Catching ActivityNotFoundException when trying to open the default browser
Use an ACTION_CHOOSER intent and put as an extra intent the intent to
open an URI / share an URI when no default app is set.

Add a LinkHelper class which set a custom action when clicking web links
in the description of a content. This class also helps to implement a confirmation dialog when trying to open web links in an external app.
2021-01-16 13:23:06 +01:00
Isira Seneviratne
0f66853a9a Convert AnimationUtils functions to extension functions. 2021-01-16 14:49:37 +05:30
Robin
d0ea0ea8b9 Merge pull request #5274 from vkay94/stream-segments
Add stream segments to player controls
2021-01-15 10:59:34 +01:00