ePages 6.13.1 - DE_EPAGES/Core/API/MP3.pm

Package DE_EPAGES::Core::API::MP3

Module with methods for MPEG 1 Layer 3 (mp3) audio files.

@EXPORT_OK
TestMP3

Functions

TestMP3

TestMP3

Tests if the parameter $File is a valid MPEG 1 Layer 3 (MP3) file. Checks the presence of the mp3 file header, correct mpeg version bits and correct layer version bits.

Syntax
TestMP3($Name, $File);
Example
TestMP3('DownloadProductMp3', '/tmp/music.mp3');
Input
$Name (string)
parameter name
$File (string)
full file path and name to a mp3 file