wmplib

Calling WMPLib.mediaCollection methods from ASP.NET on IIS return empty lists

I am trying to access a Windows Media Player library from ASP.NET. The following code: WMPLib.WindowsMediaPlayer mplayer = new WMPLib.WindowsMediaPlayer(); WMPLib.IWMPStringCollection list = mplayer.mediaCollection.getAttributeStringCollection("artist", "audio"); Returns an non-empty list when run using the VS2005 development web ser...

Zune API ZuneCore.dll

Hi, I noticed the other day that the Zune PC Software exposes a type library (ZuneCore.dll). It seems to be related to the WMPLib API in some way but I can't figure out how to use it either from VB6 or C#. Has anybody tried this and had any luck? Dave ...

Reference to wmp.dll (\windows\system32\wmp.dll)

Can I use a reference to wmpLib.ddl / wmp.dll (\windows\system32\wmp.dll) in a commercial application? I am using Visual Studio 2008 Express edition. I have to deliver that DLL. ...

C# WMPLib Duration of a mp3

Hello! Im using WMPLib to make an easy mp3player in C#. Im almost done but theres one more thing I want to do. I Would like to how far gone the song is and also, how much is left of the song. using for example the progressbar. thanks Adam ...

MediaCollectionMediaAdded Event does not fire

I'm relatively new to C# and want basically develop an application that works with the WMP library. According to msdn, the WMPLib offers several events dealing with the WMP library such as MediaAdded, MediaDeleted, MediaChanged, etc. I wanted to implement to implement the event that is fired when a new media is added to the library as f...

c# - wmplib - playing 2 mp3 files but can get them in synic

I have 2 windowsMediaPlayer objects setup Both objects have the same mp3 song file but when I play them at the same time they are out of sync by a few seconds. The code I call to play them looks like this sound1.controls.play(); sound2.controls.play(); Is it just because one play method is executed before the other and thus...

WMPLib.dll not running Dispose() correctly. How can I play mp3s on Windows Mobile?

Using the Interop.WMPLib.dll to play mp3 files on Windows Mobile 6.x, but I can't get the GC to cleanly dispose of itself. I need to play a short mp3 (20-30 seconds) every 5 minutes for a long-running app (one hour or more), so I cannot afford to not have the GC dispose of the lib correctly. One solution was discussed on SO (http://stack...

Can I play AAC internet radio with wmp.dll in C#?

Is this possible? If yes, can you provide any information on HOW to do this? If no, are there any other possible ways to decode AAC stream in C#? ...

Current playing item in Windows Media Player (wmplayer.exe ver. 12)

Been trying this for a while now. All solutions I've seen on the net don't seem to work, specially the really simple way to do it. WMPLib.WindowsMediaPlayer c = new WMPLib.WindowsMediaPlayer(); IWMPMedia i = (IWMPMedia)c.currentMedia; c.currentMedia is always null. It seems that new WMPLib.WindowsMediaPlayer(); is always creating a ...