I'm designing a new website for a youth radio group.
The largest content type on the site is going to be mp3 files. These should somehow have a title, artist name, and description attached to them. Let's call this combined package a "piece."
I then want to be able to select, embed, and play (with SWF Tools) these pieces through CCK on two different kinds of pages: one which lists the pieces aired on a particular date (allowing for the ability to place pieces on more than one show, since they may be re-aired), and another which lists all the pieces created by a particular artist.
The latter I'm guessing would be best achieved through Views and Taxonomy, but I'm not sure how to handle the files themselves and associate the requisite information with them. My first attempt was to create a "piece" node type, upload each file as a separate node, and then somehow embed the node within other nodes – but I haven't found a way to actually execute this last part. Is there a way to do this? Would it be better to try and put this information in ID3 tags with the Audio module and sort it that way? I'm fairly new to Drupal (though I'm writing two websites in it) so I'd appreciate any suggestions you have.
Also, if you have an idea of how to get hundreds of audio files into the system without manually uploading each one, that'd be awesome.
Thanks!
Comments
Audio module and node reference
Out of the box the audio module will give you audio players that can be used right inside a view. Also, as you know it will also deal with ID3 tags etc. This all works out great if you want to use embedded views with audio.
In your case I think what you would want to do is add a node reference field to your audio content type. This node reference would reference the node of your band or artist. I am also assuming that you have an artist type setup... With that node reference you could then use views with its "arguments feature and embed a view on a artist page that would list only songs by that artist using the node reference as the argument.
It would be even easier if you could base the argument in your view on the artist Id3 tag but I am pretty sure this is not possible in the current audio module for drupal 6.
BTW The current audio module will also do bulk importing.
Beyond all that.. there is the station module. http://drupal.org/project/station I am not nearly familiar with it as the audio module but it might do some of what you need if your running a radio show.
Thanks for your help! I'm
Thanks for your help! I'm going to take another look at audio.module and see if I can get it to do what I'm looking for. Do you know if there's a way to make a description or teaser text appear with a node reference?
teaser with node reference
Np! If you are embedding a view from a node reference then you will have complete access in the view to everything that comes from node you are referring to. Usually a body field from a node will also have a teaser available to the view..otherwise you could make your own description field in your content type and go from there.