Skip to content

Add Play tool with improved search matching - #42

Open
haixuanTao wants to merge 1 commit into
varunneal:mainfrom
haixuanTao:main
Open

Add Play tool with improved search matching #42
haixuanTao wants to merge 1 commit into
varunneal:mainfrom
haixuanTao:main

Conversation

@haixuanTao

@haixuanTao haixuanTao commented Sep 11, 2025

Copy link
Copy Markdown
  • Implement new SpotifyPlay tool that combines search and playback
  • Add fuzzy string matching to find best title matches from multiple results
  • Search 5 results instead of 1 to improve match quality
  • Use SequenceMatcher for similarity scoring with substring bonuses
  • Fix URI construction from search result IDs
  • Add detailed logging for match selection debugging

🤖 Generated with Claude Code

Fix #41

- Implement new SpotifyPlay tool that combines search and playback
- Add fuzzy string matching to find best title matches from multiple results
- Search 5 results instead of 1 to improve match quality
- Use SequenceMatcher for similarity scoring with substring bonuses
- Fix URI construction from search result IDs
- Add detailed logging for match selection debugging

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@haixuanTao haixuanTao changed the title Add Play tool with improved search matching Add Play tool with improved search matching Sep 11, 2025
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.

Could be cool to be able to just start a song based on the name

1 participant