|
![]() |
|
Thread Tools | Search this Thread | Display Modes |
![]() |
#1 |
Junior Member
Join Date: Nov 2005
Posts: 2
|
php script to create a pls file for winamp from the ogg's in a directory
hey guys, does anyone know what it would take, or better yet, have a script for me, whereby there is a folder of .ogg's on a web server, and it makes a .pls file out of those files, complete with the proper song times and titles taken from the id tags in the oggs?
i need to get this going for a website service im launching, and i just have no idea how to start. |
![]() |
![]() |
![]() |
#2 |
Passionately Apathetic
Administrator Join Date: May 2000
Location: Hell
Posts: 5,435
|
using this: http://www.getid3.org/
PHP Code:
Also, its likely that the title string wont work. since i dont have any example files to play with and im just going by what the documentation for getid3 seems to say. its quite likely that array location wont include the data you're after. I'd do a print_r on the $fileinfo at that stage and see where the title gets placed and format my title string appropriatly. |
![]() |
![]() |
![]() |
#3 |
Junior Member
Join Date: Nov 2005
Posts: 2
|
ah i found a tool like that, netjuke-toolkit has getid3 in it, only problem now is i need to install the vorbis tools on my server before i get any farther.
|
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|