O'Reilly logo

TYPO3 4.3 Multimedia Cookbook by Dan Osipov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building an audioConversion service

In the previous recipe, Converting audio using services, we built a system that will convert audio files to a variety of formats using services. By itself, the system doesn't do anything, and relies on services to do the actual file conversion. We will now create an example service.

Getting ready

We will place the new service in the audio_conversion extension. If you've previously downloaded the extension, it should have the service we're about to create. Feel free to skip ahead to the How it works... section.

If you're creating your own service, make sure that you place it in a separate extension, and list audio_conversion under dependencies.

How to do it...

  1. Define the service in ext_localconf.php:
    t3lib_extMgm::addService($_EXTKEY, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required