Stypox
7016da5251
Remove hardcoded and duplicate strings, use exoplayer ones
2020-09-22 18:17:09 +02:00
Stypox
e861be10d9
Merge branch 'dev' into pr3178
2020-09-08 23:58:10 +02:00
Stypox
847fb84854
Add notification costumization settings menu
2020-09-08 22:00:24 +02:00
Stypox
044190d5d9
Extract duplicate setActivityTitle code to own function
2020-09-07 15:28:38 +02:00
TacoTheDank
0ef2e07cf4
Some general-purpose lint cleanup
2020-09-06 12:55:26 +02:00
TacoTheDank
7795a5f733
Fix some lambdas
2020-09-06 12:52:43 +02:00
TacoTheDank
61c10ad427
Use AndroidX preference
2020-09-06 12:52:42 +02:00
TobiGr
a0498c4c62
Remove unused and redundant code.
2020-09-01 17:39:06 +02:00
wb9688
25b56bf5e4
Use final where possible
2020-08-16 10:25:09 +02:00
Avently
5cd7ca5dab
AndroidTvUtils -> DeviceUtils
2020-07-21 01:43:49 +03:00
Stypox
89899dc1c9
Move local/remote playlist merge() to PlaylistLocalItem class
...
In order not to have a utils class just for one function
2020-07-04 11:38:22 +02:00
Stypox
8736a1c072
Fix style issues
2020-07-04 11:38:22 +02:00
Roy Yosef
820ab5893c
Final declarations, naming & redundant code
...
* add final declarations where missing
* fix typo "onSelectedLisener" to "onSelectedListener"
* rename "baseEqual" to "baseEquals"
* replace getPlaylistsObserver code with functions pointers
* remove duplicate code in constructors
* remove useless null checks
2020-07-04 11:37:38 +02:00
Roy Yosef
37dd391807
Add playlist tab to main page
...
Add bookmarked playlist as tab in the main page (by Settings > Content > Content of main page)
2020-07-04 11:35:45 +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
ef98eea131
Fix additional empty title on tab selection fragments in API 19
2020-05-21 15:39:36 +02:00
Stypox
1eacd3e73d
Rename ic_hot in ic_kiosk_hot and improve getKioskIcon()
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
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
Tobias Groza
cceb601be2
Merge pull request #3480 from wb9688/update-nanojson
...
Use our nanojson fork
2020-05-02 16:17:29 +02:00
wb9688
15719e4dde
Use our nanojson fork
2020-05-02 16:03:15 +02:00
wb9688
d770cf5657
Auto-format using Ktlint
2020-05-01 20:13:21 +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
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
51eb594695
added logging when context null in onPrefTreeClick
2020-04-20 21:45:32 -05:00
Vincent Nagel
bd1c43cd37
ageRestrictedContent cookie only sent for youtube
...
Now the age restricted content cookie is only sent when sending a
request to youtube. There's no need to remove the cookie when the
service changes because whether to add the cookie is determined by
looking at the url the request is being sent to.
2020-04-20 21:45:32 -05:00
Vincent Nagel
b1c310ce22
ageRestrictedContent first draft
...
Cookie updated whenever ageRestrictedContent setting is changed or
service is changed. Right now there is only a cookie for youtube, but
cookies for other services could be added in the future.
Problems with this approach: Even when the service is set to youtube,
the downloader doesn't only request youtube urls e.g. it also sends
reqeusts to i.ytimg.com, suggestqueries.google.com, and yt3.ggpht.com.
The ageRestrictedContent cookie is not normally sent when sending
requests to these other urls, so doing so might have unknown effects.
2020-04-20 21:45:32 -05:00
Alexander--
2cac8a739d
Merge remote-tracking branch 'newpipe/dev' into rebase
2020-04-11 08:24:05 +06:59
wb9688
9c8349a8ed
Move things back to its original place
2020-04-02 15:57:50 +02:00
wb9688
ac264464ef
Improve code style to be more consistent
2020-04-02 15:57:50 +02:00
Alexander--
6253ff6a36
Merge remote-tracking branch 'newpipe/dev' into rebase
2020-03-30 16:54:51 +06:59
TobiGr
fb75afc99f
Seek duration should not be rounded up when opening the settings, even if inexact seek is disabled
2020-03-25 22:34:02 +01:00
Mauricio Colli
5ac62b9bdb
Make duration plurals naming consistent
2020-03-19 09:44:13 -03:00
Alexander--
6f6d33153b
Merge remote-tracking branch 'newpipe/dev' into rebase
2020-03-15 09:08:01 +06:59
Mauricio Colli
229ad77800
Localize duration strings used in feed settings using plurals
2020-03-14 00:12:53 -03:00
Mauricio Colli
a73b752fa2
Change feed groups header title and icon from feed representing "All"
2020-03-14 00:12:37 -03:00
Mauricio Colli
ee00c8c26f
Implement new feed and subscriptions groups
...
- Introduce Groupie for easier lists implementations
- Use some of the new components of the Android Architecture libraries
- Add a bunch of icons for groups, using vectors, which still is
compatible with older APIs through the compatibility layer
2020-03-14 00:12:31 -03:00
Alexander--
a1d056bdb8
Merge remote-tracking branch 'newpipe/dev' into rebase
2020-03-12 04:48:37 +06:59
yausername
8dd9b7caa5
refactor checkpointing
2020-03-07 20:09:05 +01:00
yausername
17d44c22f2
checkpoint db before export
2020-03-07 20:09:05 +01:00
XiangRongLin
51eff0574e
Update app/src/main/java/org/schabi/newpipe/settings/VideoAudioSettingsFragment.java
...
Co-Authored-By: Stypox <stypox@pm.me>
2020-03-03 21:41:15 +01:00
Xiang Rong Lin
4c2efaac2a
Change toast string resource to be useable with different languages
2020-03-03 19:50:50 +01:00
Xiang Rong Lin
7d941f2c27
Show a toast when seek duration was rounded up
2020-03-03 19:40:10 +01:00
Xiang Rong Lin
6d95a5f3d2
Use DateUtils constant for 1000
2020-03-03 19:40:10 +01:00
Xiang Rong Lin
2f4b8d9aa6
Round seek duration up instead of setting it to 10 seconds
2020-03-03 19:40:10 +01:00
Xiang Rong Lin
3bdb8cb717
Update seek options on inexact seek option change.
...
Reset to 10 seconds when previous value is not valid anymore
2020-03-03 19:40:10 +01:00
Xiang Rong Lin
5aea971cb2
If inexact seekt is used, hide 5,15,25 seconds seek duration options when opening settings
2020-03-03 19:40:10 +01:00