hi,
[Quoted Text] > can I get the "Now Playing" information (artist, title, etc) from a
try :attributeCount() with :getAttributeName() / getItemInfo()
greetings by OHR Jimmy *** snip *** /* Xbase++ (Clipper) code for WMP 9/10 !!! does only work if "media" is load in Playlist and "playing" */ nCount := oWMP:currentPlaylist:count // are there some item in Playlist IF nCount > 0 // get current item (SDK 9/10) oItem := oWMP:controls:currentitem() // get number of attribute jMax := oItem:attributeCount() FOR j = 0 TO jMax-1 // 1st get name cName := oItem:getAttributeName(j) // now use the name to get value info cValue := oItem:getItemInfo(cName) // display it ? cName , cValue NEXT ENDIF *** eof ***
|