What about having a optional return value of the getid3 GetFileInfo function? Responding with a class with 'get' functions. Such as:
class GetFileInfoRet
{
var $bitrate;
var $bitrademode;
function getbitrate()
{ return $this->bitrate; }
}
And so on.
The purpose?
Standardize a result and always making sure that the response is equal on every query. Not to mention it would be easier to use.
Best regards
Response (as a (huge) class instead of a huge array)
-
- getID3() v2 developer
- Posts:445
- Joined:Sun May 04, 2003 2:22 pm
- Location:Holmegaard, Denmark