mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-12-14 06:10:29 +05:30
Fix syncrunner extracting Streams unnecessarily.
This commit is contained in:
parent
287d75c607
commit
bf269aec5e
@ -141,8 +141,10 @@ public class SyncRunner implements Runnable {
|
|||||||
info.getViews(),
|
info.getViews(),
|
||||||
info.getDuration(),
|
info.getDuration(),
|
||||||
info.getTitle())) {
|
info.getTitle())) {
|
||||||
|
var channel = DatabaseHelper.getChannelFromId(info.getUploaderId());
|
||||||
|
if (channel != null)
|
||||||
VideoHelpers.handleNewVideo("https://www.youtube.com/watch?v=" + info.getVideoId(),
|
VideoHelpers.handleNewVideo("https://www.youtube.com/watch?v=" + info.getVideoId(),
|
||||||
System.currentTimeMillis(), null);
|
System.currentTimeMillis(), channel);
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user