From f851cdbc30ebb817b6941fdc2fcb6a0da3fd2e32 Mon Sep 17 00:00:00 2001 From: Max Bradbury Date: Sat, 20 Feb 2021 16:18:07 +0000 Subject: [PATCH] revert back to youtube-dl --- Cargo.toml | 2 +- src/main.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 96e7ed2..074111d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 "] repository = "https://tinybird.dev/max/media-downloader" license = "MIT" diff --git a/src/main.rs b/src/main.rs index 322c530..d28cc8d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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...");