Skip to main content
Participant
March 3, 2007
Question

How do you stream files with a '.' in them?

  • March 3, 2007
  • 3 replies
  • 504 views
Hi all,

Im using Flash Media Server to stream MP3s for a completely web enabled jukebox. The trouble is some of my MP3s have "." in their filenames. For example I have a file called:
Music/O/One Minute Silence/Buy Now... Saved Later/12 - On Deaf Ears

This will not play. I have tested with other files, as soon as a . appears in the name it will not play. Ive tried escaping the filename by replacing "." with "\." this also didn't work.

Any ideas?

Cheers
Spanner
    This topic has been closed for replies.

    3 replies

    March 13, 2007
    This is a filename parsing problem in the program, only Adobe can fix it. The workaround is to change periods into underscores or something else.
    Participant
    March 13, 2007
    Thanks for the replies all.

    MacOnFlash - I had tried escaping using Flash's escape function - but I was escaping the whole string. I will play with this on the off chance.

    I think I will just suffer the problem until Adobe fix it - I don't really fancy changing filenames of my MP3s - but if that's what it takes, maybe that's the solution.

    Cheers,
    Spanner
    Participant
    March 12, 2007
    i've noticed this behavior you're talking about too - i can't remember how i fixed it - i might have had the option to change naming conventions to _ instead of . as i think FMS looks at .'s to see what type of file it is or something along those lines, (but does a poor job if that's the case) - i cant remember what exactly the problem was. Maybe try escaping the filename (but possibly not the extension)?
    Inspiring
    March 5, 2007
    the proper way to stream and mp3 is in the net connection you write mp3:mymusic ..........not music.mp3.....:) welcome to FMS .....do a google search on how to stream mp3 and you will find plenty of examples.
    Participant
    March 5, 2007
    I think you misunderstand. I am streaming by using mp3:<filename> without the .mp3 extension. This works fine. The trouble is if the filename contains a "."

    Here is a proper example then:

    mp3:mymp3hasa.init

    Which would play a file called "mymp3hasa.init.mp3". This doesn't work. Im not sure if I'm meant to escape the "." and if so how to do it.

    Ive been googling these for ages, and can't find anything!

    Cheers
    Spanner
    Inspiring
    March 5, 2007
    well the problem is it sees everything after the first dot as the files extension you could try to escape it with slashes .....either forward slash or back slash i can't remember which.