bump: update version to 0.8.10 and remove logging info from scan_files method
This commit is contained in:
BIN
dist/renamer-0.8.10-py3-none-any.whl
vendored
Normal file
BIN
dist/renamer-0.8.10-py3-none-any.whl
vendored
Normal file
Binary file not shown.
@@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "renamer"
|
name = "renamer"
|
||||||
version = "0.8.9"
|
version = "0.8.10"
|
||||||
description = "Terminal-based media file renamer and metadata viewer"
|
description = "Terminal-based media file renamer and metadata viewer"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.11"
|
requires-python = ">=3.11"
|
||||||
|
|||||||
@@ -185,7 +185,6 @@ class RenamerApp(App):
|
|||||||
main_container.remove_class("catalog-mode")
|
main_container.remove_class("catalog-mode")
|
||||||
|
|
||||||
def scan_files(self):
|
def scan_files(self):
|
||||||
logging.info("scan_files called")
|
|
||||||
if not self.scan_dir or not self.scan_dir.exists() or not self.scan_dir.is_dir():
|
if not self.scan_dir or not self.scan_dir.exists() or not self.scan_dir.is_dir():
|
||||||
details = self.query_one("#details_technical", Static)
|
details = self.query_one("#details_technical", Static)
|
||||||
details.update("Error: Directory does not exist or is not a directory")
|
details.update("Error: Directory does not exist or is not a directory")
|
||||||
@@ -238,7 +237,6 @@ class RenamerApp(App):
|
|||||||
elif item.is_file() and item.suffix.lower() in {
|
elif item.is_file() and item.suffix.lower() in {
|
||||||
f".{ext}" for ext in MEDIA_TYPES
|
f".{ext}" for ext in MEDIA_TYPES
|
||||||
}:
|
}:
|
||||||
logging.info(f"Adding file to tree: {item.name!r} (full path: {item})")
|
|
||||||
# Add file type icon before filename
|
# Add file type icon before filename
|
||||||
icon = self._get_file_icon(item)
|
icon = self._get_file_icon(item)
|
||||||
label = f"{icon} {escape(item.name)}"
|
label = f"{icon} {escape(item.name)}"
|
||||||
|
|||||||
Reference in New Issue
Block a user