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
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
wb9688
205c5ff2ca
Optimize imports
2020-05-01 20:13:01 +02:00
Stypox
053038d005
Merge pull request #3065 from GradyClark/dev
...
Added the ability to remove all watched videos from a local playlist
2020-04-23 23:52:28 +02:00
Stypox
1602881f4e
Use centralized CompositeDisposable instead of custom Disposable
...
Also do not show any dialog if the user is aready removing watched videos in a local playlist
2020-04-23 23:35:00 +02:00
Grady Clark
071f473787
Code cleanup, and best practices
2020-04-21 01:57:23 -05:00
Grady Clark
0236a69f4a
fixed naming and formatting issues
2020-04-21 01:03:42 -05:00
Tobias Groza
4b07caae90
Merge pull request #3345 from mitosagi/error-with-bookmarks
...
Fix repeated exceptions in Bookmarked Playlists
2020-04-19 22:00:31 +02:00
Grady Clark
0acac3ffb7
Removed redundant code
...
reorganized code
2020-04-16 12:58:16 -05:00
Grady Clark
e28d827df5
Merge branch 'dev' of https://github.com/TeamNewPipe/NewPipe into dev
2020-04-14 13:24:57 -05:00
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
Tobias Groza
fc02abc918
Merge pull request #3294 from mauriciocolli/fix-network-issues-detection
...
Fix detection of network related exceptions
2020-04-10 23:10:34 +02:00
Stypox
8674c08ae0
Use "mini" stream count alternatives for info items
...
Note: more_than_100_videos_mini and infinite_videos_mini are untranslatable
2020-04-10 10:35:54 +02:00
Stypox
78d00d2db2
Also use localizeStreamCount() in local items
2020-04-10 10:35:54 +02:00
Mauricio Colli
40508788dd
Use exception utils in network error detection throughout the app
2020-04-09 13:22:24 -03:00
Mauricio Colli
aee41148b9
Fix visibility of group sort button in the subscriptions fragment
2020-04-05 16:57:28 -03:00
mitosagi
fcfb50333d
Make null sortable
2020-04-05 17:26:00 +09: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