Hello, Drupal 7.

I will admit out of the gate on this one that this is more than likely a stupid idea. Multiple API change notices were in my inbox this morning. I've ported exactly zero of my modules- which I purport to handle media- leaving the majority of my relevant content offline. I have a stupidly large image as the background image. YSlow gives me a solid E. Oh. And there is the small detail that I'm running on dev not alpha 6.

Hooks and Queues - Media Mover 2 Improvements

As Media Mover 2 finally moves toward alpha, I've taken the risk of doing some significant refactoring- or at least improvements- to make the transition to Drupal 7 easier as well as to provide a much more robust platform people to start leveraging.

Similar to Drupal 7's [hook_file_load](http://api.drupal.org/api/function/hook_file_load/7), Media Mover now offers hook_media_mover_file_load() and hook_media_mover_file_save(). This allows for easy altering of files as they pass through the system. These are both cache aware so you can still benefit from caching while having the ability to avoid modifying a cached file if your modifications are not dynamic (cached Media Mover files have $file->cached set). Steps and configurations are also alterable on load and save.

Media Mover 2 and Drupal Queue

With folks using [Media Mover](http://drupal.org/project/media_mover) to transcode larger and larger video files, cron time outs have become somewhat of a problem as Drupal waits for FFmpeg to complete its processing. With Media Mover one, configurations are run from cron by default (not required, but out of the box) which means that cron runs as long as the Media Mover configuration takes. While it is possible to limit cron runs, the reality of transcoding a gigabyte file is that it takes time regardless of how much horsepower you can throw at it. Media Mover one was setup to be friendly to multi-machine systems, but the system left some things to be desired.

Media Mover S3 CDN Improvements

The S3 module for Media Mover just got updated to make the CDN integration easier. As files come through the system, files which already reside on S3 will have $file->s3_uri set which allows theming functions to display the local URI if it is present or the S3 URI if the file is already on S3. Make that $file->s3_data which is a serialized array of data from the S3 file. This allows for the generation of private urls.

Media Mover 2.x - CTools Integration

With Media Mover 2 having significantly changed its architecture, the possibility to import and export data has gotten much more interesting. Because Media Mover's configurations now are mostly containers for steps which define the actual things that happen to files, it is possible to export and import both full configurations and individual steps. This is helpful for example if you are tweaking your video conversion process on your development server and then you can export the tweaked settings to your production environment. [Mark Sonnabaum](http://drupal.org/user/75278) has been leading the way getting the integration with CTools done so that there is a familiar interface for getting data in and out.

Pages