fix missing tags

- fix linting
- remove unnecessary fluff
This commit is contained in:
sakrecoer 2026-04-10 12:10:09 +02:00
parent fb98f867cd
commit 74e1c054b9

View file

@ -54,7 +54,7 @@ export default function MusicTrackNote({ event, className }: MusicTrackNoteProps
trackNumber: getTagValue('track_number'),
duration: getTagValue('duration'),
genres: getTagValues('t').filter(tag =>
!['music', 'electronic', 'lofi pop'].includes(tag)
!['music'].includes(tag)
),
lyrics,
credits
@ -134,8 +134,6 @@ export default function MusicTrackNote({ event, className }: MusicTrackNoteProps
</div>
)}
</div>
</div>
@ -148,13 +146,6 @@ export default function MusicTrackNote({ event, className }: MusicTrackNoteProps
</p>
)}
{/* Only show alt if it's different from what we've shown
{metadata.alt && !metadata.credits && (
<p className="text-xs text-muted-foreground">
{t('music.altText')}: {metadata.alt}
</p>
)}
*/}
{metadata.genres.length > 0 && (
<div className="flex flex-wrap gap-2 mt-2">
{metadata.genres.map((genre, index) => (