Commit graph

1643 commits

Author SHA1 Message Date
Mauricio Colli
ff298dfbeb Replace hardcoded value that represents the group "All" with a constant 2020-03-14 00:12:41 -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
e1eb50c241 Expand import/export options by default when subscriptions list is empty 2020-03-14 00:12:36 -03:00
Mauricio Colli
01e806f587 Update Groupie list library to v2.7.0 2020-03-14 00:12:35 -03:00
Mauricio Colli
6a12fb813a Quick fix for NPE when exiting the feed fragment 2020-03-14 00:12:34 -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
c1765bf035 Setup initial database for feed implementation
- Update the database diagram
- Add new migration for the new tables and fields
- Enable schema exports
2020-03-14 00:12:30 -03:00
Mauricio Colli
0ec7b7be26 Disable database destructive migration fallback
This really shouldn't be enabled, as this database is not just a temp
one. Making the mistake of shipping the app without a proper migration
would cause a big problem.

Really hard to happen but an error is far better than data loss.
2020-03-14 00:12:29 -03:00
Tobias Groza
9a37832d3c Merge pull request #3197 from mauriciocolli/fix-main-tabs
Fix bug in main screen tabs state management
2020-03-11 22:03:16 +01:00
Mauricio Colli
0cf5afa08a Fix bug in main screen tabs state management
Tabs were not being destroyed/restored correctly due to a call to a
method that populated the view pager before it even had a chance of
restoring itself.

The solution was to null out the adapter before calling that method so
the view pager will postpone the populating process.
2020-03-08 09:09:04 -03:00
Stypox
712a4222f6 Merge pull request #3165 from karkaminski/mute_button
Mute button
2020-03-08 10:29:25 +01:00
Stypox
0292ede9c8 Merge pull request #3046 from XiangRongLin/shareDownload
Fix bug causing crashes when sharing a downloaded file.
2020-03-08 09:44:04 +01:00
Tobias Groza
4d8d52094f Improve code style
Co-Authored-By: B0pol <bopol@e.email>
2020-03-07 20:09:05 +01:00
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
karol
c6bd30e44d null risk issue 2020-03-05 19:07:46 +01:00
karol
735d05b1c3 mute/unmute text change in action bar 2020-03-04 18:53:17 +01:00
karol
642349a470 mute icon change in action bar 2020-03-04 18:37:04 +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
karol
c306ed423c icon color change in action bar 2020-03-03 00:01:19 +01:00
karol
24ee7603cc mute button in actionbar, no color change 2020-03-02 22:52:58 +01:00
karol
f81f7528d8 resolved issues 2020-03-02 21:12:02 +01:00
karol
e5ddc3171d fix typo 2020-03-01 16:42:46 +01:00
TobiGr
60bccae38a Update extractor version 2020-03-01 15:37:47 +01:00
karol
2ed9f70eed set mute button in main player from other player 2020-03-01 13:02:20 +01:00
bopol
0fcc0f0c40 public Utils.round() moved to private Localization.round() 2020-02-28 17:04:25 +01:00
bopol
1162f7b09e Round at one place for Localization.shortCount() 2020-02-28 17:04:25 +01:00
karol
553271b143 mute icon in main refactored 2020-02-27 23:30:17 +01:00
karol
ae8c842406 mute intent send between main-bckgrnd-popup players 2020-02-27 22:30:18 +01:00
Marcel Dopita
949c13632c Support display cutout
Fixes #2682
2020-02-26 17:47:22 +01:00
TobiGr
eb80de4917 Merge branch 'master' into dev 2020-02-26 17:46:59 +01:00
TobiGr
8678a7e5db Release 0.18.5 (850) and update extractor version
Update User-Agent
2020-02-25 23:38:51 +01:00
TobiGr
700ad835c4 Exception is ignored in SearchFragment 2020-02-25 23:12:12 +01:00
karol
599b858bc6 icon change implemented in queque 2020-02-23 23:44:16 +01:00
karol
7294965c9d mute-buton in queue layout and logic, but no icon change 2020-02-23 23:31:30 +01:00
karol
4ed056ad74 isMuted() added 2020-02-23 22:55:34 +01:00
karol
25c77f5349 mute-button implementation in main player 2020-02-23 22:32:23 +01:00
Tobias Groza
a30928c8d6 Merge branch 'dev' into unhook-save-restore 2020-02-23 00:19:44 +01:00
TobiGr
ad1b4c5465 Fix regression: Unable to find explicit activity class
See https://github.com/TeamNewPipe/NewPipe/issues/3114#issuecomment-589940878 for info on this crash.
This reverts ebab29c9f9 partly.
2020-02-22 20:43:38 +01:00
Stypox
857f7bbc9a Address @mauriciocolli suggestions in #2960
Simplify code to enable history button
2020-02-22 11:34:08 +01:00
Stypox
662d9769cb Remove empty about menu 2020-02-22 11:30:57 +01:00
Stypox
d575a38773 Remove Settings button from download activity 2020-02-22 11:12:22 +01:00