Commit graph

470 commits

Author SHA1 Message Date
Avently
44d21d677b 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
eda6641e3f 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
5cd7ca5dab AndroidTvUtils -> DeviceUtils 2020-07-21 01:43:49 +03:00
Avently
d0cb338abc Merged the latest changes 2020-07-21 01:37:36 +03:00
Tobias Groza
1f775bbfc7 Merge pull request #3689 from wb9688/next-stream
Remove calls to getNextStream()
2020-07-18 11:59:04 +02:00
Tobias Groza
6e46a8e47a Merge pull request #3902 from wb9688/null-description
Check for description == null
2020-07-18 11:54:10 +02:00
wb9688
32c8076435 Check for description == null 2020-07-18 10:01:44 +02:00
Avently
411c65babc New icons 2020-07-16 01:15:24 +03:00
wb9688
04ccd2e7f5 Use relatedItems instead of info.getRelatedStreams() 2020-07-15 18:52:36 +02:00
wb9688
158b91e2ec Remove calls to getNextStream() 2020-07-14 21:27:59 +02:00
wb9688
863b8242b7 Use androidx.annotation.NonNull instead of io.reactivex.annotations.NonNull 2020-07-14 21:15:29 +02:00
Avently
b68c655151 Mini player slide to botom fix, buttons size fix 2020-07-14 21:52:55 +03:00
Avently
a6894644d1 Made checkStyle happy 2020-07-14 20:21:32 +03:00
Avently
4aeb2cd795 Small fixes of issues 2020-07-13 23:28:39 +03:00
Avently
aef78ace88 Merged the latest changes 2020-07-13 04:17:21 +03:00
Avently
b99b756435 Marked many (too many) variables as final 2020-07-12 03:59:47 +03:00
Tobias Groza
3d86fd2fed Merge pull request #3441 from wb9688/nextpage
Next page stuff
2020-07-07 21:19:27 +02:00
wb9688
69431ef0ab Use getNextPage() instead of getNextPageUrl() 2020-07-07 21:03:24 +02:00
TobiGr
f60e4c1b3a Highlight search suggestion 2020-07-07 20:23:41 +02:00
Stypox
a56c87ff20 Replace search query without searching on suggestion panel long click 2020-07-05 22:01:35 +02:00
Stypox
19e4bba3fe Improve suggestion panel 2020-07-05 22:01:35 +02:00
wb9688
3a8f184e61 Improve search suggestion code 2020-07-05 22:01:35 +02:00
Roy Yosef
f05865150d Fix search suggestions not working on resume
* add searchSuggestionString, isCorrectedSearch fields to state and load onResume
2020-07-05 22:01:35 +02:00
Roy Yosef
88c4f367e4 Display search suggestion: did you mean & showing result for 2020-07-05 22:01:35 +02:00
Avently
60fd42dfa3 Changes for review 2020-06-27 06:25:50 +03: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