Commit graph

98 commits

Author SHA1 Message Date
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
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
5c57c1d500 Fix subscription picker items flickering in the feed group dialog
The adapter could not tell the items were the same because the
subscription class was missing some methods (i.e. equals and hashcode),
so a full rebind was being done.
2020-06-27 11:25:31 -03:00
Mauricio Colli
77439f720c Add search for subscription picker in the feed group dialog 2020-06-27 11:25:25 -03: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
Grady Clark
e28d827df5 Merge branch 'dev' of https://github.com/TeamNewPipe/NewPipe into dev 2020-04-14 13:24:57 -05:00
Mauricio Colli
17b4a97a3c Avoid unnecessary changes to the upload date of saved streams
The upload date was being updated regardless if the new one had more
precision or not, this caused items on the feed to jump around when the
user opened one of them.

This changes it to only update when the existent upload date is null or
the new one has a higher precision (i.e. is not an approximation).
2020-04-05 10:57:54 -03:00
Stypox
5df946dd2b Use binary search to remove watched items from playlists 2020-04-03 19:51:29 +02:00
wb9688
ac264464ef Improve code style to be more consistent 2020-04-02 15:57:50 +02:00
TobiGr
3e37be8543 Improve database migration SQL statement 2020-03-31 00:20:13 +02:00
Mauricio Colli
a9a64634a9 Fix handling of null values in database migration to version 3
Some values prior to this version could be null, this wasn't handled
properly before.
2020-03-30 15:50:46 -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
ff298dfbeb Replace hardcoded value that represents the group "All" with a constant 2020-03-14 00:12:41 -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
ee00c8c26f Implement new feed and subscriptions groups
- Introduce Groupie for easier lists implementations
- Use some of the new components of the Android Architecture libraries
- Add a bunch of icons for groups, using vectors, which still is
compatible with older APIs through the compatibility layer
2020-03-14 00:12:31 -03:00
Mauricio Colli
c1765bf035 Setup initial database for feed implementation
- Update the database diagram
- Add new migration for the new tables and fields
- Enable schema exports
2020-03-14 00:12:30 -03:00
Peter Hindes
72aab82d95 Fixed library showing null 2019-10-16 19:56:31 -06:00