Otherwise, audio_import can't specify it and audio_playlist can't produce feeds having imported audio files.

This is part of audio_api_insert

  $info = audio_read_id3tags($filepath);
  if ($info) {
    $node->audio_fileinfo = $info['fileinfo'];
    $node->audio_tags = array_merge($info['tags'], $tags);
  }

Comments

drewish’s picture

Status: Active » Closed (won't fix)

there's no need to add a ton of extra parameters. after calling the audio_api_insert() function you can set downloadable=1 and then call node_save(), you can specify taxonomy and permissions the same way. for an example, look at the _station_archive_add_file() function to see how it's done.