Commit graph

586 commits

Author SHA1 Message Date
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
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
Isira Seneviratne
9e61da1398 Fix the crash that occurs on navigating back to the main fragment. 2021-01-15 06:54:20 +05:30
vkay94
c775ab64ef Add stream segments to player 2021-01-14 21:58:19 +01:00
Tobias Groza
1cc9179f39 Merge pull request #4939 from Atemu/dont-exit-fullscreen-on-rotation
VideoDetailFragment: Don't exit fullscreen on rotation in tablet UI
2021-01-14 16:25:51 +01:00
Stypox
747d629732 Merge pull request #4947 from Isira-Seneviratne/Convert_ExceptionUtils_to_extensions
Rewrite ExceptionUtils methods as extension functions.
2021-01-14 14:54:37 +01:00
Stypox
afa6b5c572 Merge pull request #4814 from Isira-Seneviratne/Use_view_binding_in_fragments
Use view binding in fragments.
2021-01-14 14:40:19 +01:00
Stypox
3abdc9e987 Revert hiding detail fragment tabs when in fullscreen 2021-01-14 10:25:48 +01:00
Stypox
959622da38 Merge player classes into a single one 2021-01-14 10:25:44 +01:00
Isira Seneviratne
a350d46344 Use view binding in SearchFragment. 2021-01-14 11:16:04 +05:30
Isira Seneviratne
220d97ba1b Use view binding in ChannelFragment. 2021-01-14 11:16:03 +05:30
Isira Seneviratne
839a4e08d2 Use view binding in MainFragment. 2021-01-14 11:15:58 +05:30
Isira Seneviratne
b9768516f0 Return ViewBinding instead of View in BaseListFragment's getListHeader() and getListFooter() methods. 2021-01-14 11:15:57 +05:30
Tobias Groza
5bf5b040b7 Merge pull request #5310 from khimaros/list-play-kodi
add list item to play video on kodi
2021-01-13 17:02:56 +01:00
Isira Seneviratne
4d59466977 Rewrite ExceptionUtils methods as extension functions. 2021-01-11 16:49:45 +05:30
bopol
b3dbd44db3 Merge remote-tracking branch 'upstream/dev' into sepiasearch 2021-01-10 15:53:20 +01:00
Mikhail Barashkov
534dfa14dc When in Fullscreen playback mode, toggle play/pause with the hardware Space button. 2021-01-07 17:32:16 +02:00
khimaros
f218a99c38 pass serviceId instead of item, reduce duplication 2021-01-02 11:24:33 -08:00
Stypox
3ff50a604f Merge pull request #5221 from B0pol/notifications
Dynamically get package name
2021-01-01 18:05:43 +01:00
khimaros
0030b426b0 address pull request feedback 2020-12-30 14:45:14 -08:00
khimaros
100ace08b8 add list item to play video on kodi
closes: #5157
2020-12-29 18:53:32 -08:00
urlordjames
c02741e092 Fix #4481 2020-12-28 09:46:10 -05:00
bopol
4510cbd4dd Merge branch 'dev' into sepiasearch 2020-12-23 15:23:19 +01:00
bopol
8ce01f5b67 [peertube] implement sepia search 2020-12-23 15:14:26 +01:00
Stypox
15bf6b82e2 Improve meta info layout and merge duplicate code 2020-12-20 15:10:18 +01:00
bopol
c12b55600c dynamically get package name
it fixes issues with forks or debug builds, e.g. when you open two newpipe apps (with debug or fork apps), close one notification, it closes all newpipe notifications
fixes https://github.com/TeamNewPipe/NewPipe/issues/4653
2020-12-20 13:52:20 +01:00
TobiGr
a88d3a8a68 Display meta info about search query, stream creator or topic
Closes #4614
2020-12-20 11:56:22 +01:00
Stypox
342a003cd2 Show radio instead of Youtube logo in mixes
YouTube mixes have YouTube as a creator, though YouTube's logo is not safe to use as it is a trademark (better safe than sorry)
2020-12-14 19:22:00 +01:00
Stypox
34dd7c0fbf Update most dependencies 2020-11-22 14:03:10 +01:00
Isira Seneviratne
832ea825d8 Dispose of RxViews disposable in BaseStateFragment. 2020-11-21 14:24:21 +05:30
Isira Seneviratne
39a008db6e Convert ErrorInfo to Kotlin and use the Parcelize annotation. 2020-11-21 12:47:35 +05:30
Isira Seneviratne
db6b11ca95 Convert SavedState to Kotlin and use the Parcelize annotation. 2020-11-21 12:47:32 +05:30
Atemu
33c8d43726 VideoDetailFragment: Don't exit fullscreen on rotation in tablet UI
Fixes https://github.com/TeamNewPipe/NewPipe/issues/4936

Going from portrait to landscape doesn't toggle fullscreen in tablet mode, so
the reverse action shouldn't do it either.
2020-11-20 21:52:27 +01:00
TacoTheDank
290751ba78 Correct some other small lints 2020-11-19 18:54:27 -05:00
TacoTheDank
50b676e422 Lint: 'if' replaceable with 'switch' 2020-11-18 17:58:41 -05:00
TacoTheDank
0b41bd4699 Lint: 'size() == 0' replaceable with 'isEmpty()' 2020-11-18 17:54:16 -05:00