rekordbox-edit 0.4.0.dev34__tar.gz → 0.4.0.dev35__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/CHANGELOG.md +2 -1
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/PKG-INFO +1 -1
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/pyproject.toml +1 -1
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/rekordbox_edit/display.py +7 -1
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/tests/test_display.py +16 -3
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/uv.lock +1 -1
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/.agent-style/RULES.md +0 -0
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/.agent-style/claude-code.md +0 -0
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/.github/actions/commitizen-bump/action.yml +0 -0
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/.github/actions/commitizen-bump/commitizen-bump.sh +0 -0
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/.github/actions/install/action.yml +0 -0
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/.github/actions/lint/action.yml +0 -0
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/.github/actions/test/action.yml +0 -0
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/.github/workflows/cd.yml +0 -0
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/.github/workflows/ci.yml +0 -0
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/.github/workflows/publish.yml +0 -0
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/.github/workflows/release.yml +0 -0
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/.gitignore +0 -0
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/.pre-commit-config.yaml +0 -0
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/AGENTS.md +0 -0
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/CLAUDE.md +0 -0
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/CONTRIBUTING.md +0 -0
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/LICENSE +0 -0
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/Makefile +0 -0
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/README.md +0 -0
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/codecov.yml +0 -0
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/rekordbox_edit/__init__.py +0 -0
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/rekordbox_edit/_click.py +0 -0
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/rekordbox_edit/cli.py +0 -0
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/rekordbox_edit/commands/__init__.py +0 -0
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/rekordbox_edit/commands/convert.py +0 -0
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/rekordbox_edit/commands/edit.py +0 -0
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/rekordbox_edit/commands/search.py +0 -0
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/rekordbox_edit/logger.py +0 -0
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/rekordbox_edit/query.py +0 -0
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/rekordbox_edit/utils.py +0 -0
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/renovate.json5 +0 -0
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/ruff.toml +0 -0
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/tests/__init__.py +0 -0
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/tests/commands/__init__.py +0 -0
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/tests/commands/test_convert.py +0 -0
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/tests/commands/test_edit.py +0 -0
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/tests/commands/test_search.py +0 -0
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/tests/conftest.py +0 -0
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/tests/test_logger.py +0 -0
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/tests/test_query.py +0 -0
- {rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/tests/test_utils.py +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
## v0.4.0.
|
|
1
|
+
## v0.4.0.dev35 (2026-06-04)
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
- fix(display): Don't crash on unknown file type during print_track_info
|
|
4
5
|
- chore(deps): update commit tooling to v4.16.3 (#54)
|
|
5
6
|
- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
|
6
7
|
- chore(deps): update pre-commit hooks to v4.16.3 (#55)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rekordbox-edit
|
|
3
|
-
Version: 0.4.0.
|
|
3
|
+
Version: 0.4.0.dev35
|
|
4
4
|
Summary: Tools for managing and modifying a RekordBox library en-masse
|
|
5
5
|
Project-URL: Homepage, https://github.com/jviall/rekordbox-edit
|
|
6
6
|
Project-URL: Repository, https://github.com/jviall/rekordbox-edit
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "rekordbox-edit"
|
|
7
|
-
version = "0.4.0.
|
|
7
|
+
version = "0.4.0.dev35"
|
|
8
8
|
description = "Tools for managing and modifying a RekordBox library en-masse"
|
|
9
9
|
authors = [{ name = "James Viall", email= "jamesviall@pm.me"}]
|
|
10
10
|
license = "MIT"
|
|
@@ -61,7 +61,13 @@ def _cell_value(content: DjmdContent, column: PrintableField) -> str:
|
|
|
61
61
|
if column is PrintableField.ID:
|
|
62
62
|
return str(content.ID)
|
|
63
63
|
if column is PrintableField.FileType:
|
|
64
|
-
|
|
64
|
+
try:
|
|
65
|
+
return get_file_type_name(content.FileType)
|
|
66
|
+
except ValueError:
|
|
67
|
+
logger.warning(
|
|
68
|
+
f"Unexpected FileType [{content.FileType}] for track ID [{content.ID}]"
|
|
69
|
+
)
|
|
70
|
+
return "UNKNOWN"
|
|
65
71
|
if column is PrintableField.FolderPath:
|
|
66
72
|
return os.path.dirname(content.FolderPath or "")
|
|
67
73
|
value = getattr(content, column.value)
|
|
@@ -106,9 +106,7 @@ class TestPrintTrackInfo:
|
|
|
106
106
|
mock_content = make_djmd_content_item()
|
|
107
107
|
|
|
108
108
|
with pytest.raises(ValueError, match="must be provided together"):
|
|
109
|
-
print_track_info(
|
|
110
|
-
[mock_content], changed_field=PrintableField.Title
|
|
111
|
-
)
|
|
109
|
+
print_track_info([mock_content], changed_field=PrintableField.Title)
|
|
112
110
|
|
|
113
111
|
with pytest.raises(ValueError, match="must be provided together"):
|
|
114
112
|
print_track_info([mock_content], new_values=["x"])
|
|
@@ -147,3 +145,18 @@ class TestPrintTrackInfo:
|
|
|
147
145
|
assert "track2.mp3" in captured.out
|
|
148
146
|
assert "FLAC" in captured.out
|
|
149
147
|
assert "MP3" in captured.out
|
|
148
|
+
|
|
149
|
+
def test_track_with_unknown_file_type(
|
|
150
|
+
self, capsys, wide_console, make_djmd_content_item
|
|
151
|
+
):
|
|
152
|
+
"""Test printing track with unknown file type."""
|
|
153
|
+
# Setup mock content with zero values
|
|
154
|
+
mock_content = make_djmd_content_item(
|
|
155
|
+
ID=123,
|
|
156
|
+
FileType=6,
|
|
157
|
+
)
|
|
158
|
+
|
|
159
|
+
print_track_info([mock_content], self.TEST_PRINT_COLUMNS)
|
|
160
|
+
|
|
161
|
+
captured = capsys.readouterr()
|
|
162
|
+
assert "UNKNOWN" in captured.out
|
|
File without changes
|
|
File without changes
|
{rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/.github/actions/commitizen-bump/action.yml
RENAMED
|
File without changes
|
|
File without changes
|
{rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/.github/actions/install/action.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/rekordbox_edit/commands/__init__.py
RENAMED
|
File without changes
|
{rekordbox_edit-0.4.0.dev34 → rekordbox_edit-0.4.0.dev35}/rekordbox_edit/commands/convert.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|