Jump to content

Getting access to all files in a directory


Deeze

Recommended Posts

Example :

I'm making a mp3 player script where you can select songs(stored server-side), as soon as you click on a song the mp3 player starts to download it and plays it as soon as its finish downloading.

Now let's say all mp3 files are stored in a folder in our mp3 resource.

Now, you would have to type in all the mp3 file names in the meta as files, and with about 100+ songs that would be hella work.

Now what if i want to access all the mp3 files with a script, but i don't want to put them into the meta, meaning that my script can access them without the mp3 files beeing written in the meta.

Is this possible?

If yes, how?

If no, aww :c

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...