Compare commits
No commits in common. "c4424b806f9a77b20aa0c19192d2737f98767741" and "8736644435fc5b640450d6cabc961b82ee5e5117" have entirely different histories.
c4424b806f
...
8736644435
18
README.md
18
README.md
|
@ -1,18 +0,0 @@
|
||||||
# youtube-dl-gtk
|
|
||||||
|
|
||||||
a simple graphical frontend for the `youtube-dl` media downloader.
|
|
||||||
|
|
||||||
really just an experiment in creating my first desktop program, so don't expect too much.
|
|
||||||
|
|
||||||
uses `gtk-rs`. released under the MIT license.
|
|
||||||
|
|
||||||
## features
|
|
||||||
|
|
||||||
download from any media source that `youtube-dl` supports (e.g. soundcloud, mixcloud, etc.)
|
|
||||||
|
|
||||||
extract audio and convert to mp3
|
|
||||||
|
|
||||||
## known problems
|
|
||||||
|
|
||||||
will hang after clicking "go!" due to `youtube-dl` being executed in the same thread.
|
|
||||||
there is no user feedback so this basically looks like the program crashing.
|
|
|
@ -1,8 +1,6 @@
|
||||||
#![windows_subsystem = "windows"]
|
|
||||||
|
|
||||||
use gio::prelude::*;
|
use gio::prelude::*;
|
||||||
use gtk::prelude::*;
|
use gtk::prelude::*;
|
||||||
use gtk::{Orientation, InputPurpose};
|
use gtk::Orientation;
|
||||||
use std::env::args;
|
use std::env::args;
|
||||||
use std::process::Command;
|
use std::process::Command;
|
||||||
|
|
||||||
|
@ -23,7 +21,6 @@ fn build_ui(application: >k::Application) {
|
||||||
let button = gtk::Button::with_label("Go!");
|
let button = gtk::Button::with_label("Go!");
|
||||||
|
|
||||||
input_url.set_placeholder_text(Some("Enter URL here"));
|
input_url.set_placeholder_text(Some("Enter URL here"));
|
||||||
input_url.set_input_purpose(InputPurpose::Url);
|
|
||||||
|
|
||||||
horizontal.set_homogeneous(true);
|
horizontal.set_homogeneous(true);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue