Jared Fantaye
68ea99d6e6
Made some small code improvements
2023-02-09 23:17:36 +01:00
Jared Fantaye
bc29f40d69
Implemented the suggested changes
2023-02-09 21:18:21 +01:00
Jared234
42fb13f17a
Merge branch 'dev' into 1473_remove_duplicates_from_playlist
2023-02-09 20:47:10 +01:00
Mahendran
75292e099c
Larger channel cards in search results
...
- Thumbnail larger (100dp) than the usual (92dp) throughout the app
- Description lint count is 8 (normally 3)
2023-02-09 06:15:22 +05:30
Trust_04zh
e947e86eae
Make positions in list depend on watch history, remove confusing animations
...
The following is the list of all commits squashed together:
Regain function for option `Positions in lists`
use option `Resume playback` to control display of progress info in VideoDetailFragment, remove this (extra) function from option `Positions in lists`.
remove extra check for live streams, live streams updates just as non-live streams.
fix #8176 by eliminating exit delay
Regain function for option `Positions in lists`
update code with developer's comments
apply static import to methods in util class DependentPreferenceHelper
Regain function for option `Positions in lists`
use option `Resume playback` to control display of progress info in VideoDetailFragment, remove this (extra) function from option `Positions in lists`.
remove extra check for live streams, live streams updates just as non-live streams.
fix behavior for displaying progress bar when autoplay off but video resume on
not to retrieve unnecessary states when position in lists disabled
fix mistake in code
simplify conditional logic
update doc comment and remove unused method
Fix not showing duration if position indicators disabled
Positions in lists only depends on watch history
2023-02-07 09:48:18 +01:00
Jared234
3ff4b713e8
Merge branch 'dev' into 9458_faulty_playlist_thumbnail_update
2023-02-05 20:45:44 +01:00
Jared Fantaye
68097568d5
Fixed the bug by replacing the thumbnail_url with the thumbnail_stream_id
2023-02-05 20:32:34 +01:00
Jared Fantaye
cd8d57040c
Implemented the feature using multiple checkboxes
2023-02-04 18:48:27 +01:00
Jared Fantaye
9c82441c19
Implemented the feature and fixed some small issues
2023-02-01 23:10:31 +01:00
Jared Fantaye
d2d324f2dd
First draft of the new feature
2023-01-30 22:37:24 +01:00
Stypox
ca421c28a1
Merge pull request #9538 from Jared234/4186_warning_duplicates_in_playlist
...
Handle duplicate streams in the "Add to playlist" dialog
2023-01-29 10:36:31 +01:00
Stypox
102975aeb3
Improve handling playlist duplicate indicator
2023-01-29 10:32:32 +01:00
Jared Fantaye
c70ce791db
Added the duplicate indicator explanation & removed some unnecessary functions
2023-01-27 15:37:33 +01:00
Jared Fantaye
e26c038565
Made some small adjustments
2023-01-20 11:55:50 +01:00
TobiGr
e9fcad4787
Fix SonarLint
2023-01-16 23:20:50 +01:00
TobiGr
640d4b0280
Fix more NPEs after OnSharedPreferenceChangeListener changes
2023-01-16 23:05:29 +01:00
Stypox
b9378a7c1f
Fix NPEs after OnSharedPreferenceChangeListener changes
...
Apps targeting {@link android.os.Build.VERSION_CODES#R} on devices running OS versions {@link android.os.Build.VERSION_CODES#R Android R} or later, will receive a {@code null} value when preferences are cleared.
2023-01-16 22:30:28 +01:00
Mahendran
7924bb5b6b
Thumbnails used in NewPipe are small (list/grid) mode. This PR facilitates full width thumbnails and dubbed as card mode.
2023-01-15 22:32:03 +05:30
Stypox
ef4a6238c8
See if playlists already contain a stream from db
2023-01-14 18:01:48 +01:00
Jared Fantaye
b3554a6a49
Added the number of duplicates to the toast text.
2023-01-14 18:01:48 +01:00
Jared Fantaye
5fb7b3266b
Removed the duplicate dialog and added another toast option
2023-01-14 18:01:48 +01:00
Jared Fantaye
8b6e110635
Fixed the functionality, improved performance & general code cleanup
2023-01-14 18:01:47 +01:00
Jared Fantaye
f5a1f915be
Continued working on a way to show that items are already in a playlist
2023-01-14 18:01:47 +01:00
Jared Fantaye
ac15339911
Started working on a way to show that items are already in a playlist
2023-01-14 18:01:47 +01:00
Jared Fantaye
fdfeac081a
Implemented a warning before adding duplicate to playlist.
2023-01-14 18:01:46 +01:00
ge78fug
31396a632f
Chenged the name of the icon
2023-01-14 09:21:37 +01:00
Jared Fantaye
135fc08212
Implemented the "remove duplicates" feature.
2023-01-13 21:35:22 +01:00
ge78fug
5e3caf68a5
Chenged the What's New icon
2023-01-13 16:33:45 +01:00
Jared Fantaye
38c4a1ed85
Fixed the "Remove Watched" bug
...
Reverted changes and fixed bug in a different way
2023-01-12 23:44:26 +01:00
Stypox
fd8e92cf77
Merge pull request #9523 from Jared234/9468_permanently_set_thumbnail
...
Allow the user to permanently set a thumbnail
2023-01-12 23:27:50 +01:00
Jared Fantaye
eb3363d4dd
Created the first draft.
2023-01-10 20:55:18 +01:00
Jared Fantaye
2679a4bf1e
Removed the "Unset Thumbnail" item if you can't use this feature
2023-01-04 16:21:16 +01:00
Jared Fantaye
1ac62541a8
Formatting, renaming and small fixes
2022-12-09 12:01:59 +01:00
Jared Fantaye
bf1ebf8733
Fixed some bugs and improved code quality
2022-12-08 23:31:20 +01:00
Jared Fantaye
10a5741f36
Tried to implement the feature
2022-12-07 02:32:53 +01:00
Stypox
3bb51875bc
Merge pull request #9501 from Stypox/import-subscriptions-hint
...
Add hint to improve discoverability of subscription import
2022-12-04 20:19:19 +01:00
Stypox
10977eaefa
Show hint about how to import subscriptions when there are none
2022-12-04 19:16:47 +01:00
Stypox
9c4d5526f4
Merge pull request #8810 from Isira-Seneviratne/Math_floorDiv
...
Use Math.floorDiv().
2022-12-04 18:08:12 +01:00
Jared Fantaye
8fc5fa979d
Added menu with tappable list items
2022-12-03 09:52:04 +01:00
TobiGr
ef1e7e5b52
Merge branch 'master' into dev
2022-11-09 16:45:22 +01:00
Isira Seneviratne
feb03f7e30
Use Math.floorDiv().
2022-11-09 20:01:40 +05:30
Isira Seneviratne
3dc1adb69e
Add helper methods for adding PendingIntent mutability.
2022-11-07 17:12:22 +05:30
Stypox
49c12a31e9
Fix wrongly calculated channel groups span count
2022-11-05 20:05:59 +01:00
Stypox
fc061599f8
Fix inconsistent channel group list and item view mode
2022-11-04 18:21:35 +01:00
Tobi
c8caf48cda
Merge pull request #9230 from Stypox/duplicate-feed-videos
...
Fix duplicate videos in feed group "All"
2022-11-03 17:23:05 +01:00
Stypox
25795c3a96
Merge pull request #8706 from Isira-Seneviratne/Improve_LocalPlaylistFragment
...
Refactor removeWatchedStreams() in LocalPlaylistFragment.
2022-10-30 22:03:39 +01:00
Stypox
9524c6245d
Merge pull request #8747 from Isira-Seneviratne/Range_limit
...
Use range-limiting methods in more places.
2022-10-28 10:34:04 +02:00
Stypox
2f6cb87bba
Use GROUP_ALL_ID instead of hardcoded -1
2022-10-27 23:32:19 +02:00
Stypox
3cef7f3201
Merge pull request #9207 from cern1710/list-view-alt-alt-implementation
...
undefined
2022-10-27 22:48:03 +02:00
Samuel Wu
f712ea34e0
Merge remote-tracking branch 'origin/list-view-alt-alt-implementation' into list-view-alt-alt-implementation
2022-10-28 04:54:42 +11:00
Samuel Wu
a44b7c9c9e
Disabled animations for subscription fragment
2022-10-28 04:54:33 +11:00
Stypox
4b32890b5f
Fix random crash in SubscriptionFragment
2022-10-27 18:45:06 +02:00
Stypox
a41aa01461
Solve two SonarCloud smells
2022-10-27 17:52:17 +02:00
Stypox
ea875c59af
Deduplicate isGridLayout calls
2022-10-27 17:25:06 +02:00
Stypox
83d16dc656
Fix flickering in channel groups list
2022-10-27 14:01:04 +02:00
Stypox
8ceefee1e3
Put "New feed group" item at the top
2022-10-27 13:51:56 +02:00
Stypox
0e169951f7
Fix grid/list toggle implementation of feed
2022-10-26 23:20:32 +02:00
Samuel Wu
f7e10eb094
Fully working card and list view
2022-10-26 21:05:55 +11:00
Jfax510
0d73d193ad
Added Toast Notification "Hold to enqueue" ( #9196 )
...
* Added Toast Notification "Hold to enqueue"
* Check if enqueue tips are enabled
* created function showHoldToAppendTipIfNeeded() for toast message
2022-10-26 11:35:03 +02:00
Samuel Wu
c607089cbb
Altered grid view similar to Youtube app layout
2022-10-26 00:06:48 +11:00
Samuel Wu
28464344c1
Finalized design for vertical card view and removed unneeded variables in SubscriptionFragment.kt
2022-10-25 11:43:25 +11:00
Samuel Wu
ed68e3bd46
Fully working toggle button that change between vertical and horizontal view
2022-10-25 10:54:27 +11:00
Samuel Wu
082d7a3f18
Added working binding for a "new" button that works in the list layout.
2022-10-25 02:38:31 +11:00
Samuel Wu
6eddaa0d38
Added boolean to handle feed groups. May need a better solution for this
2022-10-25 02:20:14 +11:00
Samuel Wu
1aa1a0287e
Could toggle between list view and grid view...once. Requires bug fixing on refreshing
2022-10-25 02:01:57 +11:00
Samuel Wu
3bfcb16f9a
Bug: SubscriptionViewModel.kt did not map values for FeedGroupCardVerticalItem in line 26
2022-10-25 00:32:21 +11:00
Samuel Wu
f37d869ea2
Button can be toggled but not all strings have been fed
2022-10-24 23:01:02 +11:00
Samuel Wu
78547b4fa4
Created a list view for channel group.
2022-10-24 18:55:08 +11:00
Samuel Wu
29e56b9f2d
Created a button in SubscriptionFragment.kt that reads whether button is clicked
2022-10-24 16:55:12 +11:00
Samuel Wu
8482bf9fed
Created a non-functional button in HeaderWithMenuItem.kt
2022-10-23 23:43:52 +11:00
Tobi
ed4eb124e4
Merge pull request #8734 from Stypox/feed-group-factory
...
Improve `FeedGroupDialogViewModel` factory
2022-10-09 19:35:47 +02:00
Stypox
489f052ef9
Fix feed menu tooltips (silly copy-paste error)
2022-09-19 11:21:42 +02:00
Stypox
051c572e7f
Show correct tooltips for actions in feed
2022-09-13 15:26:04 +02:00
Stypox
52dbfdee00
Keep strong references to Picasso notification icon loading targets
...
Before the Target would sometimes be garbage collected before being called with the loaded channel icon, since Picasso holds weak references to targets. This meant that sometimes a new streams notification would not be shown, because the lambda that should have shown it had already been garbage collected.
2022-08-25 16:41:51 +02:00
Isira Seneviratne
6399e39507
Remove from playlist only upon selecting the option and not afterwards.
2022-08-15 07:26:36 +05:30
Isira Seneviratne
f9443f7421
Refactor removeWatchedStreams() in LocalPlaylistFragment.
2022-08-15 07:26:36 +05:30
Isira Seneviratne
e136a6f915
Use range-limiting methods in more places.
2022-08-08 07:10:16 +05:30
Isira Seneviratne
ee6a279596
Remove unused methods in HistoryRecordManager.
2022-08-06 05:09:54 +05:30
Stypox
8dce66d76f
Improve FeedGroupDialogViewModel factory
2022-08-04 10:49:33 +02:00
Isira Seneviratne
7f018b90db
Merge branch 'dev' into OnClickGesture_interface
2022-08-04 06:10:39 +05:30
Isira Seneviratne
47f58040d1
Make OnClickGesture an interface.
2022-08-01 06:47:00 +05:30
Isira Seneviratne
311d392386
Use Application instead of Context in FeedViewModel.
2022-07-31 08:37:16 +05:30
Stypox
404c13d4c1
Improve FeedViewModel factory
2022-07-31 08:30:17 +05:30
Isira Seneviratne
5c68c8ece8
Update Lifecycle to 2.5.1.
2022-07-31 08:30:17 +05:30
litetex
8f37015dbb
Merge pull request #8621 from Stypox/deduplicate-feed
...
Deduplicate SQL queries to get feed streams
2022-07-24 14:52:35 +02:00
Stypox
37275e8fe3
Fix wrong thumbnail used as placeholder for channel
2022-07-22 15:13:47 +02:00
Stypox
e8669d4ab5
Deduplicate SQL queries to get feed streams
2022-07-18 23:39:57 +02:00
litetex
8b209df253
Changed the code accordingly
...
+ Removed some unused code
2022-07-15 19:55:19 +02:00
litetex
b7a44560f5
Merge pull request #8170 from Stypox/player-refactor
...
Refactor player and extract UI components
2022-07-15 19:41:23 +02:00
Stypox
6ea85e6380
Rename dummy_* and more to placeholder_*
2022-07-14 14:27:33 +02:00
Stypox
70e3c9805a
Merge pull request #8542 from carmebar/share-playlist
...
Add 'Share playlist' option to Playlist fragment
2022-07-13 23:45:08 +02:00
Stypox
8187a3bc04
Move PlayerType into its own class and add documentation
...
Also replace some `isPlayerOpen` with direct `playerType == null` checks.
2022-07-13 23:33:18 +02:00
Stypox
61c1da144e
Some refactorings after review comments
2022-07-13 23:33:18 +02:00
Stypox
4979f84e41
Solve some Sonarlint warnings
2022-07-13 23:33:16 +02:00
Stypox
76ced59b62
Refactor player: separate UIs and more
2022-07-13 23:25:26 +02:00
litetex
99104fc11d
Clean up pre-Lollipop checks
2022-07-13 19:02:24 +02:00
Carlos Melero
d0b6d95f1b
Add Share option to local playlists
...
A newline-separated text is shared
2022-07-13 14:32:23 +02:00
Stypox
b96c8a0c2f
Merge pull request #8545 from carmebar/hide-future-videos
...
Add option to hide future videos in feed
2022-07-13 11:07:38 +02:00
litetex
4e285a4e70
Fix compile errors
2022-07-04 23:19:41 +02:00
Stypox
085d1e0d38
Actually fix wrong view count
2022-07-01 16:07:19 +02:00