diff --git a/INSTALL.md b/INSTALL.md index a1687d6..d77c173 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -28,7 +28,7 @@ powershell -c "irm https://astral.sh/uv/install.sh | iex" uv tool install https://github.com/shadoll/moma/releases/latest/download/moma-latest.tar.gz # Specific version -uv tool install https://github.com/shadoll/moma/releases/download/v0.9.7/moma-0.9.7-py3-none-any.whl +uv tool install https://github.com/shadoll/moma/releases/download/v0.9.8/moma-0.9.8-py3-none-any.whl # From PyPI (when published) uv tool install moma @@ -40,7 +40,7 @@ uv tool install moma uv tool install --force https://github.com/shadoll/moma/releases/latest/download/moma-latest.tar.gz # Upgrade to a newer specific version -uv tool install --force https://github.com/shadoll/moma/releases/download/v0.9.7/moma-0.9.7-py3-none-any.whl +uv tool install --force https://github.com/shadoll/moma/releases/download/v0.9.8/moma-0.9.8-py3-none-any.whl ``` #### Usage @@ -56,7 +56,7 @@ moma /path/to/directory # Scan specific directory pip install https://github.com/shadoll/moma/releases/latest/download/moma-latest.tar.gz # Specific version -pip install https://github.com/shadoll/moma/releases/download/v0.9.7/moma-0.9.7-py3-none-any.whl +pip install https://github.com/shadoll/moma/releases/download/v0.9.8/moma-0.9.8-py3-none-any.whl ``` ### Method 3: Development Installation diff --git a/pyproject.toml b/pyproject.toml index 977da2f..ad1007b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "moma" -version = "0.9.7" +version = "0.9.8" description = "Terminal-based media file renamer and metadata viewer" readme = "README.md" requires-python = ">=3.12" diff --git a/src/extractors/mediainfo_extractor.py b/src/extractors/mediainfo_extractor.py index c21ddb5..717c33a 100644 --- a/src/extractors/mediainfo_extractor.py +++ b/src/extractors/mediainfo_extractor.py @@ -213,7 +213,8 @@ class MediaInfoExtractor: # Determine scan type from available attributes # Check scan_type first (e.g., "Interlaced", "Progressive", "MBAFF") if scan_type_attr and isinstance(scan_type_attr, str): - scan_type = "i" if "interlaced" in scan_type_attr.lower() else "p" + scan_lower = scan_type_attr.lower() + scan_type = "i" if ("interlaced" in scan_lower or "mbaff" in scan_lower) else "p" logger.debug( f"[{self.file_path.name}] Using scan_type: {scan_type_attr!r} -> scan_type={scan_type!r}" ) diff --git a/uv.lock b/uv.lock index 23cffd0..19a8e5d 100644 --- a/uv.lock +++ b/uv.lock @@ -208,7 +208,7 @@ wheels = [ [[package]] name = "moma" -version = "0.9.7" +version = "0.9.8" source = { editable = "." } dependencies = [ { name = "langcodes" },