YouTube support. Closes #46

This commit is contained in:
Rafał Dzięgiel
2021-03-11 17:34:54 +01:00
parent 6dc37088cf
commit fceb8ff70a
6 changed files with 406 additions and 6 deletions

View File

@@ -1,8 +1,10 @@
imports.gi.versions.Gdk = '4.0';
imports.gi.versions.Gtk = '4.0';
const { Gst } = imports.gi;
const { Gio, Gst } = imports.gi;
Gst.init(null);
Gio._promisify(Gio._LocalFilePrototype, 'replace_contents_bytes_async', 'replace_contents_finish');
const { App } = imports.src.app;