Categories
-
Recent Posts
Tags
All around the web.
multimedia
Putting audio on your site seems like it should be easy. It is, once you know what to do.
- Download the audio module from drupal.org. At the moment, if you want to have multiple files in one player you need to get the 5.x-2.x-dev download – http://ftp.drupal.org/files/projects/audio-5.x-2.x-dev.tar.gz. If not, you can get the 5.x release of your choice.
- Unzip the file and copy the new folder to your sites/all/modules folder on your webserver
- Download the getid3 library from sourceforge and put in sites/all/modules/audio/getid3
- Enable the module in your Drupal Admin
- Configure the audio import directory
- Configure the id3 directory
- Upload some properly tagged mp3s to the audio import directory – do a few that have album name in common.
- Import the audio files
- Create a new view with type of audio:xspf and a filter on audio:album if desired. Select the Page or Block and Menu options based on your preference.
- Create a new view with type of full nodes. Select and complete the Page or Block and Menu sections. Filter on an audio related criteria and Sort as you like.
- You will now have two pages: one with a player containing the songs belonging to the album filter you created, and one with a list of single entries with their own players. You could change the latter to only return one node, change the sorting to descending by node:created date and place in a block – then you’d have the most recent audio entry for your site, placed in a block perhaps.

