MP3 Info Documentation
Installation:
Unzip the archive and copy the file pi.mp3info.php into the plugins-directory inside your Expression Engine system-directory.
Tag
{exp:mp3info file="http://utilitees.silenz.org/mp3/Tom_Sawyer.mp3" path="/home/noone/htdocs/mp3/"}
{version_id}
{version}
{layer_id}
{layer}
{protection}
{bitrate}
{sampling_rate}
{padding}
{private}
{channel_mode}
{copyright}
{original}
{filesize}
{length}
{/exp:mp3info}
Parameters:
We need the full path to the mp3-file. There are two parameters to achieve this:
file=""
- If this is the full path + the filename, the path-parameter must not be used.
- If this is the filename only, specify the path in the path-parameter.
- If this is the URL to the file, the filename will be extracted. Specify the path in the path-parameter.
path=""
The full path to the file. Use only in cases 2. and 3. explained above.
Variables:
All the ones in the above usage example.
Note:
This plugin requires the cache-folder in your ExpressionEngine system directory to be writeable by ExpressionEngine. A folder named ‘MP3info’ will be created there where cached file-information will be stored.