fix part numbers starting with 0

This commit is contained in:
OMGeeky
2024-04-24 00:21:14 +02:00
parent 1eb1396c5a
commit d1415d0f8e
3 changed files with 3 additions and 3 deletions

View File

@@ -244,7 +244,7 @@ fn get_part_number_from_path(path: &Path) -> Result<usize> {
let part_number = part_number
.parse::<usize>()
.context("could not parse path")?;
return Ok(part_number);
return Ok(part_number + 1);
}
warn!("path has not the expected extension (.mp4): {:?}", path);
}