Grady Clark
b85ef0e0a7
Changed "Remove Watched":
...
- Will now execute on the io thread
- Added confirmation dialog
- Warning the user, and asking if they also want to remove partially watched videos
2020-04-14 13:15:07 -05:00
Stypox
deb8e6ee86
Check if already running before removing watched
2020-04-03 20:41:21 +02:00
Stypox
63127bd6e3
Fix checkstyle errors
2020-04-03 20:13:56 +02:00
Stypox
5df946dd2b
Use binary search to remove watched items from playlists
2020-04-03 19:51:29 +02:00
developer
f341f89cc8
Optimised 'removeWatchedStreams'
...
Removed merge mistake
Reordered code
Refactored 'removeWatchedWorker' to 'removeWatchedDisposable'
2020-04-03 19:50:12 +02:00
Grady Clark
1710fe2d24
Simplified the removal of watched videos, into the function removeWatchedStreams
...
Replaced unnecessary nested class.
Fixed formating issues
2020-04-03 19:49:41 +02:00
Grady Clark
1919336838
- Will now use ReactiveX instead of AsyncTask, when removing watched videos.
...
- Removed redundant file 'local_playlist_control'
- Fixed grammer issue
2020-04-03 19:49:41 +02:00
Grady Clark
670483997f
Moved the 'Remove Watched' button to the three dot menu button.
2020-04-03 19:49:01 +02:00
Grady Clark
559fe4feb1
Added the ability to remove all watched videos from local playlists
...
Changes:
- local_playlist_control.xml
* A copy of playlist_control.xml
* To hold the 'Remove Watched Videos' buttton
- local_playlist_header.xml
* Changed the include layout to now include local_playlist_control.xml
- strings.xml
* added string 'remove_watched' with value 'Remove Watched'
- LocalPlaylistFragment.java
* Added the functionality to remove watched videos,
to the 'Remove Watched Videos' button in local_playlist_control.xml.
In the background via AsyncTask.
This will also change the playlist's thumbnail, if the thumbnail video is removed.
Tested on:
- Pixel
2020-04-03 19:47:31 +02:00
wb9688
8b2bc17723
Revert some more changes
2020-04-03 15:48:38 +02:00
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
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
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
9916955663
Simplify screen handling in feed group dialog
2020-03-14 00:12:51 -03:00
Mauricio Colli
af0218072b
Add a confirmation dialog when deleting a feed group
2020-03-14 00:12:50 -03:00
Mauricio Colli
e3576fbf20
Don't expose MutableLiveData in view models
2020-03-14 00:12:48 -03:00
Mauricio Colli
db61021aff
Disable buttons when processing actions in the feed dialogs
2020-03-14 00:12:47 -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
eb8b394d96
Add ability to cancel a feed update through a notification action
...
- Change prefetch value default so each parallel rail buffers less
items.
2020-03-14 00:12:44 -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
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
Xiang Rong Lin
71b0311bb1
Use AlertDialog.Builder instead of BookmarkDialog class for the same look.
...
Use "rename" string instead of "save" string.
2020-02-02 12:54:43 +01:00
Xiang Rong Lin
1c873141fe
Move more log statements into "if (DEBUG)"
2020-02-01 16:36:45 +01:00
XiangRongLin
e013e64482
Merge branch 'dev' into 1907renamePlaylist
2020-02-01 16:29:21 +01:00
Xiang Rong Lin
3abe2423c0
Move log statement into "if (DEBUG)"
2020-02-01 16:27:53 +01:00
bopol
a74f0873a3
fix wrong language shown many popup dialogs
...
Changed android.R.string.ok, which is "OK", into R.string.finish, which is also OK, but from our strings
Then for a small amount of languages that don't have Android translation, it will show the good string.
2020-02-01 09:44:49 +01:00
Xiang Rong Lin
798753145e
Use custom dialog to edit and delete local playlists at once
2020-01-21 20:56:06 +01:00
Xiang Rong Lin
53d483403f
Rename local playlist by long-clicking in BookmarkFragment.
...
After long clicking on a local playlist, show a dialog with 2 options for "rename" and "delete"
Rename shows another dialog to let the user rename the playlist.
Delete lets the user delete a playlist like before.
2020-01-19 14:39:40 +01:00
TobiGr
2caa9f430c
Fix code style and improve imports
2020-01-07 22:48:35 +01:00
decarvalhobo
7c2d43ea44
Usage of drawable instead of remote image + refactor the append to an empty playlist by just updating the thumbnail before adding the item in it.
2020-01-07 22:33:45 +01:00
De Carvalho Marcio Antonio
47bdbba81c
remove comments
2020-01-07 22:33:45 +01:00
De Carvalho Marcio Antonio
8e64aaab92
remove comments
2020-01-07 22:33:45 +01:00
decarvalhobo
074fa0c45d
fix issue: thumbnail update when element deleted + thumbnail update when element added and no thumbnail
2020-01-07 22:33:45 +01:00
dotvirus
6bf6ce3ab8
Update LocalPlaylistFragment.java
2019-12-31 01:42:41 +01:00
Peter Hindes
f57a590882
fix last recomendation. syntax and imports
2019-12-10 12:18:49 -07:00
Peter Hindes
c07b3979da
Update app/src/main/java/org/schabi/newpipe/local/holder/RemotePlaylistItemHolder.java
...
Co-Authored-By: Redirion <redirion@web.de>
2019-12-10 12:13:04 -07:00
Peter Hindes
8cfbb63f6c
Removed redundant. Related to last merge
2019-12-06 08:36:57 -07:00
Peter Hindes
baf5cb2dfd
Update app/src/main/java/org/schabi/newpipe/local/holder/RemotePlaylistItemHolder.java
...
Co-Authored-By: Redirion <redirion@web.de>
2019-12-06 08:35:14 -07:00