Description
Analyze the files in a folder
Usage
oik_tunes_analyze_folder( $folder, $getID3 );Parameters
- $folder
- ( mixed ) required –
- $getID3
- ( mixed ) required –
Returns
voidSource
File name: oik-tunes/admin/oik-tunes.phpLines:
1 to 16 of 16
function oik_tunes_analyze_folder( $folder, $getID3 ) { $cwd = getcwd(); chdir( $folder ); $newcd = getcwd(); $handle = opendir( $newcd ); while ( $file = readdir( $handle ) ) { p( "Processing $file" ); bw_flush(); $dothis = oik_tunes_consider_file( $file ); if ( $dothis ) { oik_tunes_analyze( $file, $getID3 ); } } closedir( $handle ); chdir( $cwd ); }View on GitHub
Invoked by
Calls
1 to 4 of 4
Call hooks
API Letters:
