--- xspf_playlist/xspf_playlist_cck/xspf_playlist_cck.module	2009-02-07 11:12:39.000000000 -0600
+++ xspf_playlist_cck.module	2010-01-11 16:39:03.000000000 -0600
@@ -47,7 +47,7 @@ function xspf_playlist_cck_fields($confi
 	if ($fields) {
 	  foreach ($fields as $name => $field) {
 	    // only bother with specified field types
-        if (in_array($field['type'], array('text', 'image', 'file', 'file_video', 'video_cck') )) {
+        if (in_array($field['type'], array('text', 'image', 'file', 'filefield', 'file_video', 'video_cck') )) {
           $return['xspf_playlist_cck--'. $name] = t('CCK !type: !name', array('!type' => $field['type'], '!name' => $field['widget']['label']));
 			}
 	  }
@@ -122,6 +122,27 @@ function xspf_playlist_cck_image_handler
 
 
 /**
+ * handles the file field type
+ * @param $node
+ * @param $field_name
+ * @return array
+ *   array of xspf items
+ */
+function xspf_playlist_cck_filefield_handler($node, $field_name) {
+  $items = array();
+  // extract all the embeded items from this field
+  foreach ($node->{$field_name} as $field) {
+    if ($field['filepath']) {
+      if ($xspf_item = xspf_playlist_node_build_file_item($node, $field['filepath'])) {
+        $items[] = $xspf_item;
+      }
+    }
+  }
+  return $items;
+}
+
+
+/**
  * handles the text field type
  * @param $node
  * @param $field_name
