Commit graph

600 commits

Author SHA1 Message Date
Stypox
f8f035275a Add support for INFINITE_ and MORE_THAN_100_ITEMS in playlists 2020-04-10 10:35:53 +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
Xiang Rong Lin
6472a5d69f Save and restore playback parameters into/from preferences
Playback parameters are speed, pitch and skip silence.
Remove parameters being passed on as intent to the player, since the parameters can be restored from the preferences instead.

# Conflicts:
#	app/src/main/java/org/schabi/newpipe/player/BasePlayer.java
2020-04-05 17:46:49 +02:00
TobiGr
2f6c9df528 Merge remote-tracking branch 'Weblate/dev' into dev 2020-04-02 23:37:14 +02:00
Mauricio Colli
346eb2df96 Make the drawer layout adapt to any status bar size
This improves the drawer specifically for phones that have a notch.
2020-04-02 11:05:19 -03:00
opusforlife2
0f7985b83e Translated using Weblate (English)
Currently translated at 99.8% (559 of 560 strings)
2020-03-31 18:15:23 +02:00
Mauricio Colli
da662fc6f6 Remove unused drawer header views and resources 2020-03-26 19:21:31 -03:00
Mauricio Colli
1033192755 Align and enable autosizing for the app name text view in drawer header
- Use a proper drop up/down arrow icon.
- Move selected service views for better visibility.
- Show the selected service icon next to its name.
- Add a subtle fade background to the service name/icon for better
readability.
2020-03-26 19:21:30 -03:00
bopol
837264767f mute button color for queue 2020-03-21 21:51:11 +01:00
Mauricio Colli
5ac62b9bdb Make duration plurals naming consistent 2020-03-19 09:44:13 -03:00
bopol
570f56de57 use val instead of val, make sentence more natural 2020-03-19 09:44:12 -03:00
bopol
4207fcbba9 use plural string for feed_group_dialog_selection_count 2020-03-19 09:44:11 -03:00
bopol
9657bee14d delete «seconds» plural string in favor of «dynamic_seek_duration_description» to avoid weblate conflicts 2020-03-19 09:44:10 -03:00
Tobias Groza
54ce25d086 Merge pull request #2309 from mauriciocolli/feed
Feed order and subscriptions groups
2020-03-14 18:15:57 +01:00
Mauricio Colli
b57e949179 Add help dialog to feed screen
Help to a possible confusion or simply awareness that NewPipe has both
ways to load the feed.
2020-03-14 13:24:25 -03:00
Mauricio Colli
229ad77800 Localize duration strings used in feed settings using plurals 2020-03-14 00:12:53 -03:00
Mauricio Colli
8f7695393e Detect if the subscription list should be shown as a grid
Also used proper string keys for the preferences, left a TODO to fix it
in other places later.
2020-03-14 00:12:52 -03:00
Mauricio Colli
af0218072b Add a confirmation dialog when deleting a feed group 2020-03-14 00:12:50 -03:00
Mauricio Colli
7aecb00211 Implement feed groups manual sorting
Now, the user can sort its groups to his liking even after he created
them.

Also updated the database diagram to reflect the table's new column.
2020-03-14 00:12:45 -03:00
Mauricio Colli
37e99e203a Stick info header when selecting subscriptions in the feed group dialog
- Avoid creating plural translation by using a different wording
2020-03-14 00:12:42 -03:00
Mauricio Colli
f7d1cdcb17 New option to use dedicated feed sources for services that support it
YouTube, for example, has a dedicated feed which was built to be used
like this. It comes with some caveats though, like lacking enough
information about the items and returning a limited amount of them.

Nonetheless, a nice option for users that like speedy updates but don't
mind this issue.
2020-03-14 00:12:39 -03:00
Mauricio Colli
6e6a1752d6 Load only the selected group and customizable updated status timeout
Now only the subscriptions from the selected group by the user will be
loaded.

Also add an option to decide how much time have to pass since the last
refresh before the subscription is deemed as not up to date. This helps
when a subscription appear in multiple groups, since updating in one
will not require to be fetched again in the others.
2020-03-14 00:12:38 -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
Mauricio Colli
f4bb65729d Change share title as well to differentiate multiple builds 2020-03-13 20:11:24 -03:00
bopol
098c71916d Fix seek duration not showing 2020-03-13 23:12:10 +01:00
Tobias Groza
94ba414850 Merge pull request #3196 from mauriciocolli/fix-app-glitch
Fix visual glitch when exiting the app
2020-03-13 22:39:52 +01:00
Tobias Groza
324eb45f02 Merge pull request #3133 from Stypox/gradle-app-id-suffix
Change app id based on current git branch
2020-03-11 22:41:52 +01:00
Stypox
712a4222f6 Merge pull request #3165 from karkaminski/mute_button
Mute button
2020-03-08 10:29:25 +01:00
Mauricio Colli
970ee443a0 Fix visual glitch when exiting the app 2020-03-07 15:55:55 -03:00
karol
735d05b1c3 mute/unmute text change in action bar 2020-03-04 18:53:17 +01:00
Stypox
bdbaf289fd Merge pull request #3160 from XiangRongLin/b3127
Hide 5, 15, 25 second seek options if inexact seek is enabled
2020-03-03 21:58:18 +01:00
Stypox
f2242697a4 Update app/src/main/res/values/strings.xml 2020-03-03 21:51:46 +01:00
Stypox
54c9173694 Merge pull request #3107 from comradekingu/patch-11
Spelling: Some devices are incompatible
2020-03-03 21:08:30 +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
1f4efd5f5d Update inexact seek summary 2020-03-03 19:40:10 +01:00
karol
24ee7603cc mute button in actionbar, no color change 2020-03-02 22:52:58 +01:00
Marcel Dopita
949c13632c Support display cutout
Fixes #2682
2020-02-26 17:47:22 +01:00
Stypox
6d99ba8f35 Merge branch 'dev' into gradle-app-id-suffix 2020-02-23 10:04:19 +01:00
Stypox
165b552162 Change app id based on current git branch
This enables to install multiple builds from different branches at once
2020-02-23 09:46:42 +01:00
Tobias Groza
a30928c8d6 Merge branch 'dev' into unhook-save-restore 2020-02-23 00:19:44 +01:00
bopol
2ff75f7fae remove unecessary «few» and «many» for plural string in english 2020-02-20 18:55:22 +01:00
Allan Nordhøy
bc5f5927fa Spelling: Some devices are incompatible 2020-02-17 14:54:45 +01:00
bopol
ce38410f54 use plural string for dynamic_seek_duration_description 2020-02-17 10:12:08 +01:00
B0pol
28100a9311 Merge branch 'dev' into localisation 2020-02-17 09:27:03 +01:00
Tobias Groza
7964758b03 Apply suggestions from code review
Co-Authored-By: Stypox <stypox@pm.me>
2020-02-16 22:41:56 +01:00
bopol
b13c03a99f created default_localization_key 2020-02-16 22:41:32 +01:00
Stypox
fb58bc72e7 Merge branch 'dev' into patch-10 2020-02-16 21:58:44 +01:00
bopol
55fbeb7e28 resolve merge conflicts 2020-02-15 14:53:05 +01:00