Questions tagged [wmp]

For issues relating to interfacing with the Windows Media Player (WMP).

Windows Media Player (WMP) is a media player and media library application developed by Microsoft that is used for playing audio, video and viewing images on personal computers running the Microsoft Windows operating system, as well as on Pocket PC and Windows Mobile-based devices.

191 questions
43
votes
13 answers

Is there a simple JavaScript slider?

I need to create a custom volume slider for a WMP object. The current slider is complicated to modify, and use, is there a simple way to generate a slider on an HTML page that can have it's value passed to a javascript function?
UnkwnTech
  • 79,308
  • 64
  • 178
  • 223
16
votes
1 answer

WMPLib: player.mediaCollection.getAll().count is always 0

I am attempting to write code that reads each item from the user's Windows Media Player library. This code works for the majority of users, but for some users, getAll() will return an empty list when they clearly have hundreds or thousands of items…
anthony
  • 37,914
  • 5
  • 50
  • 126
9
votes
4 answers

How to interact with Windows Media Player in C#

I am looking for a way to interact with a standalone full version of Windows Media Player. Mostly I need to know the Path of the currently played track. The iTunes SDK makes this really easy but unfortunately there really isn't any way to do it with…
eric
  • 1,647
  • 5
  • 22
  • 31
9
votes
2 answers

Need a way to retrieve the current playing song from Zune and Windows Media Player with Python

An Application of mine retrieves the current playing song from a multitude of music players. However, I'm having great trouble implementing Zune and Windows Media Player. I've done a lot of googling on the subject, unfortunately it's only confusing…
Azeirah
  • 5,445
  • 6
  • 20
  • 40
6
votes
1 answer

record system sound (stereomix) to a file

iam trying to record sound from an activex WMP control playing an internet radio stream, and because no simple way to do it, i decided to record the system sound or the so called "what you hear" (the stereomix, which is disabled in many PCs). so,…
AgentAmine
  • 73
  • 5
6
votes
2 answers

How to listen to windows events in C#?

I'm developing an lyrics related application and I need to listen to Windows Media Player Events. I watched windows events in "Accessible event watcher" and I found out that there's some events that WMP sends whenever it's state or current position…
Reza Ahmadi
  • 852
  • 2
  • 11
  • 23
5
votes
0 answers

Windows Media Player Plugin Development in Windows 10 (Visual Studio 2019)

I'm looking to create a very simple UI plugin for Windows Media Player, similar to this: https://obsproject.com/forum/resources/windows-media-player-title-artist-text-output-ticker.402/, but with the ability to choose the path and name of the text…
Apache
  • 602
  • 5
  • 20
5
votes
2 answers

C# AxWindowsMediaPlayer loop

I've got this annoying problem which I can't track down where it goes wrong. I'm creating a Windows Media Player in code and I'm trying to loop a video... It loops, but only once... So it plays the video, and once more. And then it just stop and…
Serellyn
  • 385
  • 1
  • 6
  • 24
5
votes
2 answers

Unable to call WMP's controls.play() function in VisualBasic

I have the following code: http://pastebin.com/EgjbzqA2 which is basically just a stripped down version of http://www.dreamincode.net/forums/topic/57357-mymusic-player/. I want the program to play one file repeatedly, however, this function doesn't…
ahota
  • 3,238
  • 6
  • 30
  • 57
4
votes
1 answer

Error loading Interop.WMPLib Windows MediaPlayer in WPF App

Error 1 Unknown build error, 'Cannot resolve dependency to assembly 'Interop.WMPLib, Version=1.0.0.0, Culture=neutral PublicKeyToken=null' because it has not been preloaded. When using the ReflectionOnly APIs, dependent …
Welsh King
  • 2,846
  • 11
  • 33
  • 52
4
votes
1 answer

How to align Windows Media Player control to fit parent window?

I Have a Windows Media Player ActiveX control. I want it to be aligned to its parent TPanel. The problem is that no matter what I try the WMP control is always set to its initial size without the possibility to resize it. unit…
zig
  • 4,284
  • 1
  • 17
  • 53
4
votes
1 answer

Media support in WPF without Windows Media Player 10+?

I'm wondering if it is possible to deploy Windows Media Foundation without Windows media player 10 or 11? Here's the context. I have a WPF application running in a corporate enterprise setting. WPF requires Windows Media Foundation for rich media…
Scott Weinstein
  • 18,222
  • 12
  • 71
  • 112
3
votes
1 answer

How to control Windows Media Player remotely using Java?

this is the first time I´m posting something here. I´m working on a Project where I want to control the Windows Media Player through different Input Modalities (like Multitouch, a 3D Mouse...). At the moment I´m trying to find a way to control the…
Adele
  • 39
  • 1
  • 4
3
votes
2 answers

Accessing Windows Media Player's Playback Speed controls

Is there a way to access WMP10+'s playback speed controls in a dotnet app? User level information on the Playback control information
srboisvert
  • 12,479
  • 15
  • 61
  • 85
3
votes
4 answers

AccessViolation exception when form with AxWindowsMediaPlayer closed

I have a AxWMPLib.AxWindowsMediaPlayer on a form. When I close the form, I get "Attempted to read or write protected memory. This is often an indication that other memory is corrupt." exception. It is OK with hiding the form but not with closing.…
David
  • 690
  • 2
  • 12
  • 23
1
2 3
12 13