mirror of
https://github.com/TeamPiped/Piped-Backend
synced 2025-09-04 04:21:20 +02:00
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())) {
|
||||||
VideoHelpers.handleNewVideo("https://www.youtube.com/watch?v=" + info.getVideoId(),
|
var channel = DatabaseHelper.getChannelFromId(info.getUploaderId());
|
||||||
System.currentTimeMillis(), null);
|
if (channel != null)
|
||||||
|
VideoHelpers.handleNewVideo("https://www.youtube.com/watch?v=" + info.getVideoId(),
|
||||||
|
System.currentTimeMillis(), channel);
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user