From ada740ec4123cf286c8abc3a09eb62ed80716fba Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Sat, 13 May 2006 07:16:54 +0000 Subject: wups.. yea this file isnt done yet --- modules/id3/vainfo.class.php | 63 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100755 modules/id3/vainfo.class.php (limited to 'modules') diff --git a/modules/id3/vainfo.class.php b/modules/id3/vainfo.class.php new file mode 100755 index 00000000..f564b5e9 --- /dev/null +++ b/modules/id3/vainfo.class.php @@ -0,0 +1,63 @@ +filename = stripslashes($file); + if ($encoding) { + $this->encoding = $encoding; + } + + // Initialize getID3 engine + $this->_getID3 = new getID3(); + $this->_getID3->option_md5_data = false; + $this->_getID3->option_md5_data_source = false; + $this->_getID3->encoding = $this->encoding; + + } // vainfo + + + /** + * get_info + * This function takes a filename and returns the $_info array + * all filled up with tagie goodness or if specified filename + * pattern goodness + */ + function get_info() { + + $raw_array = $this->_getID3->analyze($this->filename); + + print_r($raw_array); + + } // get_info + +} // end class vainfo +?> -- cgit