PDA

View Full Version : Help with getPlayItemMetaDataString() function !!!


Nakah
16th July 2002, 13:10
Can someone tell me what's the params for this function ???
When you enter a value it returns "tereo" !

The Rhino
16th July 2002, 13:36
what are you trying to do exactly but if you are trying to break up songinfo try http://forums.winamp.com/showthread.php?s=&threadid=71090

Nakah
16th July 2002, 13:38
I want to extract ID3 information like artist name or song title.
Is it possible ??

The Rhino
16th July 2002, 13:41
well this from the default skin gives you that

<!-- Song Name Ticker -->
<text
id="songticker" ticker="1"
display="songname" default="" showlen="1"
x="103" y="8"
w="157" h="14"
font="wasabi.font.default" fontsize="13"
/>

but if you are trying to break it up i have no sure was of doing that

Nakah
16th July 2002, 13:42
thanks ,but I try to break it !

The Rhino
16th July 2002, 13:54
here are the params for getmetadatastring so it is definately what you want

/**
getPlayItemMetaDataString()

Get metadata for the track currently playing. The metadata field names that
are available are the following:

**ADD LIST**

@ret The requested metadata.
@param metadataname The name of the metadata field you want to read.
*/
extern String System.getPlayItemMetaDataString(String metadataname);

The Rhino
16th July 2002, 14:01
try these
System.getPlayItemMetaDataString("Title");
System.getPlayItemMetaDataString("Artist");
System.getPlayItemMetaDataString("Name"); System.getPlayItemMetaDataString("Album"); System.getPlayItemMetaDataString("Genre");

Nakah
16th July 2002, 14:54
thanks