Re: Writing a plug in to get the path of the song playing
- From: "Neil Smith [MVP Digital Media]" <neil@xxxxxxxxxx>
- Date: Mon, 17 Apr 2006 14:07:10 GMT
The answer remains the same as before !
If you're having trouble understanding the translation of javascript
ot VB syntax, probably reading this article will help :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwmt/html/playingdigitalmediainavisualbasicnetapplication.asp
I'm guessing it would be similar to
player.currentMedia.getItemInfoByType "SourceURL", "", 0
but really it would take you 5 minutes to find out for sure.
HTH
Cheers - Neil
On Sun, 16 Apr 2006 04:21:01 -0700, ThatSome1
<ThatSome1@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Ok, ive have got WMPSDK..
Put in WMP.dll into VB - and using it
renamed it to Player
Now what can i type in to get a msgbox to say what is playing?
"ThatSome1" wrote:
Im not sure what you mean by player or media server. What I would like is, on
a single pc, when they play a track in WMP, i would like to be able to get
the track path. Eg
C:\Documents and Settings\James\My Documents\My Music\American Hi Fi\The Art
Of Losing\05 Nothing Left To Lose.mp3
Tho thanks for the quick come back!
"Neil Smith [MVP Digital Media]" wrote:
On Sat, 15 Apr 2006 05:35:01 -0700, ThatSome1
<ThatSome1@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
How would you go about doing this?
Writing an plug in toget the path of the song which is playing/paused?
Im a VBer........
In what - the player or the media server for a chosen client ?
The player has a Media object property for this, SourceURL, which you
could access as for example
player.currentMedia.getItemInfoByType("SourceURL", "", 0);
Probably you'd modify that (it's javascript syntax) for use in VB.
Cheers - Neil
- References:
- Re: Writing a plug in to get the path of the song playing
- From: Neil Smith [MVP Digital Media]
- Re: Writing a plug in to get the path of the song playing
- Prev by Date: Can I convert audio file format with the sdk?
- Next by Date: Re: Trying to get the path of a file playing in VB
- Previous by thread: Re: Writing a plug in to get the path of the song playing
- Next by thread: Trying to get the path of a file playing in VB
- Index(es):
Relevant Pages
|