Question about hook_xspf_playlist_use and views

reubidium - February 3, 2009 - 18:10
Project:XSPF Playlist
Version:5.x-1.20-beta1
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:patch (to be ported)
Description

Hello,
I am unclear on how the $config parameter value is set for hook_xspf_playlist_use.

I have a node type, Film, which each have three associated FLV url's: trailer, full standard version, and full HD version. Accordingly, I want to have three different playlist views (created programatically with views_create_view).

I guess the question is, in my view how do I tell xspf_playlist which $config to use in hook_xspf_playlist_use?

Thanks for assistance!
reuben

#1

arthurf - February 5, 2009 - 18:14
Status:active» patch (to be ported)

While there are ways that you could do this by code, the version that you're using doesn't support this. However, it is obviously needed functionality, so I wrote it. There is a new module called xspf_playlist_views which contains this filter, along with some updates to the existing filters. Should give you what you need.

This still needs porting to D6.

 
 

Drupal is a registered trademark of Dries Buytaert.