mp3 and audio fields for CCK
Guys !
I recently relized that CCK module is even more important than the Drupal kernel :) I was using flexinode in all my other solutions and would like to migrate to CCK. Unfortunatly, I can't do it untill CCK has mp3 field like it was in Flexinode 4.6
I noticed that field_mp3.inc was excluded from Flexinode 4.7 but I took it and redeveloped for 4.7 ( I'll share it with Flexinode authors later after some testing).
I'm now thinking about having such field for CCK ... as well as audio field (which is not so important right now).
I downloaded audio.module and was slightly disappointed because of the following:
1. Album, Style tags should be implemented using taxonomy free tagging but not audio native tags.
2. 'audio' node type isn't extensible (because it was not developed on a CCK/Flexinode basis).
3. audio_attach.module and audio_images.module are superfluous if you are using CCK/Flexinode with image and audio fields.
audio.module has several greate things one of which is audio embedded player.
Here is the question: is anybody working on something like audio field for CCK ? If not, I propose to start a thread to collaboratively discuss it, so I'll develop it in the nearest future.
Thanks.

I could be wrong
But I believe the great benefit of audio.module is that it integrates very nicely with the Get ID3 library. Something CCK and flexinode can't do.
Sam Tresler
http://www.treslerdesigns.com
field_mp3.inc for Flexinode
field_mp3.inc for Flexinode 4.6 also uses GetID3 library and analyzes mp3 file to find out mp3 header info.
Of course, my implementation of field_mp3.inc for Flexinode 4.7 also uses GetID3.
And of course this wonderfull library should be used in future CCK mp3 field ...
----------------
Regards,
Dmitry Kresin, ARDAS group (www.ardas.dp.ua)
I did say...
That I could be wrong. LOL. Good luck.
Sam Tresler
http://www.treslerdesigns.com
yes!
Hi Duke,
No talent to share (can send chocolate), but a big thumbs up for this project! Would be very desirable in my installs, since I'm equally stuck with 4.6 + Flexi vis-a-vis mp3 files & would like to be running 4.7 + CCK.
Nice, that I'm not the one
Nice, that I'm not the one who need it :)
I read other audio filed+CCK threads and after I looked into CCK development plan I realized that noone is working on such field now.
Since, I don't like audio module, I have redeveloped field_mp3.inc for Drupal 4.7 and improved it a little. I'm using it now and can say that it is much more convinient that trying to customize a huge audio.module. I have a node type 'song' with lots of my own specific fields, mp3 field to represent the song itself, image field to represent the song image, its specific template, genre&styles free tags are implemented using native taxonomy and the only thing I'm dreaming is to have the same abilities for CCK :) And the only thing left is audio field itself (looks like image field becomes quite good but I didn't study it in details yet).
Looks like nobody is interested in field_mp3.inc 4.7 because of CCK. So, I'll be glad to make audio field for CCK (may be in a month when I start the project where I'll need it) if noone will do it before :)
----------------
Regards,
Dmitry Kresin, ARDAS group (www.ardas.dp.ua)
Audio+Video fields for CCK
Hello,
They are release for Drupal 4.7 and almost finished for 5.0
www.drupal.org/project/mediafield
----------------
Regards,
Dmitry Kresin, ARDAS group (www.ardas.dp.ua)
How to attach audio to cck
This was not immediately obvious to me:
* install cck
* create the content type you require
* install audio.module
* go to admin/settings/content-types and edit the cck type you just created. Enable the option at the bottom of the page - 'attach audio files'
www.johnstonwebsolutions.com/we_install_modify_and_maintain_drupal_web_s...
Great tip!
It's true, its really easy to add audio to a CCK type, but I seem to be making some error in my node-content.tpl.php files because no matter what I have done so far I cannot seem to get the audio information to print on the screen once I have installed my tpl.php file.
Can anyone tell me what I am missing? I posted a new forum topic on this here: http://drupal.org/node/103217
I have tried a number of things. What variable shoudl I be 'printing'?
Was this for 4.7? On 5 I've
Was this for 4.7?
On 5 I've got CCK, audio module, and a custom content type, and I don't see that option to attach audio files.
me too
i dont see that option either - i'm on v5
mediafield module has been
mediafield module has been released for CCK.
Please try it.
----------------
Regards,
Dmitry Kresin, ARDAS group - Drupal web sites development, IT outsourcing
You need to go to your
@ joachim/mrtunes
You need to go to your settings for content types and enable attachment of audio files for the types of nodes you want audio fields on.
The mediafield module is nice, but doesn't have a built-in player like audio.module, correct?
Exactly! We are now
Exactly! We are now discussing video architecture and came to a decision that playing media should be implemented in a separate module, try coolfilter.module for instance.
----------------
Regards,
Dmitry Kresin, ARDAS group (ARDAS group)
yes those built in players
yes those built in players are nice.
any way to implement them with CCK?
also is it possible for it to have an import setting instead of having to upload every video?
As I know there already must
As I know there already must be some kind of video aggregator or import which creates video nodes or something like that.
----------------
Regards,
Dmitry Kresin, ARDAS group (ARDAS group)
Can't attach to CCK content types
In Drupal 5.2, there does not exist any option in /admin/content/types/my-content-type to attach audio files. I've looked all over and checked my permissions. Am I missing something? Do I need some extra module on top of just audio.module? I don't need the ID3 stuff so that's disabled, and I've got 5.x-1.2 of the audio module.
It seems like other folks have been getting this options somehow, and I'd really like to use it.
Any help would be appreciated. Thanks!
If you are using audio CCK
If you are using audio CCK field module there should be a TAB 'Add new field' or something like that.... It is used to add any field to content type. If you use audio module audio files will be added on the node edit form.
----------------
Regards,
Dmitry Kresin, ARDAS group - Web site development, Drupal services, Software development, IT outsourcing.
Looked at code
I just looked the the audio.module code. All of the hook_nodeapi() code is wrapped in:
if ($node->type == 'audio') { }So there's definitely no way audio.module will work with other CCK content types. Looks like I'll be using your Media Field module. Thanks!
I've never worked much with
I've never worked much with audio and video modules but I heard that video module allows attach video files to other node types. I wonder, whether audio module can't do it???
----------------
Regards,
Dmitry Kresin, ARDAS group - Web site development, Drupal services, Software development, IT outsourcing.
Did you try to use
Did you try to use audio_attach.module which must be packaged together with audio.module?
----------------
Regards,
Dmitry Kresin, ARDAS group - Web site development, Drupal services, Software development, IT outsourcing.
Dev version
It appears as though CCK stuff for audio.module is only available with the dev version.
In any event, I'm really happy using Media Field with Mediafield Display to play the files.