Skip to content

Add metadata fetch and selection feature with undo/redo and filename rename options #8

Description

@IdelsTak

Add a new feature to enhance metadata management:

Workflow

  • Opens when "Download Metadata" is clicked for a selected song.
  • Displays probable metadata matches based on song title, artist name, and album name.

Fetching metadata

  • Retrieve probable matches including artwork, year, track number, and other relevant metadata.

User interaction

  • Allow selection of the best matching metadata.
  • Option to rename the audio file using the selected metadata.
  • Provide undo/redo functionality to revert or reapply changes.
  • Stage updates for user confirmation before applying.

Metadata fetch and selection view sketch

+---------------------------------------------------------------+
|                 Select Metadata for "Song Title"              |
+---------------------------------------------------------------+
| Fetching metadata matches for "Song Title" by "Artist" from   |
| "Album"                                                       |
| [Loading Spinner]                                             |
+---------------------------------------------------------------+
| | Artwork | Title       | Artist       | Album       | Year | |
| |---------|-------------|--------------|-------------|------| |
| | [img]   | Match 1     | Artist 1     | Album 1     | 2020 | |
| | [img]   | Match 2     | Artist 2     | Album 2     | 2019 | |
| | [img]   | Match 3     | Artist 3     | Album 3     | 2018 | |
| +-----------------------------------------------------------| |
+---------------------------------------------------------------+
|                      Selected Metadata                        |
+---------------------------------------------------------------+
| | Artwork Thumbnail |                                         |
| |-------------------|                                         |
| | Title:            | [Selected Title]                        |
| | Artist:           | [Selected Artist]                       |
| | Album:            | [Selected Album]                        |
| | Year:             | [Selected Year]                         |
| | Track Number:     | [Selected Track Number]                 |
| | Other Metadata... |                                         |
| +------------------------------------------------------------||
+---------------------------------------------------------------+
| Rename file with selected metadata [ ]                        |
+---------------------------------------------------------------+
| [Confirm]  [Undo]  [Redo]  [Cancel]                           |
+---------------------------------------------------------------+
| Status: [Status Message]  [Progress Bar]                      |
+---------------------------------------------------------------+

Acceptance criteria

  • Improved metadata accuracy and completeness.
  • Enhanced user experience with simplified metadata management.
  • Added flexibility with undo/redo options.
  • File renaming based on metadata.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions