Switch the name to ilovetv

This commit is contained in:
Love 2023-03-02 20:05:31 +01:00
parent 63c3975f53
commit d54a367fa0
4 changed files with 22 additions and 22 deletions

30
Cargo.lock generated
View File

@ -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"

View File

@ -1,6 +1,6 @@
[package]
name = "iptvnator"
version = "0.1.0"
name = "ilovetv"
version = "1.0.0"
edition = "2021"
[dependencies]

View File

@ -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;

View File

@ -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(),