sure you could add a new function to file to handle the 15 or so codecs that ogg supports, but i'm not sure you gain anything. do you expect to have a lot of non-audio ogg that your player can't handle?
i disagree with skip. i don't see the advantage to container formats. they mostly encourage yet-another-(audio|video)-codex with some neeto property that is inevitably less useful than standardization. - erik
