View Issue Details

IDProjectCategoryView StatusLast Update
0005446Multi Theft Auto : San AndreasClientpublic2010-08-05 18:16
ReporterZangoAssigned ToFlobu 
PrioritynormalSeverityfeatureReproducibilityalways
Status resolvedResolutionfixed 
Platformx86OSWindowsOS VersionWindows 7
Product Version 
Target Version1.1Fixed in Version1.1 
Summary0005446: getSoundMetaTags returns an empty table from MP3 stream.
Description

getSoundMetaTags returns an empty table from a sound element playing a MP3 stream from URL.

The MP3 file did have metatags as if that'd matter.

Haven't tried with MP3 file from local harddrive yet, as 1.1 triggers download error everytime I try and add a file.

Steps To Reproduce

function radiotest()
radio = playSound ("http://example.com:8000/listen.pls", true, false)
end
addCommandHandler ("radio", radiotest)

function metatags()
a = getSoundMetaTags(radio)
for tag, value in pairs(a) do -- tried ipairs too, same.
outputChatBox(tostring(value))
end
end
addCommandHandler ("meta", metatags)

Additional Information

SHOUTcast Server 1.9.2 on GNU/Linux.
Sound playback in MTA is fine, and metatags in shoutcast web interface are working.

mtasa-1.1-unstable-1787 and the data package mtasa-1.1-data-r1755.

I apologize in advance if I missed something vital for this to function.

TagsNo tags attached.

Activities

Talidan

2010-07-04 23:46

administrator   ~~0011681

So it's not an MP3 stream, but a Shoutcast stream which happens to be playing an MP3, i take it?

Zango

2010-07-05 00:44

viewer   ~~0011683

Oh sorry for the confusing, what I meant was a shoutcast stream with MP3 encoding yes.

Flobu

2010-08-05 18:16

updater   ~~0011915

Last edited: 2010-08-05 18:16

Its now possible to get information about the web cast through onClientSoundStream, onClientSoundChangedMeta and getSoundMetaTags

http://code.google.com/p/mtasa-blue/source/detail?r=1898

Issue History

Date Modified Username Field Change