I installed the plugin mp3info in order to get the length and size automatically of mp3 files that I upload via ftp. I’m using the files for a podcast that is published on iTunes and would like to be able to not have to enter in the data for the duration of the file and the size of the file when I publish the entry.
But, I can’t get it to work. I even created a completely blank template and then pasted in the usage data that is given in the explanation of the plugin. I uploaded an mp3 file to the root level of my website and used that as my file and path info. This is what I have inserted for that information:
{exp:mp3info file=“http://cmachurch.org/EverybodyLoves.mp3” path=”/home/cmachurc/public_html/”}
version id = {version_id}
version = {version}
layer id = {layer_id}
layer = {layer}
protection = {protection}
bitrate = {bitrate}
sampling rate = {sampling_rate}
padding = {padding}
private = {private}
channel mode = {channel_mode}
copyright = {copyright}
original = {original}
filesize = {filesize}
length = {length}
{/exp:mp3info}
I installed this in a template called “test” and you can see the results that you get when you run that page at
http://cmachurch.org/index.php?/site/test/
But, be advised that it must be looping because it never seems to end loading. So, if you open this page, just close it after you see what it’s doing, else it will eat your processes.
I would have expected some results but instead get error. If anyone can give me more information as to why this is happening, I would be grateful. Thanks
