fix acoustID match issue and css changes
This commit is contained in:
parent
ded906bef4
commit
6c4de45b32
2 changed files with 4 additions and 3 deletions
|
|
@ -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)
|
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.
|
# 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)
|
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 ...)"
|
# Remove featuring info in parentheses: "(feat. ...)", "(ft. ...)", "(featuring ...)", "(with ...)"
|
||||||
s = re.sub(r'\s*\((?:feat\.?|ft\.?|featuring)\s+[^)]*\)', '', s, flags=re.IGNORECASE)
|
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 ...]"
|
# 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)
|
s = re.sub(r'\s*\[(?:feat\.?|ft\.?|featuring|w/|with)\s+[^\]]*\]', '', s, flags=re.IGNORECASE)
|
||||||
# Remove trailing featuring info: "feat. ...", "ft. ...", "featuring ..."
|
# Remove trailing featuring info: "feat. ...", "ft. ...", "featuring ..."
|
||||||
|
|
|
||||||
|
|
@ -31953,7 +31953,7 @@ body.downloads-disabled [onclick*="DownloadMissing"]:not([onclick*="close"]) {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: visible;
|
||||||
}
|
}
|
||||||
.enhanced-artist-meta::before {
|
.enhanced-artist-meta::before {
|
||||||
content: '';
|
content: '';
|
||||||
|
|
@ -31963,6 +31963,7 @@ body.downloads-disabled [onclick*="DownloadMissing"]:not([onclick*="close"]) {
|
||||||
right: 0;
|
right: 0;
|
||||||
height: 2px;
|
height: 2px;
|
||||||
background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.6) 0%, transparent 100%);
|
background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.6) 0%, transparent 100%);
|
||||||
|
border-radius: 16px 16px 0 0;
|
||||||
}
|
}
|
||||||
.enhanced-artist-meta-header {
|
.enhanced-artist-meta-header {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue