MP3? no, no: it's mp3 only...

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.
Responses (4)
  • Accepted Answer

    Thursday, March 01 2012, 11:13 PM - #Permalink
    0
    Chris!!

    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..!!
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, March 01 2012, 11:24 PM - #Permalink
    0
    i 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
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, March 01 2012, 11:28 PM - #Permalink
    0
    you 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!
    The reply is currently minimized Show
  • Accepted Answer

    Friday, March 02 2012, 01:41 AM - #Permalink
    0
    :)
    "es que no té res de fer sa cúa des gat pentina"
    :)
    The reply is currently minimized Show
Your Reply