PHP Classes
Icontem

Class: M3U Playlist Parser


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Robert Widdick  >  M3U Playlist Parser  >  Download  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: M3U Playlist Parser Support forum
Base name: m3u-class
Description: Parse M3U playlist files
Related top rated classes:
Version: 2.1.3
Required PHP version: 5.0.0
Licenses: Free for non-commercial use
GNU General Public License (GPL)
The PHP License
All time users: 288 users
All time rank: 4367
Week users: 0 users
Week rank: 3720
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Related links   Files Files  

Author

Picture of Robert Widdick
Name: Robert Widdick <e-mail contact>
Published packages: 3 Browse this author's classes Browse this author's classes
Country: United States United States - PHP jobs in United States
Home page: http://www.codehelpers.com/
Age: 22
All time rank: 1156
Week rank: 715

Groups

Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Files and Folders Listing, accessing and manipulating files and folders View top rated classes
Group folder image Audio Voice and music data generation and manipulation View top rated classes

Detailed description

This class (rewritten from the old M3U Playlist Parser) now features optimized code and is more user friendly (function-wise) than that of the older M3U Playlist parser. You're now able to search through M3U entry titles and locations using multi-(or single) search and case[in]sensitive searching as well. You're able to pull records out that have a play time (in seconds) that are less than, less than or equal to, greater than, greater than or equal to or in between a $START and $END seconds time.

I've also included a (quite long) function that outputs a "pretty" and human-readable format which includes the song titles, locations and track time. You're able to customize the table output (if you use a table) or you can use plain-text output (which isn't pretty at all, mind you). The output of this also includes some "statistics" about the M3U, such as total tracks and combined playlist playing time (HH:MM:SS).

Hope you enjoy this new release, and as always, please contact me if you have any questions, comments or suggestions - as they might show up in future releases!

Notice: This script is not for any commercial usage without my consent. Thanks!

Warning: I have used this script to parse a playlist file of over 6,000 items without any problems. This script processes M3U files FAST! However, I'm not sure how bad it would be if you were to have anything over 10,000 playlist items - but it depends on the system and its configuration, so use with care.

**Notice** This version is incompatible with any of the lesser versions of 2.1.3. Please be sure to update your functions when calling from an object!

User ratings

Not yet rated by the users

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Related links

Link Description
WinAmp Download WinAmp!

Files

File Role Description
Plain text file m3u.class.php Class Main Class with examples (Bottom of source) & documentation
Plain text file Skillet.m3u Data Sample m3u file for the band "Skillet"
Image file Screenshot.png Output Screenshot
Download all files: m3u-class.tar.gz m3u-class.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products