Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements parsing artists and titles, optional comments truncation for MPD #74

Merged
merged 70 commits into from
Dec 14, 2024

Conversation

snejus
Copy link
Owner

@snejus snejus commented Dec 14, 2024

0.21.0 2024-12-14

Removed

  • Remove support for Python 3.8.

Added

  • artists: split artists properly, both for tracks and albums.

  • comments: Add a new configuration option truncate_comments which handles very long
    release descriptions that may crash MPD.

Fixed

  • album:

    • Remove string free download from the album name.
  • mediums:

    • Fix incorrect mediums count.
  • title:

    • Fix formatting of titles where remix is delimited by a dash or an em-dash.
    • For some releases, handle track names where artist and title may be provided in
      reverse order.
    • Address an issue where track names containing - inside parentheses get
      wrongly split into artist and title.
    • Stop stripping dashes from the beginning of track titles.
  • year / month / day:

    • Take the timezone into account for the parsed release date.

Updated

  • album:

    • Clean up/remove artist such as Various.
    • Only remove artists and label if they are clearly separated out in the album name.
    • Detect artists that may be separated with commas in the album, but with an ampersand
      in the artist field, and vice versa.
    • Remove the original albumartist unless that's the label name.
    • Remove w/ Some Remix reliably.
  • artist:

    • Ensure that artists are properly separated when a comma is present in the field.
    • Try to keep artists in the same format as they were found on the release.
    • Extract lead artists from track titles and use them in the albumartist field.
    • Ignore instagram handles in the description.
    • Do not remove the featuring artist unless they are present in one of the track titles.
    • If there is a single albumartist in the release and it's one of the track artists,
      just use it and ignore the rest of track artists.
    • Deduplicate remix artists in the track artist field.
  • catalognum:

    • Prevent matches followed by lowercase ep, lp and va.
    • Prevent matches based on label name preceded by of.
  • comment:

    • Do not include media description if it duplicates the release description.
  • title:

    • Reformat titles such as "Title" by Artist to Artist - Title.
    • Do not move remixes to the end of the title.
    • Remove the need to parenthesize remixes and handle original titles as they are.

Remove: PNKMN18, UV1, TRIPLEZERO 000, nightcore4totalsluts v5
snejus added 27 commits December 8, 2024 14:57
@snejus snejus self-assigned this Dec 14, 2024
@snejus snejus merged commit 64c7afc into main Dec 14, 2024
33 checks passed
@snejus snejus deleted the artist-title-fixes-comments-truncation branch December 14, 2024 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant