revert back to youtube-dl

This commit is contained in:
Max Bradbury 2021-02-20 16:18:07 +00:00
parent 6d4c5f92dc
commit f851cdbc30
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
[package] [package]
name = "media-downloader-gtk" name = "media-downloader-gtk"
description = "a simple frontend for youtube-dlc" description = "a simple frontend for youtube-dlc"
version = "0.1.4" version = "0.1.5"
authors = ["Max Bradbury <max@tinybird.info>"] authors = ["Max Bradbury <max@tinybird.info>"]
repository = "https://tinybird.dev/max/media-downloader" repository = "https://tinybird.dev/max/media-downloader"
license = "MIT" license = "MIT"

View File

@ -40,7 +40,7 @@ fn build_ui(application: &gtk::Application) {
button.connect_clicked(move |_| { button.connect_clicked(move |_| {
let url = input_url.get_buffer().get_text(); let url = input_url.get_buffer().get_text();
println!("url: {}", url); 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() { if convert_to_mp3.get_active() {
println!("convert to mp3: true"); println!("convert to mp3: true");
@ -60,7 +60,7 @@ fn build_ui(application: &gtk::Application) {
fn main() { fn main() {
let application = gtk::Application::new( let application = gtk::Application::new(
Some("dev.tinybird.max.youtube-dl-gtk"), Some("dev.tinybird.max.media-downloader"),
Default::default() Default::default()
).expect("Initialization failed..."); ).expect("Initialization failed...");