Member
Member
danielsbrewer   2009-04-03, 14:40
#1

Hi,

As I brought up a while back, I would like to automatically add metadata to a video from a file with the same filename but with .meta on the end e.g. DSCF3432.meta. I have a script that produces the .meta files from iPhoto. I produced a patch that added some stuff to the end of getImageMetadata in zp-core/functions.php and this was working great. In the latest version this has broken and I would like to get it working again. SO some questions:

  1. Would it be possible to produce something like this as a plugin?
  2. Where would it be best to add this functionality?
  3. Any ideas why it broke in the latest version? Moving the video stuff to a plugin???

Thanks

Member
Member
sbillard   2009-04-03, 15:59
#2
  1. Yes
  2. Use the new_object filter as a starting point.
  3. If you patched the core, the patch would naturally get lost on the update.
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.