Fix bug with & in movie names; update catalog

This commit is contained in:
2026-09-08 20:52:08 -07:00
parent 5e49f653f1
commit d2a867fa19
15 changed files with 66 additions and 54 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "flix-fs"
version = "0.1.0"
version = "0.1.1"
description = "Filesystem scanner for flix media"
repository = "https://git.skrundz.dev/quantumshade/flix"
keywords = ["flix"]
+1 -1
View File
@@ -110,7 +110,7 @@ impl Scanner {
#[expect(clippy::panic, reason = "static regex string")]
let media_folder_re = MEDIA_FOLDER_REGEX.get_or_init(|| {
Regex::new(r"^[[[:alnum:]]' -]+ \([[:digit:]]+\)( \[[[:digit:]]+\])?$")
Regex::new(r"^[[[:alnum:]]' &-]+ \([[:digit:]]+\)( \[[[:digit:]]+\])?$")
.unwrap_or_else(|err| panic!("regex is invalid: {err}"))
});
#[expect(clippy::panic, reason = "static regex string")]