mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 08:21:59 +02:00
Add custom debug script with Gst version check
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
const { Gdk, GLib, GObject, Gtk } = imports.gi;
|
||||
const Debug = imports.clapper_src.debug;
|
||||
const { Interface } = imports.clapper_src.interface;
|
||||
const { Player } = imports.clapper_src.player;
|
||||
const { Window } = imports.clapper_src.window;
|
||||
|
||||
const APP_NAME = 'Clapper';
|
||||
|
||||
let { debug } = Debug;
|
||||
|
||||
var App = GObject.registerClass({
|
||||
Signals: {
|
||||
'ready': {
|
||||
@@ -306,11 +309,11 @@ var App = GObject.registerClass({
|
||||
|
||||
_onPlayerWarning(self, error)
|
||||
{
|
||||
log(error.message);
|
||||
debug(error.message, 'LEVEL_WARNING');
|
||||
}
|
||||
|
||||
_onPlayerError(self, error)
|
||||
{
|
||||
logError(error);
|
||||
debug(error);
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user