diff --git a/Cargo.lock b/Cargo.lock index 68036ad..bd2c44b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -416,6 +416,21 @@ dependencies = [ "unicode-normalization", ] +[[package]] +name = "ilovetv" +version = "1.0.0" +dependencies = [ + "bytes", + "colored", + "directories", + "futures-util", + "indicatif", + "reqwest", + "serde", + "serde_json", + "tokio", +] + [[package]] name = "indexmap" version = "1.9.2" @@ -454,21 +469,6 @@ version = "2.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "30e22bd8629359895450b59ea7a776c850561b96a3b1d31321c1949d9e6c9146" -[[package]] -name = "iptvnator" -version = "0.1.0" -dependencies = [ - "bytes", - "colored", - "directories", - "futures-util", - "indicatif", - "reqwest", - "serde", - "serde_json", - "tokio", -] - [[package]] name = "itoa" version = "1.0.5" diff --git a/Cargo.toml b/Cargo.toml index 6bbd5a0..a76a8ad 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] -name = "iptvnator" -version = "0.1.0" +name = "ilovetv" +version = "1.0.0" edition = "2021" [dependencies] diff --git a/src/config.rs b/src/config.rs index d9cdabe..57889e4 100644 --- a/src/config.rs +++ b/src/config.rs @@ -11,9 +11,9 @@ use serde_json; use crate::{download_with_progress, get_mut_ref, Readline}; -const JSON_CONFIG_FILENAME: &'static str = "iptvnator_config.json"; -const APP_IDENTIFIER: [&'static str; 3] = ["com", "billenius", "iptvnator"]; -const STANDARD_PLAYLIST_FILENAME: &'static str = "ilovetv.m3u8"; +const JSON_CONFIG_FILENAME: &'static str = "config.json"; +const APP_IDENTIFIER: [&'static str; 3] = ["com", "billenius", "ilovetv"]; +const STANDARD_PLAYLIST_FILENAME: &'static str = "playlist.m3u8"; const STANDARD_SEEN_LINKS_FILENAME: &'static str = "watched_links.json"; const MAX_TRIES: u8 = 4; diff --git a/src/main.rs b/src/main.rs index 45b07cf..417db1c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -3,7 +3,7 @@ use std::process::Command; use std::rc::Rc; use colored::Colorize; -use iptvnator::{download_with_progress, get_mut_ref, Configuration, M3u8, Parser, Readline}; +use ilovetv::{download_with_progress, get_mut_ref, Configuration, M3u8, Parser, Readline}; #[tokio::main] async fn main() { @@ -11,7 +11,7 @@ async fn main() { [ format!( "Welcome to {}, a {} iptv client written in rust\n", - "iptvnator".bold(), + "ilovetv".bold(), "BLAZINGLY FAST".italic() ), "There will be some options along the way".to_owned(),