This is similar to what Audio Attach (for D6) does, but instead of formatting individual audio references each with their own player, this module provides a CCK formatter that feeds a single player with a playlist generated by Audio Feeds (requires this patch).

This looks a bit strange as the formatter is not actually using the field values. It is Audio Feeds that is using those field values instead.

I'm not sure how this module fits in the grand schemes some might be working on, but some people might find this useful. :-)

Comments

David Lesieur’s picture

For this formatter to work, the patch in #606902: Register XSPF player theme functions is also required. Sorry for the omission.

drewish’s picture

i'll give this a look later.

David Lesieur’s picture

StatusFileSize
new3.9 KB

Here's a better one. Not sure about the module's name though.

AthenaAdam’s picture

Hello, I tried to implement the suggestions/patches/modules of Mr David Lesieur but finally got confused because of so many patches and modules. Can you please tell which patch and which module are working now. As I see now you have created two separate modules: audio-feeds-player (provided in patches) and audio-feeds-xspf-player (provided as text files). Please make it clear so that we could use it. Thanks

David Lesieur’s picture

You may ignore the initial patch.
If you use the latest dev version of the module, you may also ignore comment #1.

The patch posted in #3 is the right one to use. It includes a new module, audio_feeds_player.

izmeez’s picture

subscribing

j0nathan’s picture

Status: Needs review » Needs work

Hi,
The patch in #3 gives me a failed with the version 1.0-unstable6 and the dev one.

sites/all/modules/contrib/audio$ patch < audio-feeds-player-482366_1.patch 
patching file audio-feeds-player.tpl.php
patching file audio_feeds.info
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file audio_feeds.info.rej
patching file audio_feeds_player.info
patching file audio_feeds_player.module
sites/all/modules/contrib/audio$ cat audio_feeds.info.rej
--- audio_feeds.info    14 Sep 2009 04:40:57 -0000      1.5
+++ audio_feeds.info    28 Oct 2009 00:16:25 -0000
@@ -1,6 +1,6 @@
 ; $Id: audio_feeds.info,v 1.5 2009/09/14 04:40:57 drewish Exp $
 name = Audio Feeds
-description = Provide XSPF, M3U, and PLS feeds for attached audio nodes.
+description = Provide XSPF, M3U, and PLS feeds for audio nodes referenced by Node Reference fields.
 package = "Audio"
 core = 6.x
 dependencies[] = audio
sites/all/modules/contrib/audio$
mvc’s picture

Status: Needs work » Needs review
StatusFileSize
new3.68 KB
new3.67 KB

the file in #3 above is a -p0 style patch. here are -p1 style patches for use with drush make. these apply cleanly against 6.x-1.0-unstable6 and 6.x-1.0-dev.