Allow user to define custom commands for process, storage and complete actions in Media Mover.
Module uses tokens to provide easy access to file values.

Dependencies

- media_mover_api
- token
- mm_token

Install

1) Copy the mm_custom_command folder to the modules folder in your installation.

2) Enable the module using Administer -> Modules (/admin/build/modules).

3) Go to Media Mover configuration where you want to use custom command and choose "Custom Command: Use custom command".

4) Set 'Output file' and 'Command'.

Examples

Encode files with Sorenson Squeeze 5 on Windows machine running Drupal
- Create your Media Mover configuration
- For process action choose "Custom Command: Use custom command"
- Set 'Output file' for example 'video-[nid].flv'
- Set command. Because I didn't find parameter for Squeeze to set output file I
will use batch file 'compress-video.bat' which will after encoding rename
output file. So command will look like this:
'd:\compress-video.bat [harvest_file] [output_file]'

Rename/move file
- Create your Media Mover configuration
- For storage action choose "Custom Command: Use custom command"
- Set 'Output file' for example 'video-[nid].flv'
- Set 'Command' to 'co [process_file] [output_file]'

....

Downloads

Version Downloads Date Links
6.x-2.0 tar.gz (7.71 KB) | zip (8.62 KB) 2010-Jul-09 Notes

Project Information


Maintainers for Media Mover Custom Command

  • anantagati - 5 commits
    last: 1 year ago, first: 3 years ago

Issues for Media Mover Custom Command

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Oldest open issue: 17 Dec 10