Searched refs:genrestring (Results 1 – 2 of 2) sorted by relevance
/plugin/jukebox/id3/ |
H A D | module.tag.id3v2.php | 447 function ParseID3v2GenreString($genrestring) { argument 452 $genrestring = trim($genrestring); 454 if (strpos($genrestring, "\x00") !== false) { 456 $genrestring = ''; 467 $returnarray['genre'][] = $genrestring; 473 $startpos = strpos($genrestring, '('); 474 $endpos = strpos($genrestring, ')'); 476 $genrestring = substr($genrestring, 0, $startpos).substr($genrestring, $startpos + 1); 480 $genrestring = substr($genrestring, 0, $startpos).substr($genrestring, $endpos + 1); 496 if ($genrestring) { [all …]
|
/plugin/jplayer/vendor/james-heinrich/getid3/getid3/ |
H A D | module.tag.id3v2.php | 512 * @param string $genrestring 516 public function ParseID3v2GenreString($genrestring) { argument 523 …if (($this->getid3->info['id3v2']['majorversion'] == 3) && !preg_match('#[\x00]#', $genrestring)) { 526 if (strpos($genrestring, '/') !== false) { 533 $genrestring = str_replace('/', "\x00", $genrestring); 535 … $genrestring = str_ireplace(str_replace('/', "\x00", $SlashedGenre), $SlashedGenre, $genrestring); 540 if (strpos($genrestring, ';') !== false) { 541 $genrestring = str_replace(';', "\x00", $genrestring); 546 if (strpos($genrestring, "\x00") === false) { 547 $genrestring = preg_replace('#\(([0-9]{1,3})\)#', '$1'."\x00", $genrestring); [all …]
|