Hello!

I'm using the audio module on my website but when i have try to use it, i wanted to upload albums for one node, and not one node for each song of the album. So i have worked on it. The code is not very nice but it work for me, i need to clean it and improve it. I'm pretty sure that there is some issues but i'm still cleaning it.
I have seen that we can only upload one file when creating audio content so the multiupload is impossible, so i have used the file attachments for the other songs of the album. I'm loading the first song in the audio field and the rest in the file attachments.
The second problem was to create an .xspf file in XML from the files uploaded. I'm creating this file in drupal dir because it was easy for me and also because i didnt had the permissions to write in audio module dir. Anyway, it's easy to change.
After i have modified the theme for the extented player because it's the best i think for the playlist...
I'm uploading what i have done...
Feel free to work on it.

CommentFileSizeAuthor
#1 audio.tar_.gz490.8 KBjulien
audio.tar_.gz490.87 KBjulien
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

julien’s picture

Status: Active » Needs work
FileSize
490.8 KB

Modifications to make unique playlist for each node. For the moment the playlist is not deleted when the node is deleted. //TODO

zirafa’s picture

Hi, please submit a proper .patch file for review instead of a tarball.

Have you tried the existing playlist contrib module for audio.module? Why reinvent the wheel when you can improve something that probably does something close to what you want?

z