Commit graph

2801 commits

Author SHA1 Message Date
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
kapodamy
0295a1fe49 misc changes
* read "SeekPreRoll" from the source track (if available)
* use the longest track duration as segment duration, instead of the video track duration
* do not hardcode the "Cue" reserved space behavior
* do not hardcode the "EBML Void" element, unreported issue. The size was not properly calculated
* rewrite the key-frame picking
* remove writeInt(), writeFloat() and writeShort() methods, use inline code
* set "SeekPreRoll" and "CodecDelays" values on output tracks (if available)
* rewrite the "Cluster" maker
* rewrite the code of how "Cluster" sizes are written

Fix encode() method (the reason of this commit/pull-request):
* Use the unsigned shift operator instead of dividing the value, due precession lost
2020-03-12 00:50:14 -03:00
Alexander--
4ea4b5436d Intercept ActivityNotFoundException for ACTION_MANAGE_OVERLAY_PERMISSION 2020-03-12 05:32:20 +06:59
Alexander--
06e987dafd Fix focus getting stuck by cycling within the same list item 2020-03-12 05:29:37 +06:59
Alexander--
a1d056bdb8 Merge remote-tracking branch 'newpipe/dev' into rebase 2020-03-12 04:48:37 +06:59
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
Avently
9e2e96812b Better backstack, better tablet support, switching players confirmation, fix for background playback 2020-03-10 12:06:38 +03: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
Avently
b59f99d652 Fix for a ripple effect on a button 2020-02-29 22:13:07 +03:00
Avently
0fe164cb45 Better implementation of old code 2020-02-29 02:57:54 +03: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
Alexander--
5559898332 NewPipeRecyclerView should allow scrolling down by default 2020-02-26 06:40:46 +06:59
Alexander--
c5c7c41c8f Merge remote-tracking branch 'newpipe/dev' into rebase 2020-02-26 05:56:09 +06:59
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
Avently
a03ad672b9 Vertical videos in portrait & fullscreen, UI enhancements for tablets and phones, fixes
- vertical videos now work ok in portrait and fullscreen mode at the same time
- auto pause on back press is disabled for large tablets
- large dragable area for swipe to bottom in fullscreen mode in place of top controls
- appbar will be scrolled to top when entering in fullscreen mode
2020-02-25 02:15:22 +03:00