The old Metacafe Thumbnail API call for thumbnails is no longer accurate, therefore video_cck_metacafe_thumbnail does not return a valid thumbnail.

Old Format: (as listed on http://help.metacafe.com/?page_id=201)
Http://www.metacafe.com/thumb/[Video ID Number].jpg

The new format for the MetaCafe thumbnail URL does not seem to be something that can be derived.
http://s1.mcstatic.com/thumb/[Video ID Number]/11049839/4/catalog_item5/0/1/district_9_trailer_hd.jpg?v=2

If using FeedAPI you could use FeedAPI Mapper to map the thumbnail path to your own DB path.
Unfortunately, the new thumbnail path is too deep in the XML object for FeedAPI mapper to allow you to map directly.

Array (
  [options] => Arra (
    [enclosures] => Array(
      [application] => Array(
        [x-shockwave-flash] => Array(
          [0] => Array(
            [thumbnails] => Array(
              [0] => http://s1.mcstatic.com/thumb/2929240/11049839/4/catalog_item5/0/1/district_9_trailer_hd.jpg?v=2
            )
          )
        )
      )
    )
  )
)

Closest you can get with FeedAPI Mapper is options->enclosures->application->x-shockwave-flash. So either write that value to the DB and deal with it at theme-time, or just parse it out when you're ingesting nodes via hook_nodeapi and pull it out there.

Any other clever ideas as to how to deal with this?

Comments

robloach’s picture

Version: 5.x-1.7 » 5.x-1.x-dev
Status: Active » Patch (to be ported)

Thanks! Fixed in DRUPAL-6--1. http://drupal.org/cvs?commit=242340

alex ua’s picture

Status: Patch (to be ported) » Closed (fixed)

Closing. This provider is getting removed from emfield (along with most others) and so future development will happen elsewhere (for now, the most likely place is Media: Video Flotsam).