Stypox
133e5b1d87
Merge pull request #4547 from Isira-Seneviratne/Use_Core_KTX_functions
...
Use Core KTX functions.
2020-10-18 09:39:28 +02:00
Stypox
b44d42faf9
Don't rearrange lists by dragging the thumbnails
2020-10-17 16:25:06 +02:00
Isira Seneviratne
2b8e7c4697
Use TextView.doOnTextChanged() extension.
2020-10-17 19:22:13 +05:30
Isira Seneviratne
87b38bf230
Use isVisible and isGone extensions for View.
2020-10-17 15:54:35 +05:30
Isira Seneviratne
a49e7d4aff
Use bundleOf().
2020-10-17 15:38:45 +05:30
Stypox
545338388c
Merge pull request #4413 from Stypox/delete-stream-state
...
Also delete stream state when deleting stream history
2020-10-10 22:29:33 +02:00
Isira Seneviratne
3da55d9f40
Use ContextCompat.getSystemService() and the Context.getSystemService() extension function.
2020-10-09 08:52:05 +05:30
vkay94
ab7af976e9
Enqueue: Removed unneeded dialog-entries and strings + adjustments
2020-10-06 17:22:12 +02:00
vkay94
994b8369b8
Enqueue: Replaced specific StreamDialogEntry items with one
...
The enqueue options won't be shown in the dialogs if the Player service is not running. When it's running one item (enqueue stream) will be shown and enqueues the item into the Player type which is currently selected.
2020-10-06 14:38:48 +02:00
Stypox
b78d152e22
Also delete stream state when deleting stream history
2020-10-05 17:47:48 +02:00
TacoTheDank
0ef2e07cf4
Some general-purpose lint cleanup
2020-09-06 12:55:26 +02:00
TacoTheDank
7795a5f733
Fix some lambdas
2020-09-06 12:52:43 +02:00
TacoTheDank
0e33cc5d73
Fix some deprecations
2020-09-06 12:52:43 +02:00
TacoTheDank
61c10ad427
Use AndroidX preference
2020-09-06 12:52:42 +02:00
wb9688
25b56bf5e4
Use final where possible
2020-08-16 10:25:09 +02:00
wb9688
082c5c3b0b
Fix crash when opening video in local playlist tab
2020-08-03 14:47:10 +02:00
Avently
5cd7ca5dab
AndroidTvUtils -> DeviceUtils
2020-07-21 01:43:49 +03:00
Avently
aef78ace88
Merged the latest changes
2020-07-13 04:17:21 +03:00
Stypox
89899dc1c9
Move local/remote playlist merge() to PlaylistLocalItem class
...
In order not to have a utils class just for one function
2020-07-04 11:38:22 +02:00
Roy Yosef
37dd391807
Add playlist tab to main page
...
Add bookmarked playlist as tab in the main page (by Settings > Content > Content of main page)
2020-07-04 11:35:45 +02:00
Mauricio Colli
331ce24540
Add filter to the feed group dialog to show only ungrouped subscriptions
2020-06-27 11:58:40 -03:00
Mauricio Colli
77439f720c
Add search for subscription picker in the feed group dialog
2020-06-27 11:25:25 -03:00
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