keyongtech


  keyongtech > windowsmedia.* > windowsmedia.server > 10/2006

 #1  
09-29-06, 12:19 AM
Spin
Gurus,

After you connect successfully and successfully play a unicast stream, it
becomes cached in the player. How do you clear this cache?
 #2  
09-29-06, 09:51 PM
Roderick Groesbeek
Spin,

Isn't File->Options->Privacy [Clear Caches] doing the trick for you?
Or do you want to automate it...



Spin wrote:
[..]
 #3  
09-29-06, 10:55 PM
Spin
I'd like to automate it.
 #4  
09-30-06, 11:09 PM
Neil Smith [MVP Digital Media]
On Fri, 29 Sep 2006 17:55:36 -0400, "Spin" <Spin> wrote:

>I'd like to automate it.


You can't reasonably expect to be able to empty remote users caches
without their permission - would it make more sense to post *why* you
want to do this, and what it will achieve for you ?

Cheers - Neil
------------------------------------------------
Digital Media MVP : 2004-2006
http://mvp.support.microsoft.com/mvpfaqs
 #5  
10-01-06, 03:29 PM
Spin
Oh, this was to just automate emptying my own Windows Media Player's cache
on my lab test machine Neil. You are right about trying to empty the user's
of course. ;-)
 #6  
10-01-06, 03:53 PM
Neil Smith [MVP Digital Media]
On Sun, 1 Oct 2006 10:29:31 -0400, "Spin" <Spin> wrote:

>Oh, this was to just automate emptying my own Windows Media Player's cache
>on my lab test machine Neil. You are right about trying to empty the user's
>of course. ;-)


Hehe OK then !

Well I can't think of anything in the SDK which gives you programmatic
access to the player's cache. There are various methods to deal with
the Media Library if it's added to that, such as

player.mediaCollection.remove(item, delete)

But that's only in the case of files you're adding to the library (and
it doesn't delete the file, only the DB entry).

However you might be able to use a method like SendKeys in windows
script host, to send the key sequence required to the player with one
click - It's very low tech, but would that work well enough ?

http://www.winguides.com/scripting/reference.php?id=149

Cheers - Neil
------------------------------------------------
Digital Media MVP : 2004-2006
http://mvp.support.microsoft.com/mvpfaqs
Similar Threads
Windows Media Player 11 Clear!!!!!

How do I make Windows Media Player 11 have a "clear" effect? Thanks and please answer, Nick.

windows media player ocx control doesnt play midi files even though the media player plays it.why?

Hi, I am experimenting on an application that plays midi,mp3 files. And i am using windows media player ocx control for this purpose. My ocx control plays mp3 files and wma...

How do you embed Media Player using Visual Studio 2005 and Media Player 10 SDK for Windows Mobile 5.0

I was told this can be done via Oddexy CFCOM in VS2003. But I read MSDN article yesterday saying it can be done directly in VS 2005 and MP 10 SDK. Any ideas? Thanks!

Windows Media Player clear history

Help! Can anyone tell me how to clear that pesky list of previously played media files that automatically comes up when you click OPEN FILE? Thank you, please email...

clear history in windows media player

ver 7.1 How do I clear the history?


All times are GMT. The time now is 01:37 AM. | Privacy Policy