Info also doesn't seem to be in the wiki.
Code: Select all
-- for key, val in pairs(oggInfo) do
-- Spring.Echo(key, val)
-- end
-- if (oggInfo.comments.TITLE and oggInfo.comments.TITLE) then
-- Spring.Echo("Song changed to: " .. oggInfo.comments.TITLE .. " By: " .. oggInfo.comments.ARTIST)
-- else
-- Spring.Echo("Song changed but unable to get the artist and title info")
-- end