blob: 0ef148bd9da58df0d5d3ff4251b3f6016ff8a997 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# "Delimiters" Category
## Goal
Allow users to customize separators used for artists and album artists, both in metadata and filenames.
## Parameters
- `metadata_delimiter_artist`: artists separator (metadata)
- `metadata_delimiter_album_artist`: album artists separator (metadata)
- `filename_delimiter_artist`: artists separator (filename)
- `filename_delimiter_album_artist`: album artists separator (filename)
## UI
- Page `page_delimiters` inside `sw_categories`
- GroupBox `gb_delimiters`
- 4 `QLineEdit` entries (`le_*`) with max width 100px
## Integration
- Add the 4 fields to `DialogPreferences.parameters_line_edit`
- Load values via `populate_line_edit()`
- Save via `to_settings()`
## Tests
- `tests/test_delimiters_category.py`: 13 tests
- Page existence
- Widgets accessibility
- Navigation to the page
- Width constraints
## Examples
- Semicolon: `"; "` → `Artist1; Artist2`
- Ampersand: `" & "` → `Artist1 & Artist2`
- Slash: `" / "` → `Artist1 / Artist2`
## Notes
- Default values are `", "` (comma + space)
- Fields are kept short (max 100px) to avoid breaking the layout
|