0
it took me hours to debug this... so I post it here just in case somebody else runs into this problem:
the "scan folders" option for quickly creating albums in the component dialogue does not accept files with an UPPERCASE extension.
i was trying to upload new files and wondered what was wrong, because MusCol found the folders but didn't display any files. finally, i saw the reason in line 743 and 778 of \\administrator\\components\\com_muscol\\controllers\\albums.php:
$allowed_filetypes = array('mp3', 'mp4', 'flv', 'mpg', 'aac', 'm4r', 'wmv', 'm4a');
this is case sensitive.
my wave editing program has the bad habit of spitting out files with the capital letters extension .MP3 in batch mode, so i needed to rename *.MP3 to *.mp3.
the "scan folders" option for quickly creating albums in the component dialogue does not accept files with an UPPERCASE extension.
i was trying to upload new files and wondered what was wrong, because MusCol found the folders but didn't display any files. finally, i saw the reason in line 743 and 778 of \\administrator\\components\\com_muscol\\controllers\\albums.php:
$allowed_filetypes = array('mp3', 'mp4', 'flv', 'mpg', 'aac', 'm4r', 'wmv', 'm4a');
this is case sensitive.
my wave editing program has the bad habit of spitting out files with the capital letters extension .MP3 in batch mode, so i needed to rename *.MP3 to *.mp3.
Responses (4)
-
Accepted Answer
0Chris!!
this is something I recently found out and it's included on next version of MC (coming very soon)
the thing is uppercase extensions are not the usual case so the problem didn't show up until recently.
next time you experience a problem like this and you don't know what it is, just tell me! maybe I've found it first, or simply it will take me much less time to fix it!
I would hate that you spend hours in problems like this..!! -
Accepted Answer
0i am sorry, i did not mean to offend you.
there was something else (play duration display in the songs view) for which i hadn't received an answer from you yet, so i thought you were busy.
there's a lot to do for my library design - and i got stuck again...
so excuse my impatience. next time, i'll write you an email. and - if you like - delete this thread.
peace -
Accepted Answer
0you didn't offend me at all!
I just meant that in these cases, before spending hours looking into the code, write to me directly.
yes, I try to asnwer everything on the forum, but you're right I'm quite busy so some posts can be a couple of days before getting answered... (like the one you mention! it's on my list, will get to it asap!)
in these cases, if you see I don't respond it's probably just a matter of time, but you can always write me directly and I'll get more attention to it
peace!
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »