Commit graph

427 commits

Author SHA1 Message Date
Roy Yosef
88c4f367e4 Display search suggestion: did you mean & showing result for 2020-07-05 22:01:35 +02:00
Tobias Groza
86321a278b Merge pull request #3772 from adinilfeld/copy-video-title
Copy video title
2020-06-13 16:38:14 +02:00
adinilfeld
eaf2330678 removed unnecessary setLongClickable 2020-06-11 09:33:05 -07:00
adinilfeld
24d774689f added a copyToClipboard method to ShareUtils, and modified CommentsMiniInfoItemHolder and VideoDetailFragment to use the new method. 2020-06-10 15:14:08 -07:00
adinilfeld
6fdb924877 allowed user to copy video title to clipboard (from detail screen) 2020-06-10 14:17:43 -07:00
adinilfeld
05371df1dc set an OnLongClickListener 2020-06-10 14:11:06 -07:00
Stypox
b1d1254347 Fix search crash: adapter array index out of bounds 2020-06-07 21:28:54 +02:00
Stypox
f767116c25 Add shadow behind play icon in video detail fragment 2020-05-21 15:39:36 +02:00
Stypox
d63b091ec0 Fix checkstyle issues
Also replace all tabs with 4 spaces
2020-05-21 15:39:36 +02:00
Stypox
0c29ab7b6d Use AppCompatResources instead of ContextCompat 2020-05-21 15:39:36 +02:00
Stypox
91ece5d27d Replace hardcoded white drawable with themed one 2020-05-21 15:39:36 +02:00
Stypox
6f29813ebd Readd ic_close and ic_replay PNGs: needed in notifications
The other icons used in notifications are taken from exoplayer's ones: `@drawable/exo_controls_*`
2020-05-21 15:39:36 +02:00
Stypox
a5db391317 Fix MainFragment tab icons did not follow theme color 2020-05-21 15:39:36 +02:00
Stypox
c80aba9a88 Use vector drawables instead of PNGs for material icons
For all manually-created images PNG have been kept.
- rename all icon attrs to have a `ic_` prefix
- always use `_24dp` icons, because there is no real difference, since they are vector drawables
- always use the original name found on material.io for icon drawables, as to not create confusion and possibly duplicates. Icon names can still be different from real drawable names, though I have made some of them compliant to this or maybe more meaningul.
- remove duplicate `getIconByAttr()` in ThemeHelper (use `resolveResourceIdFromAttr()`
- use standard icons for `expand_more` and `expand_less` instead of triangles
- use `play_button_outline` instead of custom PNG as play button in VideoDetailFragment (questionable, as there is no shadow anymore)
2020-05-21 15:39:35 +02:00
bopol
1151024ab4 subscribe button now match service's main color 2020-05-11 19:29:34 +02:00
Tobias Groza
bf564ae17c Merge pull request #3430 from Royosef/DisplayParentChannelDetails
Display parent channel details
2020-05-08 23:29:28 +02:00
wb9688
d566e4641f Bump NewPipeExtractor 2020-05-08 18:07:52 +02:00
wb9688
c9c1320da6 Don't show sub-channel thumbnail by default 2020-05-08 15:51:21 +02:00
wb9688
4585c92fbe Merge pull request #3545 from Stypox/kore
Fix Kodi button showing up with unsupported services
2020-05-07 21:44:09 +02:00
Roy Yosef
84db446bb1 Navigate to parent(uploader) channel from the uploader section on long click 2020-05-07 20:40:17 +02:00
Roy Yosef
fb2c8bbd69 Fix PR review
Make all of the uploader section on stream page navigate to the channel page
Extract hard coded strings
Remove redundant spaces
Fix open streams from a channel
Rename "ParentChannel" to "SubChannel"
Config royosef:NewPipeExtractor in app/build.gradle
2020-05-07 20:40:17 +02:00
Roy Yosef
f2edfe399d Add sub-channel details to channel fragment 2020-05-07 20:39:32 +02:00
Roy Yosef
d13eba6d63 Add sub-channel details to video detail fragment 2020-05-07 20:39:32 +02:00
Stypox
52da850659 Fix Kodi button showing up in unsupported services 2020-05-06 20:55:53 +02:00
wb9688
c2fba29994 Merge pull request #3511 from wb9688/ktlint
Ktlint
2020-05-04 15:13:07 +02:00
wb9688
2f237c38f6 Merge pull request #2727 from vnagel/ageRestrictedContent
Restricted mode setting for youtube
2020-05-04 15:05:11 +02:00
wb9688
205c5ff2ca Optimize imports 2020-05-01 20:13:01 +02:00
Tobias Groza
1d8cd350a0 Merge pull request #3495 from Stypox/fix-rotation
Fix rotation
2020-04-27 09:18:08 +02:00
Stypox
af33f57e87 Fix crashes on rotation by checking for null 2020-04-27 09:01:24 +02:00
bopol
1e4e731a6a Better detection of TV devices
Some devices were not detected as TV even though they are
2020-04-25 12:04:44 +02:00
TobiGr
1d9e54b086 Merge pull request Android TV support #2806
Closes #2806
2020-04-23 22:33:20 +02:00
TobiGr
291079a55b Fix button ripples in VideoDetailFragment 2020-04-22 22:35:41 +02:00
Vincent Nagel
6bd25dc805 rename setting to "YouTube restricted mode" 2020-04-20 21:47:32 -05:00
Vincent Nagel
eed9fe2684 renamed to "restricted mode" 2020-04-20 21:46:40 -05:00
Vincent Nagel
b50a01878b fix checkstyle errors 2020-04-20 21:45:32 -05:00
Vincent Nagel
5ba58e1ff5 setupTabs() if ageRestrictedContent pref changed 2020-04-20 21:45:32 -05:00
Stypox
8c862bd668 Enqueue on long click on background/popup in channel 2020-04-19 10:34:07 +02:00
wb9688
a44582d958 Merge pull request #3410 from wb9688/fix-restricted
Show error when video has age limit and setting is disabled
2020-04-11 09:44:25 +02:00
wb9688
2a7f240bb0 Hide tabs when a video is age restricted 2020-04-11 09:30:12 +02:00
Alexander--
a5e28105ac Comply with Checkstyle rules 2020-04-11 09:02:22 +06:59
Alexander--
08459b3a90 Merge remote-tracking branch 'newpipe/dev' into rebase 2020-04-11 08:30:40 +06:59
Alexander--
2cac8a739d Merge remote-tracking branch 'newpipe/dev' into rebase 2020-04-11 08:24:05 +06:59
Tobias Groza
fc02abc918 Merge pull request #3294 from mauriciocolli/fix-network-issues-detection
Fix detection of network related exceptions
2020-04-10 23:10:34 +02:00
wb9688
06aa8478b3 Show error when video has age limit and setting is disabled 2020-04-10 15:29:48 +02:00
wb9688
5e19035317 Use suggested layout for search filters 2020-04-10 10:35:54 +02:00
Stypox
95d3550aed 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
f8f035275a Add support for INFINITE_ and MORE_THAN_100_ITEMS in playlists 2020-04-10 10:35:53 +02:00
bopol
3ab53c9c80 handle ContentNotSupportedException for Channel Fragment (when an user has no video tab) 2020-04-10 09:12:29 +02:00
bopol
b659660867 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
Mauricio Colli
40508788dd Use exception utils in network error detection throughout the app 2020-04-09 13:22:24 -03:00