|
-
Mar 9th, 2006, 12:12 AM
#1
Thread Starter
Hyperactive Member
File Info Help
I need to create a script that takes a directory full of mp3's and creates a playlist with the name of the Artist, Song, Album, filepath.
Now i can do the filepath. but i dont know where to look or what to look for to get the Artist name, Song name, Album Name.
If anyone can help me find a way to do this. I thank you. It'd save me hours adding each song one by one.. when i have over 100 i wana add to it.
Without balance, there could only be chaos.
Without chaos, there could be no balance.
I live with karma. Eat with destiny. Dream of life without shackles....
Yet. If life had no consequences, life could not exist, nor could it flourish.
If at first you dont succeed.You're screwed.
C++/Java NOOB.
I aint a professional at PHP, but if i can help i will.
-
Mar 9th, 2006, 12:39 AM
#2
Re: File Info Help
I found this link which seems to do what your after. HTH
-
Mar 9th, 2006, 04:51 PM
#3
Thread Starter
Hyperactive Member
Re: File Info Help
link dont exist.lol.
Thanks tho.
Without balance, there could only be chaos.
Without chaos, there could be no balance.
I live with karma. Eat with destiny. Dream of life without shackles....
Yet. If life had no consequences, life could not exist, nor could it flourish.
If at first you dont succeed.You're screwed.
C++/Java NOOB.
I aint a professional at PHP, but if i can help i will.
-
Mar 9th, 2006, 06:18 PM
#4
Re: File Info Help
Works for me
Try again
-
Mar 9th, 2006, 06:34 PM
#5
<?="Moderator"?>
-
Mar 9th, 2006, 09:47 PM
#6
Thread Starter
Hyperactive Member
Re: File Info Help
second link worked.
Btw Thanks John.It looks like it'll help me.
stupid question i know.. but anyone know howto a read a dir for specific files?
lol... i just tried to do it. and i forgot how.
Last edited by PlaGuE; Mar 9th, 2006 at 10:14 PM.
Without balance, there could only be chaos.
Without chaos, there could be no balance.
I live with karma. Eat with destiny. Dream of life without shackles....
Yet. If life had no consequences, life could not exist, nor could it flourish.
If at first you dont succeed.You're screwed.
C++/Java NOOB.
I aint a professional at PHP, but if i can help i will.
-
Mar 10th, 2006, 03:15 AM
#7
Member
Re: File Info Help
 Originally Posted by PlaGuE
but anyone know howto a read a dir for specific files?
This wont search for a specifc file type, but will limit what ones are returned.
PHP Code:
if (preg_match('#^(.+).mp3$#', $file, $match)){
$files[] = $file;
}
_---
-
Mar 10th, 2006, 05:36 PM
#8
Thread Starter
Hyperactive Member
Re: File Info Help
hey as long as it returns just the mp3's im happy.
Without balance, there could only be chaos.
Without chaos, there could be no balance.
I live with karma. Eat with destiny. Dream of life without shackles....
Yet. If life had no consequences, life could not exist, nor could it flourish.
If at first you dont succeed.You're screwed.
C++/Java NOOB.
I aint a professional at PHP, but if i can help i will.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|