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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user