flowplayer doesn't recognize files with uppercase extensions

Bug #675047 reported by leonelvsc
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
François Marier

Bug Description

I uploaded 03 - ONE MORE TIME (CLUB MIX).MP3 to my group but when i add a embbed media module to my group view and select that song the mp3 player gives me an error , with all the other songs works why with this one no ?

mahara 1.3.3

Revision history for this message
leonelvsc (leonel-vsc) wrote :
description: updated
Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

Can you change the file name so that there are no ( ) or best re-upload the files that don't work without the ( ) in the first place?

Revision history for this message
leonelvsc (leonel-vsc) wrote :

Yup i try reuploading the song with () with out () with out spaces with out - xD and doesn't work .(

Revision history for this message
François Marier (fmarier) wrote :

Just to eliminate the possibility of the filename causing problems, can you try uploading the same file as "test.mp3" (without the quotes and without any capital letters)?

Revision history for this message
leonelvsc (leonel-vsc) wrote :

http://img18.imageshack.us/img18/4076/sinttulomi.jpg

you can test my site if you want www.sistemaeet2.com.ar

Revision history for this message
François Marier (fmarier) wrote :

From that screenshot, it looks like the file extension is in capital letters: test.MP3

Try with lowercase letters to see if it's any different: test.mp3

Revision history for this message
leonelvsc (leonel-vsc) wrote :

you rule that was the problem ;)

summary: - Mp3 player bug
+ flowplayer doesn't recognize files with uppercase extensions
Changed in mahara:
importance: Undecided → Medium
status: New → Triaged
Changed in mahara:
milestone: none → 1.4alpha1
Changed in mahara:
assignee: nobody → François Marier (fmarier)
Revision history for this message
François Marier (fmarier) wrote :

So it looks like the problem is that flowplayer figures out what backend to load from the URL. It however is case-sensitive and so if it sees a URL that ends with .MP3 or .Mp3 it doesn't recognize it.

Somehow, even if you rename the file in Mahara, it still won't pick it up. What you need to do to make it work is to delete the file in Mahara, rename it so that it's got a lowercase extension, then upload it again.

It looks like we keep the original name internally somewhere :(

Changed in mahara:
status: Triaged → In Progress
Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

Thanks for checking, Francois.

I included flowplayer info in the wiki at http://wiki.mahara.org/User_Guide/2_My_Portfolio/2_My_Files/Upload_a_File

Changed in mahara:
status: In Progress → Fix Committed
milestone: 1.4alpha1 → 1.4.0
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.