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.
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.
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.
I know Napster is evil, but...snipeyheadJanuary 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?
Comments 10
Reply
Reply
Reply
Reply
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
Reply
Reply
KILL spyware!
Reply
Thanks so much for all your hard work.
Reply
Leave a comment