Skip to main content
Participant
December 15, 2011
Question

Is there any way to play all files in a directory by one url?

  • December 15, 2011
  • 1 reply
  • 443 views

Hi all,

I am testing fms this days, I have put all my files(such as 1.mp3,2.mp3...n.mp3) in my directory.

I can play single file fine with url like this:

rtmp://localhost/mp3/mp3:x/2

but i want to know is there any way to play all files in my direcotry?

for example, user click the play button, the player(smp) automatic plays all files in the directory, link windows media server.

Should I use playlist? Or there is another better way?

Thanks a lot.

    This topic has been closed for replies.

    1 reply

    Nikhil_Kalyan
    Participating Frequently
    December 15, 2011

    Hi,

    FMS do not directly take a directory to play files, the file names have to be fetched some way (through script if needed) to make a playlist and then the play command needs to be repeated as many times.

    Thank you !