Skip to content

Feature/genre preview duplicate check#9

Merged
alvarotorresc merged 2 commits into
mainfrom
feature/genre-preview-duplicate-check
Mar 8, 2026
Merged

Feature/genre preview duplicate check#9
alvarotorresc merged 2 commits into
mainfrom
feature/genre-preview-duplicate-check

Conversation

@alvarotorresc

Copy link
Copy Markdown
Owner

No description provided.

Check title + artist (case-insensitive, trimmed) against existing songs
before inserting. Prevents adding the same song twice in a round,
whether by the same user or different users. Also accept optional
preResolved parameter to skip redundant Odesli resolution.
Replace single-step form with a two-step flow:
1. Paste URL → resolve via Odesli + Last.fm genre detection
2. Preview (thumbnail, title, artist, detected genre) → confirm or
   change genre before adding

Genre dropdown is now pre-filled with the auto-detected genre from
Last.fm. User can accept, change, or leave empty. The resolved data
is passed directly to useGroup.addSong to avoid double resolution.
@alvarotorresc alvarotorresc self-assigned this Mar 8, 2026
@alvarotorresc alvarotorresc added the bug Something isn't working label Mar 8, 2026
@netlify

netlify Bot commented Mar 8, 2026

Copy link
Copy Markdown

Deploy Preview for aux-music ready!

Name Link
🔨 Latest commit 0bc71dc
🔍 Latest deploy log https://app.netlify.com/projects/aux-music/deploys/69ad99161ecca000082cbbed
😎 Deploy Preview https://deploy-preview-9--aux-music.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@alvarotorresc alvarotorresc merged commit 6a99984 into main Mar 8, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant