Windows Media


  • 1. IMediaSeeking::GetCurrentPosition always returns 0. Why?
    I used below graph to convert WMA to Wave in DirectShow: ------ WM ASF Reader -> WMA Decoder -> WavDest -> File Writer ------ The conversion is OK. I did get my wav file. To However, I'd like to use IMediaSeeking::GetCurrentPosition()/ GetDuration() to indicate the conversion progress. I successfully obtained the IMediaSeeking interface from the output pin of WavDest. Before running the graph, I can also get the duration time. However, no matter the graph is running or not, when I call IMediaSeeking::GetCurrentPosition(), I always get "zero". Why? Please help. TIA.
  • 2. Difference Between File Source Async and Netshow URL
    Dear Team, Is there any difference in the implementation of Async and Netshow URL file source filters apart from reading from the local file and reading from the network url. While rendering them in the graphedit tool, Async cannot render WAV and AVI where as Netshow URL can render WAV and AVI format files. Regards.
  • 3. Async Source Cannot Play WMA, ASF Files
    Dear Team, I have taken async source filter sample and able to build the graph for mp3 files. The description says that it cannot play avi files. Also I noticed that it cannot play wav, asf, wma files. Depending on the input file name in the load function, I modified the media subtypes to MEDIASUBTYPE_WAVE, MEDIASUBTYPE_Avi with which I can play wav and avi files. Regarding wma and asf files, what should be the media subtype so that the downstream parser can be automatically loaded. To my surprise, when the file extension is asf the control never comes to the source filter. Kindly guide me in the correct direction to play all the file formats using async source sample. Regards.
  • 4. How to implement playback of media file streamed via p2p
    Hi everyone! I need to implement playback of the remote media file in my application(mp3, but may be other file formats in future). Data is transfered from peer to peer via already implemented p2p mechanism(so I can't use any existing network streaming protocols). I can request any part of the file, when it's needed. File should be played by WMP SDK or I can use directshow if necessary. It should work on XP and later. Firstly, I thought about implementing my own DirectShow source filter for this purpose. But this approach is not acceptable when we need to play mp3 file, because in some cases playing of mp3 requires the usage of WM ASF Reader source filter and we can't change it to our own filter. And also writing a new source filter seems to be not an easy task to do. Also I thought about implementing a local http(or rtsp) server. So wmp can play the file streamed via http protocol. And this server can transmit to wmp data that coming from p2p network. I wonder, if somebody could suggest a good and, if possible, simple way to play such network stream? And what do you think about my suggestions? Best regards Vyacheslav


Postby psych » Sat, 16 Oct 2004 23:41:15 GMT

When using visual basic to run wmp, I would like to 
search albums using a wildcard (such as - select any 
albums containing the string: 'Songs of the')

Unfortunately, I cannot get wmp to recognise wildcards 
(such as *)in my playlist searches.

Is it possible to use wildcards??


RE: wildcards

Postby Z29kb2ZjcHU » Wed, 20 Oct 2004 01:11:08 GMT

I do not believe this is possible directly.  You can, however, do stuff like 
this in an autoplaylist and is how I achieved this functionality in my C++ 
app.  Just create a auto playlist with what you want to search for, then load 
it into WMP as a file based playlist and it should contain all the songs that 
meet your criteria when it loads.

RE: wildcards

Postby anonymous » Fri, 22 Oct 2004 18:21:39 GMT

Thanks godofcpu - your solution worked great!!

however, do stuff like 
functionality in my C++ 
search for, then load 
contain all the songs that 

Similar Threads:

1.Auto playlist criteria - exact match only, no wildcards?

Here's another little annoying "feature" with the auto playlists: using 
keywords in the title to create an auto playlist doesn't work unless you have 
an exact match. No wildcards allowed, apparently, and the search word can't 
be just part of another word. 

Example: I'd like a list created of my crankygeeks MP3 podcasts. There's no 
artist or contributing artist info in the tag, nothing except a title of 
crankygeeks.XXX, with the XXX being an episode number. However, I can't use a 
wildcard for the episode information, so there's no way I can think of to 
make an auto playslist. 

Did microsoft not try to use this feature? How about adding folder location 
or file name to the selection criteria? 

"Airmon" wrote:

> Hi all,
>    I have two issues:
>   1.   My WMP creates its own playlists ( not the "auto playlist" 
> function...) that are not ( or at least not frequently ) updated. I've got 
> dozens of them, it looks like one for many of the artists, though not all. 
>     It's very annoying, but if I delete the play lists they just reappear 
> shortly, so I've given up doing that. I've looked through the options, but 
> I'm unable to find any method of turning this "feature" off. 
>     I've created a few of my own "auto playlist" lists, and they update in a 
> much more timely fashion than the other ones, but they kinda get lost in the 
> dozens of WMP-created play lists that I don't want. 
>   2.  I also have a problem with WMP not deleting old items that have been 
> removed from the auto playlist from my mobile device. 
>     Example: I have three items in an auto playlist that I created. I sync 
> that playlist to my device. 
>     Later, my podcast catcher downloads an additional item and I delete one 
> from my PC after listening to it. The auto playlist I created is 
> automatically updated to reflect the new items on the PC, two old items and a 
> new item. 
>     I then sync the play list to my device and the new item is downloaded to 
> the device. However, the device now has ALL FOUR items on it, even the item I 
> deleted from the PC ( and automatically from the play list ). It's an orpan 
> item, not in a play list, just on the device. 
>     Eventually, these orphans begin to clog up the device and I have to 
> either: a) figure out which of the hundreds of items on the device are 
> orphans and delete them manually. b) format the device and copy the playlists 
> back to the device. 
>     Both of these are fairly time-consuming. 
>     This is important to me because the audio items on my player are mostly 
> podcasts and new ones are added and removed daily. Since MS didn't think it 
> was important to add RSS/podcast functionality to WMP, I've had to kludge it 
> together using the Juice podcast catcher and the "auto playlist" function and 
> this "orphan" problem is really making me tear my hair out. 
>     This problem also seems to affect regular ( not auto ) play lists too. 
> Thanks!

2.Parental Controls / Wildcards / MySpace

I'm using Windows Vista Home Premium on the PC that my children use.  I want 
to be able to use Parental Controls, but I want to allow MySpace.  The 
problem is that no matter what categories I choose to block or allow, MySpace 
is blocked.  I can add the domain of myspace.com but with the way MySpace 
works, there are so many subdomians for images and friends that 1/2 of the 
site is still blocked.  Besides trying to allow each domain one at a time, is 
there a way to use wildcards to get Parental Controls to allow the entire 
MySpace site?

3.Parental Controls Allow/Block website with wildcard

4.Wildcard searches

How do I perform a wildcard search in windows vista? I want to find all of my 
mp3 files that end in a certain way and I can't do it!

5.Windows Search 4 - Wildcard in file content


firstly, apologies if this post lands in the wrong groups.

Have Windows Search 4 in use under XP pro. Works rather nicely - but - 
although I can use wildcards such as "*" for file names - use of wildcards 
for words contained in file content does not work for the word begining.

So, in a content search, bana* will find banana
*nana will NOT find banana.

Am unsure if this is by design or if I am goofing somewhere.
Could anyone please advise?

6. Use of wildcard characters in Vista Parental Controls

7. Blocking a domain using wildcard

8. WildCard SSL Certificates

Return to Windows Media


Who is online

Users browsing this forum: No registered users and 18 guest