Commit graph

115 commits

Author SHA1 Message Date
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
TobiGr
ad5e5cb808 Rename NotificationMode.ENABLED_DEFAULT to NotificationMode.ENABLED 2021-10-15 19:59:06 +02:00
Koitharu
f0d919e4a3 Refactor FeedLoadService to use it within the notification worker 2021-09-07 13:30:26 +03:00
Vasiliy
51d972eeb9 Notifications about new streams 2021-09-07 13:30:16 +03:00
ktprograms
2ed0843707 Remove migration test, add manual testing reminder to Migrations.java 2021-08-17 08:57:03 +08:00
ktprograms
79d4eaec04 Save uploader url when adding from PlayQueueItem 2021-08-16 08:08:50 +08:00
ktprograms
4c7b650b40 Remove setting uploaderUrl to empty string if null 2021-08-14 20:59:38 +08:00
ktprograms
dcb9b32ece Make uploader_url column nullable 2021-08-14 17:48:35 +08:00
ktprograms
2704d86351 Save channelUrl to Database if it doesn't exist 2021-08-13 18:02:53 +08:00
ktprograms
a99eb0c4f7 Add Show Channel Details to Subscription Feed & History 2021-08-13 17:04:10 +08:00
ktprograms
028b7d5c1e Add uploader_url column to StreamEntity 2021-08-13 16:44:50 +08:00
Tobi
09934df29b Merge pull request #3371 from mauriciocolli/feed-hide-played-items
Add ability to hide played items in a feed
2021-06-18 09:18:48 +02:00
Stypox
3c670fed5f Fix hiding finished streams in groups; new stream state validity condition
Consider stream state valid also if >1/4 of video was watched
2021-06-14 19:01:01 +02:00
Stypox
8b8e9f5fc4 Merge pull request #6313 from Isira-Seneviratne/Update_Room_to_2.3.0
Update Room to 2.3.0.
2021-06-09 16:28:55 +02:00
Stypox
f07eaa13d5 Correctly save stream progress at the end of a video 2021-06-09 15:53:51 +02:00
Stypox
70c33b64e9 Remove IN HISTORY label on stream info items 2021-06-09 15:53:51 +02:00
Stypox
b84b34be36 Save playback state even if stream is finished and add isFinished() 2021-06-09 15:53:51 +02:00
Mauricio Colli
d48c363baf Add ability to hide played items in a feed
- Use components from the new Groupie list library for displaying the
feed list.
2021-06-09 15:53:51 +02:00
Stypox
ac8cd98457 Merge pull request #5462 from Isira-Seneviratne/Convert_abstract_classes_to_interfaces
Convert the abstract class DAOs to interfaces.
2021-06-08 11:32:10 +02:00
Isira Seneviratne
31eb99034f Convert Converters to a Kotlin object. 2021-05-16 11:14:15 +05:30
Isira Seneviratne
0755c854db Rename .java to .kt 2021-05-16 11:14:15 +05:30
Stypox
9dc583da87 Optimize imports and solve checkstyle issues 2021-03-12 23:21:53 +01:00
Isira Seneviratne
a5402c13ff Convert the abstract class DAOs to interfaces. 2021-01-20 06:29:50 +05:30
hlloreda
ae03327f4c [FIX] - Use of a Data class instead of overriding equals method 2020-12-07 10:53:33 +01:00
hlloreda
2d86452c5d [IMPORT] - import got deleted 2020-12-07 00:06:56 +01:00
hlloreda
c00b667347 [FIX] - Crash while deleting a video from a playlist while refreshing 2020-12-06 23:40:38 +01:00
TobiGr
a9f1c232d7 Add missing import for @throws annotation 2020-11-28 12:53:22 +01:00
Stypox
57c28a9a9c Fix ktlint errors 2020-11-22 14:03:10 +01:00
Stypox
34dd7c0fbf Update most dependencies 2020-11-22 14:03:10 +01:00
vkay94
8f8cfc2f7e Add progressTime field to some stream entries (database) 2020-11-15 14:08:41 +01:00
Isira Seneviratne
a7e248d12b Switch to the Java 8 Date/Time API. 2020-11-05 15:02:51 +05:30
Isira Seneviratne
bda8caa510 Use Comparator's comparing(), nullsLast() and reversed() methods. 2020-11-01 14:44:04 +05:30
vkay94
0f720b6e97 Fix PlaylistAppendDialog showing when no local playlists exist 2020-10-23 09:44:26 +02:00
TacoTheDank
0e33cc5d73 Fix some deprecations 2020-09-06 12:52:43 +02:00
TobiGr
a0498c4c62 Remove unused and redundant code. 2020-09-01 17:39:06 +02:00
wb9688
25b56bf5e4 Use final where possible 2020-08-16 10:25:09 +02: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