I'm Trying to get FFMpeg + Media Mover Modules to transcode my Uploaded files
and save them to a remote FTP Server.
(I Have Drupal installed on a windows machine on my Local Host)

Everything works fine but I would Like to store the files into specific folders upon
the end of conversion process.
These are my steps involved for instance:

  • I upload the Video and select the Event (node ref field that references
    the respective Event under which the video falls) and save the content
  • Run The Respective configuration that Harvests from the Upload CCK Feild
  • Transcodes the video and saves it on the FTP under the "Event-name" Folder

I tried to use Custom Commands for the final step but its a little complicated, Is it possible to
use a Custom Tokens for the Event name and save the video under that folder by choosing:
Storing

    Harvest from an FTP Server: Store Files onto an FTP Server
    FTP Configuration
      FTP directory : [Replacement Token]

How can I make the [replacement-token] available at this Level, I tried to define a custom
token but couldn't make the configuration access that? Need help, Help Greatly appreciated!
Thanks!!

Comments

rick_1809’s picture

Nobody has a solution to this?

rick_1809’s picture

Wow nobody? Is it possible to at least run PHP script
via custom command? How do I do that. I can currently
run a batch command by specifying a .bat file but I'd prefer
running PHP script here instead of a .bat file.

rick_1809’s picture

Priority: Normal » Critical
bsherwood’s picture

Project: Drupal core » Media Mover
Version: 6.16 » 6.x-1.0-beta6
Component: other » Miscellaneous
Priority: Critical » Normal

Not critical.

You might be able to get an answer at the Media Mover issue queue.

anantagati’s picture

Project: Media Mover » Media Mover Custom Command
Version: 6.x-1.0-beta6 » 6.x-1.x-dev
Status: Active » Fixed

Wow nobody? Is it possible to at least run PHP script
via custom command? How do I do that. I can currently
run a batch command by specifying a .bat file but I'd prefer
running PHP script here instead of a .bat file.

Today I posted patch which allow you to run PHP code with MM Custom Command. (#555936: Possible for PHP code)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.