Index: xspf_playlist.module
===================================================================
RCS file: /cvs/drupal/contributions/modules/xspf_playlist/xspf_playlist.module,v
retrieving revision 1.26.2.23
diff -c -r1.26.2.23 xspf_playlist.module
*** xspf_playlist.module        5 Mar 2008 18:27:50 -0000       1.26.2.23
--- xspf_playlist.module        30 Apr 2008 12:00:11 -0000
***************
*** 547,553 ****
        if (count($fields)) {
            foreach ($fields as $fieldname) {
          // check file fields and then normal fields
!             $field = $node->{$fieldname}[0]['filepath'] ? url($node->{$fieldname}[0]['filepath'], NULL, NULL, TRUE) : $node->{$fieldname}[0]['value'];
              if ($field) {
                      // build an xspf item
                      if ($item =  xspf_playlist_build_file_item($node, $field) ) {
--- 547,553 ----
        if (count($fields)) {
            foreach ($fields as $fieldname) {
          // check file fields and then normal fields
!             $field = $node->{$fieldname}[0]['filepath'] ? xspf_playlist_url($node->{$fieldname}[0]['filepath'], NULL, NULL, TRUE) : $node->{$fieldname}[0]['value'];
              if ($field) {
                      // build an xspf item
                      if ($item =  xspf_playlist_build_file_item($node, $field) ) {
