switching computers
This commit is contained in:
10
logs.log
10
logs.log
@@ -83,3 +83,13 @@
|
|||||||
[17-06-20 16:13:11] HTTP server listening on port 8080
|
[17-06-20 16:13:11] HTTP server listening on port 8080
|
||||||
[17-06-20 16:13:11] WebSocket server listening on 8080
|
[17-06-20 16:13:11] WebSocket server listening on 8080
|
||||||
[17-06-20 16:13:12] New socket connection from ip: ::1, unique id: RGn4_bvVIIU5ZnRmAAAA
|
[17-06-20 16:13:12] New socket connection from ip: ::1, unique id: RGn4_bvVIIU5ZnRmAAAA
|
||||||
|
[17-06-20 16:17:31] HTTP server listening on port 8080
|
||||||
|
[17-06-20 16:17:31] WebSocket server listening on 8080
|
||||||
|
[17-06-20 16:17:31] New socket connection from ip: ::ffff:127.0.0.1, unique id: kE6N6WlZOyiXUADtAAAA
|
||||||
|
[17-06-20 16:20:21] HTTP server listening on port 8080
|
||||||
|
[17-06-20 16:20:21] WebSocket server listening on 8080
|
||||||
|
[17-06-20 16:20:21] New socket connection from ip: ::1, unique id: dMN1C-rdWGOkKQXjAAAA
|
||||||
|
[17-06-20 16:20:26] New socket connection from ip: ::1, unique id: y7S-wBJ2wUWMg1B4AAAB
|
||||||
|
[17-06-20 16:20:33] HTTP server listening on port 8080
|
||||||
|
[17-06-20 16:20:33] WebSocket server listening on 8080
|
||||||
|
[17-06-20 16:20:33] New socket connection from ip: ::1, unique id: Oxl6l70wqHl6Wx2zAAAA
|
||||||
|
|||||||
@@ -1,20 +1,20 @@
|
|||||||
let Socket = io();
|
let Socket = io();
|
||||||
|
|
||||||
(() =>
|
(() =>
|
||||||
{
|
{
|
||||||
console.log('Starting up');
|
console.log('Starting up');
|
||||||
})();
|
})();
|
||||||
|
|
||||||
const VideoInput = document.getElementById("VideosToRecord");
|
const VideoInput = document.getElementById("VideosToRecord");
|
||||||
|
|
||||||
VideoInput.oninput = () =>
|
VideoInput.oninput = () =>
|
||||||
{
|
{
|
||||||
const ToSend = {
|
const ToSend = {
|
||||||
// TODO: add toggle
|
// TODO: add toggle
|
||||||
ExpectPreview: true,
|
ExpectPreview: true,
|
||||||
Content: VideoInput.value.split('\n')
|
Content: VideoInput.value.split('\n')
|
||||||
};
|
};
|
||||||
Socket.emit('VideoListUpdate', ToSend);
|
Socket.emit('VideoListUpdate', ToSend);
|
||||||
};
|
};
|
||||||
|
|
||||||
Socket.on('VideoListResolution', (req) => console.log(req));
|
Socket.on('VideoListResolution', (req) => console.log(req));
|
||||||
|
|||||||
@@ -52,12 +52,12 @@ async function VideoListUpdate(socket, req)
|
|||||||
// {
|
// {
|
||||||
// Error: bool,
|
// Error: bool,
|
||||||
// Errors: [err],
|
// Errors: [err],
|
||||||
// Content: {
|
// Content: [{
|
||||||
// id: int,
|
// id: int,
|
||||||
// url: string,
|
// url: string,
|
||||||
// valid: bool,
|
// valid: bool,
|
||||||
// action: string
|
// action: string
|
||||||
// }
|
// }]
|
||||||
// }
|
// }
|
||||||
|
|
||||||
if (!req || !req.Content)
|
if (!req || !req.Content)
|
||||||
@@ -67,10 +67,9 @@ async function VideoListUpdate(socket, req)
|
|||||||
socket.emit('VideoListResolution', Res);
|
socket.emit('VideoListResolution', Res);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const VideoArray = req.Content;
|
const VideoArray = req.Content;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
socket.emit('VideoListResolution', );
|
socket.emit('VideoListResolution', );
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
const YTDL = require('ytdl-core');
|
const YTDL = require('ytdl-core');
|
||||||
|
|
||||||
// TODO: does the video resolver need a queue?
|
// TODO: does the video resolver need a queue?
|
||||||
|
|
||||||
module.exports.GetVideoInfoArr = async (arr) =>
|
module.exports.GetVideoInfoArr = async (arr) =>
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports.GetVideoInfo = async (video) =>
|
module.exports.GetVideoInfo = async (video) =>
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user