mirror of
https://github.com/OMGeeky/twitch_data.git
synced 2025-12-26 16:27:24 +01:00
fix unmuted panic
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user