Remove all YouTube code

It has been broken for quite some time. From now on this is gonna be left to handle for GStreamer plugins.
This commit is contained in:
Rafał Dzięgiel
2021-12-20 13:35:50 +01:00
parent 7a508fef39
commit f6a1aaf1dc
10 changed files with 13 additions and 1566 deletions

View File

@@ -20,17 +20,6 @@ clapperDebugger.enabled = (
&& G_DEBUG_ENV.includes('Clapper')
);
const ytDebugger = new Debug.Debugger('YouTube', {
name_printer: new Ink.Printer({
font: Ink.Font.BOLD,
color: Ink.Color.RED
}),
time_printer: new Ink.Printer({
color: Ink.Color.LIGHT_BLUE
}),
high_precision: true,
});
function _logStructured(debuggerName, msg, level)
{
GLib.log_structured(
@@ -52,14 +41,7 @@ function _debug(debuggerName, msg)
return;
}
switch(debuggerName) {
case 'Clapper':
clapperDebugger.debug(msg);
break;
case 'YouTube':
ytDebugger.debug(msg);
break;
}
clapperDebugger.debug(msg);
}
function debug(msg)
@@ -67,11 +49,6 @@ function debug(msg)
_debug('Clapper', msg);
}
function ytDebug(msg)
{
_debug('YouTube', msg);
}
function warn(msg)
{
_logStructured('Clapper', msg, GLib.LogLevelFlags.LEVEL_WARNING);