Auto Detect Music question

Oct 01, 2004 18:33

just wondering if the music auto detect will ever work on the latest windows media player? (windows media player 10)

Leave a comment

Comments 10

edhed October 1 2004, 22:35:02 UTC
It also doesn't seem to work for iTunes. I really appreciate the work that you are doing!

Reply


hyuri October 1 2004, 22:50:46 UTC
As soon as I figure out how to access a WMP object properly (i.e. without generating a fatal exception). Or if someone submits the code for it. Either way; I’m not picky.

Reply

mcfnord October 1 2004, 23:53:11 UTC
I looked for this interface a year or two ago and couldn't find it.

Reply

jwendl October 2 2004, 00:09:11 UTC
There are examples found on this site how to do it. I have sample code somewhere, but currently my web/file server is inaccessible. Anyways the code is currently adapted for my version of LJ-NET so I can just send you the C# diff file when it's back up.

Reply

Alright I found the code. jwendl October 2 2004, 00:18:44 UTC
This is how I fixed it for wmp, but it does require the blogging plugin (for 9 or 10)

else
{
RegistryKey rk = Registry.CurrentUser;
rk = rk.OpenSubKey("Software\\Microsoft\\MediaPlayer\\CurrentMetadata");
try
{
musicEdit.Text = rk.GetValue("Author") + ", " + rk.GetValue("Title");
}
catch
{
musicEdit.Text = "";
}
}
}

Reply


hyuri October 2 2004, 02:02:18 UTC
Apparently there isn’t a way to get the information directly from WMP. However, if you install the Blogging Plug‑in, LJ.NET will be able to detect the currently playing item.

Reply

insane_w00tness October 2 2004, 02:13:12 UTC
I didnt know about that plug-in. thanks. it works now.

Reply


xaax April 25 2005, 17:49:32 UTC

I know Napster is evil, but... snipeyhead January 4 2006, 06:32:09 UTC
Is there any way toi auto-detect when you're playing music through Napster? I have a ton of files from Napster, before I realized how lame it was going to be to try and play those files on any other media player other than Napster, and every time I try to play them in WMP or winamp, I get licensing problem popups telling me to play the song in Napster. I know that's certainly not your fault, but I was wondering if you knew of any workarounds?

Thanks so much for all your hard work.

Reply


Leave a comment

Up