ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. getSoundMetaTags

Function

getSoundMetaTags

Returns a table with tags of an internet stream: stream_title (the current song title from ICY radio or an empty string).

Syntax

table getSoundMetaTags(sound theSound)

Arguments

theSoundsound
The sound.

Differences from MTA:SA

  • These MTA:SA arguments are not here: string format = ""

In MTA:SA

getSoundMetaTags(sound theSound, string format = "")

Returns

A table of tags or false.

Example

local tags = getSoundMetaTags(radio)
if tags and tags.stream_title ~= "" then outputChatBox("Teraz gra: " .. tags.stream_title) end

See also