OnClientSoundChangedMeta: Difference between revisions
Jump to navigation
Jump to search
OpenIDUser34 (talk | contribs) No edit summary |
m (→Example) |
||
Line 14: | Line 14: | ||
==Example== | ==Example== | ||
<section name="Client" class="client" show="true"> | |||
This example will output the new stream title in the chatbox. | |||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
addEventHandler("onClientSoundChangedMeta", root, function(streamTitle) | |||
outputChatBox("* Now streaming: "..streamTitle, 255, 200, 0, false) | |||
end) | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 16:29, 24 May 2012
This event is triggered when a sound's meta tags have been modified.
Parameters
string streamTitle
- streamTitle: The title of a specific stream
Source
The source of this event is the sound of which the meta tags have just been modified.
Example
<section name="Client" class="client" show="true"> This example will output the new stream title in the chatbox.
addEventHandler("onClientSoundChangedMeta", root, function(streamTitle) outputChatBox("* Now streaming: "..streamTitle, 255, 200, 0, false) end)
See Also
Client sound events
- onClientSoundBeat
- onClientSoundChangedMeta
- onClientSoundFinishedDownload
- onClientSoundStarted
- onClientSoundStopped
- onClientSoundStream