Download & Extend

Node Reference formatter for displaying a XSPF player

Project:Audio
Version:6.x-1.x-dev
Component:audio_feeds
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs work

Issue Summary

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. :-)

AttachmentSize
audio_feeds_xspf_player.info.txt179 bytes
audio_feeds_xspf_player.module.txt1.64 KB

Comments

#1

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

#2

i'll give this a look later.

#3

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

AttachmentSize
audio-feeds-player-482366.patch 3.9 KB

#4

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

#5

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.

#6

subscribing

#7

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$