Fixes the classname of the BlurayDirectoryIterator filter. Updates the filter to accept only directories that contain a BDAV/BDMV subdirectory, similar to the VIDEO_TS directory found in DVD sources.
10 lines
303 B
PHP
10 lines
303 B
PHP
<?php
|
|
|
|
class RippingCluster_Utility_BlurayDirectoryIterator extends FilterIterator {
|
|
public function accept() {
|
|
return is_dir($this->current()->getPathname() . DIRECTORY_SEPARATOR . 'BDAV') ||
|
|
is_dir($this->current()->getPathname() . DIRECTORY_SEPARATOR . 'BDMV');
|
|
}
|
|
}
|
|
|
|
?>
|