Closed (won't fix)
Project:
Audio
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
3 Jul 2006 at 05:43 UTC
Updated:
3 Jul 2006 at 19:27 UTC
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
Comment #1
drewish commentedthere'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.