Lines Matching +full:style +full:. +full:local +full:. +full:ini

3 /// getID3() by James Heinrich <info@getid3.org>               //
4 // available at http://getid3.sourceforge.net //
5 // or http://www.getid3.org //
8 // Please see readme.txt for more information //
13 define('GETID3_VERSION', '1.7.8b2');
21 var $encoding = 'ISO-8859-1'; // CASE SENSITIVE! - i.e. (must be supported by iconv())
28 // public: Optional tag checks - disable for speed.
56 // Check for PHP version >= 4.2.0
57 if (phpversion() < '4.2.0') {
58 … $this->startup_error .= 'getID3() requires PHP v4.2.0 or higher - you are running v'.phpversion();
70 …$this->startup_error .= 'PHP has less than 3MB available memory and will very likely run out. Incr…
72 …startup_warning .= 'PHP has less than 12MB available memory and might run out if all modules are l…
77 …upport disabled, md5data/sha1data for ogg vorbis disabled, ogg vorbos/flac tag writing disabled.');
93 if (basename($val) == 'getid3.php') {
94 define('GETID3_INCLUDEPATH', dirname($val).DIRECTORY_SEPARATOR);
101 if (!include_once(GETID3_INCLUDEPATH.'getid3.lib.php')) {
102 $this->startup_error .= 'getid3.lib.php is missing or corrupt';
109 // IMPORTANT: This path cannot have spaces in it. If neccesary, use the 8dot3 equivalent
114 …$helperappsdir = GETID3_INCLUDEPATH.'..'.DIRECTORY_SEPARATOR.'helperapps'; // must not have any sp…
117 …$this->startup_error .= '"'.$helperappsdir.'" cannot be defined as GETID3_HELPERAPPSDIR because it…
121 if ((strpos($value, '.') !== false) && (strpos($value, ' ') === false)) {
122 if (strpos($value, '.') > 8) {
123 $value = substr($value, 0, 6).'~1';
126 $value = substr($value, 0, 6).'~1';
130.= 'GETID3_HELPERAPPSDIR must not have any spaces in it - use 8dot3 naming convention if neccesary…
132 define('GETID3_HELPERAPPSDIR', realpath($helperappsdir).DIRECTORY_SEPARATOR);
169 …conv() support is needed for encodings other than ISO-8859-1, UTF-8, UTF-16LE, UTF16-BE, UTF-16. ';
171 …$errormessage .= 'PHP does not have iconv() support. Please enable php_iconv.dll in php.ini, and c…
173 …$errormessage .= 'PHP is not compiled with iconv() support. Please recompile with the --with-iconv…
192 // open local file
194 return $this->error('Could not open file "'.$filename.'"');
230 $this->info['filenamepath'] = $this->info['filepath'].'/'.$this->info['filename'];
238 if (getid3_lib::IncludeDependency(GETID3_INCLUDEPATH.'module.tag.id3v2.php', __FILE__, false)) {
263 if (!@include_once(GETID3_INCLUDEPATH.'module.tag.id3v1.php')) {
264 return $this->error('module.tag.id3v1.php is missing - you may disable option_tag_id3v1.');
272 if (!@include_once(GETID3_INCLUDEPATH.'module.tag.apetag.php')) {
273 return $this->error('module.tag.apetag.php is missing - you may disable option_tag_apetag.');
281 if (!@include_once(GETID3_INCLUDEPATH.'module.tag.lyrics3.php')) {
282 return $this->error('module.tag.lyrics3.php is missing - you may disable option_tag_lyrics3.');
305 return $this->error('ID3 tags not allowed on this file type.');
307 $this->info['warning'][] = 'ID3 tags not allowed on this file type.';
315 return $this->error('APE tags not allowed on this file type.');
317 $this->info['warning'][] = 'APE tags not allowed on this file type.';
325 if (!file_exists(GETID3_INCLUDEPATH.$determined_format['include'])) {
327 …return $this->error('Format not supported, module, '.$determined_format['include'].', was removed.
332 …urn $this->error('iconv support is required for this module ('.$determined_format['include'].').');
336 include_once(GETID3_INCLUDEPATH.$determined_format['include']);
339 $class_name = 'getid3_'.$determined_format['module'];
341 …return $this->error('Format not supported, module, '.$determined_format['include'].', is corrupt.'…
483 'pattern' => '^\.snd',
497 // BONK - audio - Bonk v0.9+
555 'pattern' => '^.{1080}(M.K.|[5-9]CHN|[1-3][0-9]CH)',
582 'pattern' => '^.{44}SCRM',
631 // TTA - audio - TTA Lossless Audio Compressor (http://tta.corecodec.org)
655 // WV - audio - WavPack (v4.0+)
727 'pattern' => '^.{4}(cmov|free|ftyp|mdat|moov|pnot|skip|wide)',
733 … CD-audio / SDSS = renamed variant used by SmartSound QuickTracks (www.smartsound.com) / FORM = Au…
744 'pattern' => '^(\.RMF|.ra)',
793 'pattern' => '^.{2048}PCD_IPI\x00',
839 'pattern' => '^.{32769}CD001',
870 …'pattern' => '^.{100}[0-9\x20]{7}\x00[0-9\x20]{7}\x00[0-9\x20]{7}\x00[0-9\x20\x00]{12}[0-9\x20\x…
942 // of the file).
949 if (preg_match('/'.$info['pattern'].'/s', $filedata)) {
950 $info['include'] = 'module.'.$info['group'].'.'.$info['module'].'.php';
956 if (preg_match('/\.mp[123a]$/i', $filename)) {
961 $info['include'] = 'module.'.$info['group'].'.'.$info['module'].'.php';
1070 return $this->error('bad algorithm "'.$algorithm.'" in getHashdata()');
1081 // do not match. Under normal circumstances, where comments are smaller than
1084 // tags with vorbiscomment and MD5 that file.
1088 // comments block (which is the standard getID3() method.
1092 // currently vorbiscomment only works on OggVorbis files.
1096 …$this->info['warning'][] = 'Failed making system call to vorbiscomment.exe - '.$algorithm.'_data i…
1097 $this->info[$algorithm.'_data'] = false;
1115 if (file_exists(GETID3_HELPERAPPSDIR.'vorbiscomment.exe')) {
1117 …$commandline = '"'.GETID3_HELPERAPPSDIR.'vorbiscomment.exe" -w -c "'.$empty.'" "'.$file.'" "'.$tem…
1122 $VorbisCommentError = 'vorbiscomment.exe not found in '.GETID3_HELPERAPPSDIR;
1128 $commandline = 'vorbiscomment -w -c "'.$empty.'" "'.$file.'" "'.$temp.'" 2>&1';
1129 …$commandline = 'vorbiscomment -w -c '.escapeshellarg($empty).' '.escapeshellarg($file).' '.escapes…
1136.exe) - '.$algorithm.'_data will be incorrect. If vorbiscomment is unavailable, please download fr…
1137 $this->info[$algorithm.'_data'] = false;
1144 $this->info[$algorithm.'_data'] = getid3_lib::md5_file($temp);
1148 $this->info[$algorithm.'_data'] = getid3_lib::sha1_file($temp);
1167 …$this->info[$algorithm.'_data'] = getid3_lib::hash_data($this->info['filenamepath'], $this->info['…
1174 $this->info[$algorithm.'_data'] = getid3_lib::md5_file($this->info['filenamepath']);
1178 $this->info[$algorithm.'_data'] = getid3_lib::sha1_file($this->info['filenamepath']);