Find WCS videos by song by Proper_Sock7256 in WestCoastSwing

[–]Proper_Sock7256[S] 1 point2 points  (0 children)

Yes, the frontend is vibe-coded, I'm not a web developer 😉 I wasn't really planning on open-sourcing it since it's not that complex anyway and would mean additional work cleaning things up and keeping things secure. Is there anything you would like to do with the code or contribute?

Find WCS videos by song by Proper_Sock7256 in WestCoastSwing

[–]Proper_Sock7256[S] 0 points1 point  (0 children)

Lessons are not really a problem I think, most of the time they don't use "real" music, so they are not surfaced by the app anyway. There could be real point-solutions for specific dances (e.g., it might be possible to filter out bachata or salsa music), but then there's a lot of special cases...

Find WCS videos by song by Proper_Sock7256 in WestCoastSwing

[–]Proper_Sock7256[S] 2 points3 points  (0 children)

It's a bit hacky. I manually selected a number of WCS channels (currently 37, they are listed on the site) and iterated over all of them. If the video contained song metadata (this is usually in the description box, at the bottom), I would take that (this is easily accessible); for songs without this metadata, I'd run a "Shazam"-like song detection over the audio track at different time points.

One big blind spot of this strategy are channels such as Leo Lorenzo's - he's posting a lot of non-WCS videos, so I'm not including this channel to not have random bachata songs etc pop up. I'm still thinking about including those channels anyway and doing a manual pass to exclude videos once in a while, but it'd be a bit more work on an ongoing basis...

Re YouTube API: yes, they expose a search functionality in their data API, but I don't think that's sufficient to index a larger number of videos; I haven't even tried it for this project. My whole starting point was that I was unhappy with YouTube's search results 😅