fix acoustID match issue and css changes

This commit is contained in:
Broque Thomas 2026-03-12 16:43:22 -07:00
parent ded906bef4
commit 6c4de45b32
2 changed files with 4 additions and 3 deletions

View file

@ -42,8 +42,8 @@ def _normalize(text: str) -> str:
s = re.sub(r'\s*\((?:live|(?:\d{4}\s*)?remaster(?:ed)?(?:\s*\d{4})?|deluxe|bonus|radio\s*edit|single\s*edit|album\s*edit|single\s*version|cover|acoustic|instrumental|original\s*mix|extended\s*mix|club\s*mix|remix|clean|explicit|visualize.*?)\)', '', s, flags=re.IGNORECASE)
# Remove common square bracket suffixes: [Live], [Remastered], [Cover], [Instrumental], etc.
s = re.sub(r'\s*\[(?:live|(?:\d{4}\s*)?remaster(?:ed)?(?:\s*\d{4})?|deluxe|bonus|radio\s*edit|single\s*edit|album\s*edit|single\s*version|cover|acoustic|instrumental|original\s*mix|extended\s*mix|club\s*mix|remix|clean|explicit)\]', '', s, flags=re.IGNORECASE)
# Remove featuring info in parentheses: "(feat. ...)", "(ft. ...)", "(featuring ...)"
s = re.sub(r'\s*\((?:feat\.?|ft\.?|featuring)\s+[^)]*\)', '', s, flags=re.IGNORECASE)
# Remove featuring info in parentheses: "(feat. ...)", "(ft. ...)", "(featuring ...)", "(with ...)"
s = re.sub(r'\s*\((?:feat\.?|ft\.?|featuring|w/|with)\s+[^)]*\)', '', s, flags=re.IGNORECASE)
# Remove featuring info in square brackets: "[feat. ...]", "[ft. ...]", "[W/ ...]", "[with ...]"
s = re.sub(r'\s*\[(?:feat\.?|ft\.?|featuring|w/|with)\s+[^\]]*\]', '', s, flags=re.IGNORECASE)
# Remove trailing featuring info: "feat. ...", "ft. ...", "featuring ..."

View file

@ -31953,7 +31953,7 @@ body.downloads-disabled [onclick*="DownloadMissing"]:not([onclick*="close"]) {
padding: 0;
margin-bottom: 20px;
position: relative;
overflow: hidden;
overflow: visible;
}
.enhanced-artist-meta::before {
content: '';
@ -31963,6 +31963,7 @@ body.downloads-disabled [onclick*="DownloadMissing"]:not([onclick*="close"]) {
right: 0;
height: 2px;
background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.6) 0%, transparent 100%);
border-radius: 16px 16px 0 0;
}
.enhanced-artist-meta-header {
display: flex;