I've installed:
XSPF Playlist
&
XSPF Playlist CCK

I'm now trying to create a playlist feed in views, but I am not given any XSPF options, anywhere!

Am I missing something?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

arthurf’s picture

Title: No options in Views » Update XSPF Views to Views 2
Component: User interface » Code
Category: support » feature

The views module needs to be updated to Views 2 which has not happened yet. I will try to address this some time soon.

davexd’s picture

@arthuf, thanks for the update. I certainly don't mean to pressure you, but I have a site to go live in about 3 weeks. I'll look for another solution unless you let me know otherwise. Thanks for your contribution :)

krisrobinson’s picture

So this module doesn't work with 6.9 + Views 2?

massimo.ferracini’s picture

I'm also interested in using this module with 6.10 with views 2...
when will it be updated??

Firetracker’s picture

bump!

Any news on this module getting a full D6 release?

Cheers
Zap

mrfelton’s picture

subs

ridolfidesigns’s picture

I would be interested in this as well.

mrfelton’s picture

Status: Active » Needs review
FileSize
19.71 KB

I have developed some rudimentary, untested views support. Patch attached. To use it, add a 'Feed' display to your view, and set the display style to 'XSPF Playlist'. You also need to set the row style to 'Node XSPF'. I took a lot of the code from the core Node RSS views support and striped out the stuff we don't need. Please give it a test drive.

I must point out that it's had very little testing, and has not been used outside of the way I'm doing things, so don't be surprised if it doesn't do what you expect! (I'm using upload.module to attach media to nodes, media_mover to transcode them and generate thumbnails, and xspf_playlist_node to build playlists from nodes (this views support depends on xspf_playlist_node to get playlist data out of the nodes).

There is no XSPF views filter yet... If xspf_playlist_node_items() is unable to make a playlist from a node, nothing is returned from that node in the feed.

mrfelton’s picture

FileSize
20.01 KB

Bad patch... try with this one. I think you'll need to cd into the module directory and use patch -p1 < /path/to/patch.patch. (-p1 not the usual -p0)

arthurf’s picture

Thanks very much for the patch! It's great to have people help out.

I'm of course in the midst of a pretty serious refactor of this module so it is a bit of a moving target. So, I've taken your module and will commit it to CVS today- I'm making a few changes here and there (adding tracks to the XML out for example) and introduced lots of cleanup in the node and thumbnail modules. Check out the dev version and let me know how things are going.

mrfelton’s picture

FileSize
19.94 KB

updated patch - the last one output a slightly broken xml...

I now have this xml playlist working and fed to a player :)
http://crescentmedia.kirkdesigns.co.uk/channels/1

I have created a couple of other patches in the last couple of days... I expect your refactoring will render them obsolete, but if not, I'd be great to see them commited too ;)

riyana56’s picture

I do not have shell access, and I tried to manually install this patch but could not figure it out. Could you possibly provide a direct link to each file that was updated?

Thanks

jsulmar’s picture

I see that xspf_playlist-views.patch seems to be included in XSPF Playlist 6.x-1.0-alpha2. With alpha2 I'm trying to create a view following instructions in comment #8. When I try to add a feed display, I can set style=XSPF Playlist, however the Row style indicates "Missing style plugin". How can I enable the Node XSPF row style?
Thanks for any advice you can provide.

Anonymous’s picture

Same things like #13...

Anonymous’s picture

All works fine!
http://drupal.org/node/314097 - click Options, clik Update and warning disappeared. It works for me.

aaron’s picture

Status: Needs review » Fixed

marking this as fixed since it's been committed. new work looks like it's at #465922: Better Views support in xspf_playlist_views (omit playlist item attributes from the playlist).

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

cparrish817’s picture

sub

aaron’s picture

Version: 6.x-1.0-alpha1 » 6.x-1.x-dev
Status: Closed (fixed) » Needs work

uggh. just realized it's not been committed. doesn't apply either to 6.x-1.x-dev.

ñull’s picture

Some playlist functionality is visible, thumbnails are shown but:

  • my JW player 5.1 complains: Loaded file is not a valid media provider
  • the title is the File Description not the node title (my preference with one video per node)
  • the discription is missing (my preference is the node body or at least teaser).

Would therefore be nice to have some options:

  • choice to deactivate thumnail
  • choice what will be the title (node title or file description)
  • choice what will be the description (node body or teaser or off)

Is continued here #465922: Better Views support in xspf_playlist_views (omit playlist item attributes from the playlist)

cparrish817’s picture

I really need to grab the title from the node title *not* the file descriptor.

aaron’s picture

Status: Needs work » Fixed

this should be taken care of in the 6.x-2.x-dev branch actually, which i just released.

aaron’s picture

Version: 6.x-1.x-dev » 6.x-2.x-dev

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.