Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Request: WebBrowser component (Read 1577 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Request: WebBrowser component

Hi!
I am new here, so please accept my apology in advance in case I post this topic in inappropriate thread. I don't exactly have a development problem, rather I have an idead which some of you might consider interesting. I know there is plenty of lyrics plugins for Foobar2000 but I like none of them and I have a very simpler thing in mind. Would it be possible to make a plugin which would be basically just an UI element which would host and instance of borderless WebBrowser control and would have one setting - URL mask? I guess it is. I downloaded SDK myself, but I am .NET developer and I don't understand C++ a lot. I didn't even manage to compile example component, so I gave up. But I think for someone with a lot of experience this is ten-minute thing. And why was I talking about song lyrics? Well, my mask would look something like "http://www.azlyrics.com/lyrics/$magic(%artist%)/$magic(%title%).html" where $magic function is actually something like "$replace(...$(replace$ascii($lower(x))))". It's clumsy but it does the job - I replace every unwanted ASCII character so I get something like "http://www.azlyrics.com/lyrics/protestthehero/palmsread.html" after processing this mask. And I would like to set this as the URL of given WebBrowser instance instead of having shortcuts (with foo_run) for different sites like A-Z Lyrics, P Lyrics, etc.

What do you guys think? Is this even worth developing? Maybe with a little extra effort it would be possible to specify more masks and shortcut to switch between them (in case lyrics are not present in preffered lyrics site). But this is not just about lyrics of course, someone might want to google album art for example, so they would just use appropriate URL mask.

I would like to receive some feedback on this - do you see any potential in such a component? Is there anyone willing to try to implement it and share what they got?

Thanks in advance!