revert back to youtube-dl
This commit is contained in:
parent
6d4c5f92dc
commit
f851cdbc30
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "media-downloader-gtk"
|
||||
description = "a simple frontend for youtube-dlc"
|
||||
version = "0.1.4"
|
||||
version = "0.1.5"
|
||||
authors = ["Max Bradbury <max@tinybird.info>"]
|
||||
repository = "https://tinybird.dev/max/media-downloader"
|
||||
license = "MIT"
|
||||
|
|
|
@ -40,7 +40,7 @@ fn build_ui(application: >k::Application) {
|
|||
button.connect_clicked(move |_| {
|
||||
let url = input_url.get_buffer().get_text();
|
||||
println!("url: {}", url);
|
||||
let mut youtube_dl = Command::new("youtube-dlc");
|
||||
let mut youtube_dl = Command::new("youtube-dl");
|
||||
|
||||
if convert_to_mp3.get_active() {
|
||||
println!("convert to mp3: true");
|
||||
|
@ -60,7 +60,7 @@ fn build_ui(application: >k::Application) {
|
|||
|
||||
fn main() {
|
||||
let application = gtk::Application::new(
|
||||
Some("dev.tinybird.max.youtube-dl-gtk"),
|
||||
Some("dev.tinybird.max.media-downloader"),
|
||||
Default::default()
|
||||
).expect("Initialization failed...");
|
||||
|
||||
|
|
Loading…
Reference in New Issue