v1.0.3 — load filelib.php (generate_audio fatal)
Fixed
generate_audiostill fatalled after 1.0.2 with Call to undefined functionfile_rewrite_pluginfile_urls(). That function is defined inlib/filelib.php, which Moodle does not auto-load in the cron / adhoc-task context the extractor runs in, so the global was genuinely undefined there — the 1.0.2 namespace qualification only changed the error text, not the outcome.content_extractor::extract()nowrequire_onces$CFG->libdir/filelib.phpbefore use. Verified on the dev host that this makes the function available (html_to_textandget_coursemodule_from_idwere already loaded). The 1.0.2 namespace qualifications are retained.
Full changelog: v1.0.2...v1.0.3