Determining which song the user is listening at the moment with JavaScript and Firefox -


I am creating a Firefox extension that will use the Last.fm API. Now I want to be able to determine the detail that the user is currently listening to songs in WMP or iTunes. Does anyone know how I can do this?

Useful editing: I only need the name of the song, album name and artist

thanks

< Div class = "post-text" itemprop = "text">

I wanted to suggest you find the source of foxine, but it is now owned.

To do this, there is no built-in API in Firefox, you must write your own integration code, this is the first thing you should understand that to get information about your information, what's in C ++ Have to do.

Then to integrate it into your extension, your main option is to wrap your C ++ code into the XPCOM component, which allows you to call JS from the extension.

Recent Firefox versions also have CTIP support, which gives you a way to call directly from JS to binary libraries.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -