Here is the code I am using in my file - with the addition of the line you mentioned.
Code:
//anymedia on browseimages
require_once('./includes/class_anymedia.php');
$inlinemedia = "[media]http://www.dragonninja.co.uk/gallery/files/1/PetesSake-YouLeftEndOfStory.mp3[/media]";
$parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
$inlinemedia = $parser->do_parse($inlinemedia, false, false, true, false, false, false);
if ($vbulletin->options['anymediaenable'] && ($vbulletin->userinfo['permissions']['anymediapermissions'] & $vbulletin->bf_ugp_anymediapermissions['canuse']) )
{
$globaltemplates = array_merge($globaltemplates, array('anymedia'));
}
//anymedia on browseimages
A screenshot is attached of the result of calling $inlinemedia. I hope you do not mind me asking here, if you do not have the time please say so and I won't pester you any longer! I'm very new to this, as you may have noticed.