Publishing a MyMedia Card for an image file

require 'mymedia-card'
mmc = '/home/james/', 
                                                         public_type: 'images')

Observations after execution:

  1. The ~/ file was created from the script
  2. The arduino-pro-mini.xml file contained the following:
<?xml version='1.0' encoding='UTF-8'?>
<kvx type='images' created='2015-05-04 17:54:50 +0100'>
    <title>Arduino Pro Mini</title>
    <tags>arduino promini</tags>

Note: MyMedia-card#auto_copy_publish doesn't copy across or publish the actual media file, it simply copies and publishes the Kvx file (XML metadata file) which contains information about the media file.

See also