Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2002


    OK guys Cool.

    I am looking for a custom playlist script for streaming real audio songs.

    Any one who helps is GOD

    Last edited by ssss; 09-17-2002 at 02:07 AM.

  2. #2
    Join Date
    Sep 2002
    I believe you asked this same question a few days ago... You can check
    EZScripts - Quality PHP Scripts, Low Price (includes Custom Scripting on request.)

  3. #3
    Join Date
    Aug 2002
    Long Island
    Well I wrote a recursive PHP script that reads all the directories below a single parent directory and finds all files with an MP3 extension. It then creates an m3u file, which is basically a text file with the FQD path to the MP3 for each MP3 file I have stored on my HD. Once it creates this file, it stores the following information in a MySQL database:

    I have all my music filenames formatted as follows:

    Lastname, Firstname - Song title
    Artist - Song title

    Below is the MySQL table structure:

    CREATE TABLE `songs` (
    `ID` int(10) unsigned NOT NULL auto_increment,
    `Artist` varchar(100) NOT NULL default '',
    `Song` varchar(100) NOT NULL default '',
    `Path` varchar(255) NOT NULL default '',
    `Num` int(10) unsigned NOT NULL default '0',
    `Size` int(10) unsigned NOT NULL default '0',
    KEY `ID` (`ID`)
    ) TYPE=MyISAM;

    I wrote a search query that will search for what ever the user wants. Itís a very simple search page; it shows the song title and artist with a play button. Once the user clicks the play button it starts streaming the song to their media player of their choice. It doesnít download the song to your computer, only the m3u file which if they were smart enough they could go to the temp directory open the file and see the path. Once they had the path they could grab the song to download. As of right now I have no idea how to stop that.

    Well, If you like the code let me know, Iíll send it over to you

    John Trovato
    In Office Networks, LLC
    Programmer, Cisco Network Engineer, Roofer, Biochemist, and Conductor.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts