This project is not covered by Drupal’s security advisory policy.

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]'

....

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • Project categories: Media
  • Created by anantagati on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases