mirror of
https://github.com/TeamPiped/Piped-Backend
synced 2025-09-04 04:21:20 +02:00
Merge pull request #466 from TeamPiped/sync-cpu
Fix syncrunner extracting Streams unnecessarily.
This commit is contained in:
commit
de7d006c4d
@ -141,8 +141,10 @@ public class SyncRunner implements Runnable {
|
||||
info.getViews(),
|
||||
info.getDuration(),
|
||||
info.getTitle())) {
|
||||
var channel = DatabaseHelper.getChannelFromId(info.getUploaderId());
|
||||
if (channel != null)
|
||||
VideoHelpers.handleNewVideo("https://www.youtube.com/watch?v=" + info.getVideoId(),
|
||||
System.currentTimeMillis(), null);
|
||||
System.currentTimeMillis(), channel);
|
||||
}
|
||||
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user