Needs review
Project:
Media Mover
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Feb 2010 at 12:18 UTC
Updated:
20 Apr 2010 at 16:28 UTC
Jump to comment: Most recent file
Comments
Comment #1
delykj commentedYes, use the mm_dir module. Specify your import directory and store your harvested files as nodes.
Comment #2
agrivas commentedFirst of all thanks for the reply.
Isn't this going to create a node for each uploaded file?
I just want a record in the drupal "Files" table
Comment #3
arthurf commentedYes, it will create a node for each harvested file. I'll create a new action in mm_node to do this.
Comment #4
arthurf commentedPlease try this diff
Comment #5
agrivas commentedThanks for the info!
Comment #6
agrivas commentedSorry but the patch failed to apply to the dev version. I attach the .rej file
Comment #7
arthurf commenteduuuhhhhh.... it pretty much rejected every change- can you try it with ignoring white space maybe?
Comment #8
agrivas commentedBetter but still not enough. Only 5 changes were accepted. I can attach the rej file again if you want to. I tried to use the latest file from the cvs but I get the following error:
Fatal error: Cannot redeclare media_mover_api_rerun_node_form_submit() (previously declared in .../sites/all/modules/media_mover/contrib/mm_node/mm_node.module:872) in .../sites/all/modules/media_mover/media_mover_api.module on line 3214
maybe you touched other files too
Comment #9
Pratik commentedMedia mover module not working.After running the configuration, I get an warning message saying 'Parameter 4 to mm_dir_media_mover() expected to be a reference,value given in /includes/modules.inc on line 462' and the files are not harvested from the local directory and stored to the FTP Server.This is an issue I face after setting the configurations.
Comment #10
arthurf commented@agrivas - I think your checkout is bad. That function is not declared on #827 in mm_node....
Comment #11
scottrigby@arthurf i would give it a shot, but i'm also having trouble applying the patch cleanly
Comment #12
arthurf commentedPatch was against my local sandbox, sorry. Just committed fixed code to dev, please review.