I am starting work on a project where I want to populate an array with the paths of MP3 files. Then play those files consecutively using Quick Macros "Play" command.
It be nice to have a dialog, probably using a list box, where the names of the MP3's will display and the current playing track will be highlighted.
I figured I'd post to see if anyone has any ideas on the best way to do this. I know whatever I come up with will be mostly a hack.
What's your best shot at this Gintaras? A QM MP3 player...
I am not familiar enough with the windows media player control. it'd be neat if the play command was modified to accept arrays
I've been working on getting all of this and am coming to a very good understanding of working with the Windows Media Player Active X control. There are a lot of capabilities here.
Windows Media Player 11 on Windows XP:
I am having one problem with mono files. They won't seem to play in the little media player control...I couldn't get them to play in regular windows media player either. So of course I feverishly googled around for the answer. After sifting through tons of help files and forums where no final solution was ever given I stumbled across the fix...WMP11->Tools->Options->[Devices]->"Speakers"->"Audio Device to Use:" - - Change from Default DirectSound Device to a specific DirectSound Device. After I did that, mono MP3's played without a problem...So I stood up to rejoice, told my girlfriend how great life was...and then tested it on the WMP control in QM...DID NOT WORK! I figure I need to change this setting in the control through QM...but have no idea!
Options needed are not there for WMP11 either...I've clicked on that about 100 times looking for the answer hoping something would change :oops:
CORRECTION: USED TO PLAY WITH "Play" command. Now they don't stupid automatic windows updates. Something FUBAR'd this whole thing up!
Grr...I invested so much time into working with the WMP control. I've got the program doing exactly what I want except for playing Mono Files!!!
A bit of a gripe:
It really stinks that media player is acting like this. I need it to play every type of file without problems. This is a horrible glitch from Windows Media Player! Mono files are very common in this world and to not play them consistently is a catastrophic failure!
QM Play function uses old version of WMP control. It also can be added to your dialog instead of the new version. Look in function MP_Dialog. It is somewhere in System folder.
Change typelib to
typelib MediaPlayer {22D6F304-B0F6-11D0-94AB-0080C74C7E95} 1.0
Change control in dialog definition to
99 ActiveX 0x54000000 0x4 0 0 140 28 "MediaPlayer.MediaPlayer {22D6F312-B0F6-11D0-94AB-0080C74C7E95}"