| @@ 377-381 (lines=5) @@ | ||
| 374 | } |
|
| 375 | ||
| 376 | // copy errors and warnings |
|
| 377 | if (!empty($getid3_temp->info['error'])) { |
|
| 378 | foreach ($getid3_temp->info['error'] as $newerror) { |
|
| 379 | $this->warning($class.'() says: ['.$newerror.']'); |
|
| 380 | } |
|
| 381 | } |
|
| 382 | if (!empty($getid3_temp->info['warning'])) { |
|
| 383 | foreach ($getid3_temp->info['warning'] as $newerror) { |
|
| 384 | $this->warning($class.'() says: ['.$newerror.']'); |
|
| @@ 382-386 (lines=5) @@ | ||
| 379 | $this->warning($class.'() says: ['.$newerror.']'); |
|
| 380 | } |
|
| 381 | } |
|
| 382 | if (!empty($getid3_temp->info['warning'])) { |
|
| 383 | foreach ($getid3_temp->info['warning'] as $newerror) { |
|
| 384 | $this->warning($class.'() says: ['.$newerror.']'); |
|
| 385 | } |
|
| 386 | } |
|
| 387 | unset($getid3_temp, $getid3_audio); |
|
| 388 | break; |
|
| 389 | ||
| @@ 429-433 (lines=5) @@ | ||
| 426 | } |
|
| 427 | ||
| 428 | // copy errors and warnings |
|
| 429 | if (!empty($getid3_temp->info['error'])) { |
|
| 430 | foreach ($getid3_temp->info['error'] as $newerror) { |
|
| 431 | $this->warning('getid3_ogg() says: ['.$newerror.']'); |
|
| 432 | } |
|
| 433 | } |
|
| 434 | if (!empty($getid3_temp->info['warning'])) { |
|
| 435 | foreach ($getid3_temp->info['warning'] as $newerror) { |
|
| 436 | $this->warning('getid3_ogg() says: ['.$newerror.']'); |
|
| @@ 434-438 (lines=5) @@ | ||
| 431 | $this->warning('getid3_ogg() says: ['.$newerror.']'); |
|
| 432 | } |
|
| 433 | } |
|
| 434 | if (!empty($getid3_temp->info['warning'])) { |
|
| 435 | foreach ($getid3_temp->info['warning'] as $newerror) { |
|
| 436 | $this->warning('getid3_ogg() says: ['.$newerror.']'); |
|
| 437 | } |
|
| 438 | } |
|
| 439 | ||
| 440 | if (!empty($getid3_temp->info['ogg']['bitrate_nominal'])) { |
|
| 441 | $track_info['bitrate'] = $getid3_temp->info['ogg']['bitrate_nominal']; |
|
| @@ 1602-1606 (lines=5) @@ | ||
| 1599 | if (empty($getid3_temp->info['error'])) { |
|
| 1600 | $info['audio'] = $getid3_temp->info['audio']; |
|
| 1601 | $info['ac3'] = $getid3_temp->info['ac3']; |
|
| 1602 | if (!empty($getid3_temp->info['warning'])) { |
|
| 1603 | foreach ($getid3_temp->info['warning'] as $newerror) { |
|
| 1604 | $this->warning('getid3_ac3() says: ['.$newerror.']'); |
|
| 1605 | } |
|
| 1606 | } |
|
| 1607 | } |
|
| 1608 | unset($getid3_temp, $getid3_ac3); |
|
| 1609 | ||
| @@ 1622-1626 (lines=5) @@ | ||
| 1619 | $info['audio'] = $getid3_temp->info['audio']; |
|
| 1620 | $info['dts'] = $getid3_temp->info['dts']; |
|
| 1621 | $info['playtime_seconds'] = $getid3_temp->info['playtime_seconds']; // may not match RIFF calculations since DTS-WAV often used 14/16 bit-word packing |
|
| 1622 | if (!empty($getid3_temp->info['warning'])) { |
|
| 1623 | foreach ($getid3_temp->info['warning'] as $newerror) { |
|
| 1624 | $this->warning('getid3_dts() says: ['.$newerror.']'); |
|
| 1625 | } |
|
| 1626 | } |
|
| 1627 | } |
|
| 1628 | ||
| 1629 | unset($getid3_temp, $getid3_dts); |
|