fix unmuted panic

This commit is contained in:
OMGeeky
2023-07-15 19:59:54 +02:00
parent eb7eae2735
commit f5d80a8163
2 changed files with 2 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "twitch_data"
version = "0.2.9"
version = "0.2.10"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@@ -713,6 +713,7 @@ pub fn sort_video_part_filenames(video_id: &str, files: &mut Vec<PathBuf>) {
.to_str()
.unwrap()
.replace("-muted", "") //remove the muted for the sort if its there
.replace("-unmuted", "") //remove the muted for the sort if its there
.replace(".ts", "") //remove the file ending for the sort
;