zackradisic/lofi-cli

Get current song title/URL

zackradisic opened this issue · 0 comments

When using lofi-cli, I've been in situations where a really good song plays and I want to know the name of it, add it to my playlist, etc. The process to do so is quite cumbersome because you have to open up the ChilledCow stream, look for the title at the top right, then Google it.

So it sounds like adding the functionality to automatically retrieve the current song title and/or URLs would be a good idea. I'm thinking the easiest way would be to take a picture of the current video frame of the stream, use a OCR library to detect the title at the top right, and then search for this title in ChilledCow's public playlist.