Garry's Mod Wiki

IGModAudioChannel:GetTagsHTTP

  table IGModAudioChannel:GetTagsHTTP()

Description

Retrieves HTTP headers from a bass stream channel created by sound.PlayURL, if available.

Of special interest here are headers such as icy-name, icy-br, ice-audio-info, icy-genre.

Returns

1 sequential table<string> info
A list of HTTP headers or nil if no information is available.

Example output:

... other headers [7] = ice-audio-info: channels=2;samplerate=44100;bitrate=128 [8] = icy-genre: lounge [9] = icy-name: RTFM Lounge ... other headers