Gives the interface the ability to pull information from the YouTube page.

This will make filling in song data much easier.
This commit is contained in:
Markil3
2021-10-10 16:20:01 -06:00
parent a92d686ddb
commit 0de20568a7
18 changed files with 1012 additions and 246 deletions

View File

@@ -140,6 +140,10 @@ public class Browser extends MessageRunner
String methodName;
Class<?>[] types = null;
Object[] params = null;
if (log.message.length == 1 && !(log.message[0] instanceof String))
{
log.message = new Object[] {"{}", log.message[0]};
}
if (log.message.length == 1)
{
types = new Class<?>[]{String.class};
@@ -185,6 +189,11 @@ public class Browser extends MessageRunner
logger.error("Could not process logger message {}", log,
e);
}
catch (IllegalArgumentException e)
{
logger.error("Could not call logger {} with arguments {}", method,
params);
}
}
}
else if (object instanceof LogEvent)