Commit graph

151 commits

Author SHA1 Message Date
Stypox
7828cd233d Separate imageListToDbUrl from choosePreferredImage
imageListToDbUrl should be used if the URL is going to be saved to the database, to avoid saving nothing in case at the moment of saving the user preference is to not show images.
2023-09-22 10:14:44 +02:00
Stypox
e97da723fc Add documentation and fix SonarCloud issue 2023-09-22 10:14:44 +02:00
Stypox
4164bf36f6 Implement better image selection strategy 2023-09-22 10:14:44 +02:00
Stypox
a6a7c2271a Add image quality preference 2023-09-22 10:14:43 +02:00
Stypox
46109ff3b9 Support obtaining multiple images from the extractor 2023-09-22 09:57:33 +02:00
TacoTheDank
463834f6cd Update AndroidX Room library 2023-07-17 21:09:44 -04:00
Stypox
65d0f89a09 Merge pull request #9707 from Jared234/1473_remove_duplicates_from_playlist
Remove duplicates from playlist feature
2023-02-28 22:14:01 +01:00
Stypox
7726a0434f Merge pull request #9747 from Jared234/9126_remove_partially_watched_from_feed
Added option to remove partially watched videos from the 'Whats new' feed
2023-02-28 19:10:11 +01:00
Jared Fantaye
0752461c77 Made some small code improvements 2023-02-09 23:17:36 +01:00
Jared Fantaye
2567a6d28c Implemented the suggested changes 2023-02-09 21:18:21 +01:00
Jared234
e26fafd61b Merge branch 'dev' into 1473_remove_duplicates_from_playlist 2023-02-09 20:47:10 +01:00
Jared Fantaye
5b95360879 Made some small adjustments to the database query 2023-02-09 20:41:22 +01:00
Jared Fantaye
741239911b Fixed the merge conflict 2023-02-05 21:21:02 +01:00
Jared234
049673af55 Merge branch 'dev' into 9458_faulty_playlist_thumbnail_update 2023-02-05 20:45:44 +01:00
Jared Fantaye
daa30ec46a Fixed the bug by replacing the thumbnail_url with the thumbnail_stream_id 2023-02-05 20:32:34 +01:00
Jared Fantaye
87c87acedc Implemented the feature using multiple checkboxes 2023-02-04 18:48:27 +01:00
Jared Fantaye
472d488cc4 Implemented the feature and fixed some small issues 2023-02-01 23:10:31 +01:00
Jared Fantaye
5fb93f6a76 First draft of the new feature 2023-01-30 22:37:24 +01:00
Stypox
cd44aad907 See if playlists already contain a stream from db 2023-01-14 18:01:48 +01:00
Jared Fantaye
7a3b3452c4 Fixed the functionality, improved performance & general code cleanup 2023-01-14 18:01:47 +01:00
Jared Fantaye
40522dbebf Started working on a way to show that items are already in a playlist 2023-01-14 18:01:47 +01:00
Jared Fantaye
2caccef5cd Implemented a warning before adding duplicate to playlist. 2023-01-14 18:01:46 +01:00
Jared Fantaye
82d74d18ee Implemented the "remove duplicates" feature. 2023-01-13 21:35:22 +01:00
Stypox
f7fe8d0e57 Merge pull request #9642 from Jared234/8582_empty_playlists_not_shown
Fixed a bug that prevented the display of multiple empty playlists
2023-01-13 13:20:42 +01:00
Jared Fantaye
0933b335e6 Created the first draft. 2023-01-10 20:55:18 +01:00
Jared Fantaye
3be950c143 Fixed a bug that caused multiple empty playlists to be not shown. 2023-01-08 11:53:42 +01:00
Jared Fantaye
be2394e912 Added migration to new database 2022-12-09 22:40:54 +01:00
Jared Fantaye
a5da1c9ce6 Formatting, renaming and small fixes 2022-12-09 12:01:59 +01:00
Jared Fantaye
9bfe79b34c Fixed some bugs and improved code quality 2022-12-08 23:31:20 +01:00
Jared Fantaye
fdd014db90 Tried to implement the feature 2022-12-07 02:32:53 +01:00
Jared Fantaye
c4eb72385d Added menu with tappable list items 2022-12-03 09:52:04 +01:00
Stypox
c0b2e2aebe Fix duplicate videos in feed "All" 2022-10-27 23:43:39 +02:00
Isira Seneviratne
cf52c320fc Remove unused methods in HistoryRecordManager. 2022-08-06 05:09:54 +05:30
litetex
e2f5b521bb Merge pull request #8621 from Stypox/deduplicate-feed
Deduplicate SQL queries to get feed streams
2022-07-24 14:52:35 +02:00
Stypox
808935152b Deduplicate SQL queries to get feed streams 2022-07-18 23:39:57 +02:00
Isira Seneviratne
f9daa00017 Use stream sorting. 2022-07-16 08:34:04 +05:30
Stypox
0581ad0075 Actually fix wrong view count 2022-07-01 16:07:19 +02:00
AudricV
c0b4c41aff Use StreamTypeUtil where possible and add isAudio and isVideo to this utility class 2022-06-17 22:01:26 +02:00
litetex
ed2156e3aa Add comment that explains why 0 is used
Co-authored-by: Stypox <stypox@pm.me>
2022-05-04 19:19:45 +02:00
Mamadou WAGUE
d7248a6095 Fixed viewed counting 2022-05-02 14:52:43 +02:00
Stypox
6ead95b5d2 Merge branch 'dev' into pr2335 2022-03-19 22:29:10 +01:00
Stypox
7a1315e177 Fix Room warning about unused columns during build
The warning was: "The query returns some columns [...] which are not used by ..."
2022-02-19 17:13:57 +01:00
Stypox
73182bf375 Merge branch 'dev' into pr2335 2022-01-24 10:25:07 +01:00
XiangRongLin
bc5ae5fc47 Make SearchHistoryEntry.kt fields nullable to match java version (#7674) 2022-01-21 16:01:11 +00:00
XiangRongLin
7cfbd55c3a Replace JUnit asserts with AssertJ in HistoryRecordManagerTest (#7654)
* Replace JUnit asserts with AssertJ in HistoryRecordManagerTest

They provide a wider range of assertions, which allow for more detailed error messages.
Also convert SearchHistoryEntry to kotlin data class for better error messages, since toString() is implemented.

Co-authored-by: Mohammed Anas <triallax@tutanota.com>
2022-01-16 09:10:45 +01:00
Stypox
c70713a925 Merge branch 'dev' into pr2335 2021-12-31 19:20:18 +01:00
Stypox
de83cff1e1 Fix order of local search results 2021-12-08 13:59:32 +01:00
TobiGr
957b38b82c Only check for new streams of subscriptions with enabled notifications automatically 2021-11-21 22:53:10 +01:00
TobiGr
67edd370e3 Merge remote-tracking branch 'origin/dev' into notifications-1 2021-11-21 22:15:09 +01:00
litetex
0dfbcb8c04 No more reaction to unnecessary feed db-changes
This caused duplicate events (https://github.com/TeamNewPipe/NewPipe/pull/6686#issuecomment-909575283) and unnecessary processing of items
2021-11-15 20:21:23 +01:00