Hello

I've installed the latest stable audio module in drupal 5.6
I imported all of my audio files correctly tagged with id3 and audio/by/albuns was correctly created .
Each of this albuns contain several mp3.
How can I generate a XSPF playlist so i can use the XSPF extended playlist player showing all of those mp3 in a page inside drupal?

I searched for info about this but all i could find was info about audio_playlist.module that i dont have...

Thanks,

Seabra

CommentFileSizeAuthor
#8 playlists.zip3.32 KBhendryman

Comments

hendryman’s picture

i subscribe to this thread - didn't manage to get this going either...

zirafa’s picture

Status: Active » Fixed

Try downloading the 5.x-2.x-dev version, it has audio_playlist and other stuff included.

You can find the releases here:
http://drupal.org/node/28715/release

hendryman’s picture

thank you very much! are there any step-by-step instructions on how to make a playlist that you could point us to?

seabraruc’s picture

Call to undefined function: token_replace() modules/audio/audio_theme.inc

Sugestions?

*EDIT
Nevermind i forgot to install token module...

seabraruc’s picture

Hendryman

just configure which node types can generate feeds. (admin/content/types) and then access the xspf xml by adding xspf after the node number (example: www.yoursite/node/32/xspf).

seabraruc’s picture

Zirafa:

The XSPF XML generation works great to all files attached to a node.
It happens that I used audio import which generates a node for each file it imports.Therefore I cant generate a XPSF XML file for all nodes (files) that are acessible trough audio/by/album/
This means that all users that used the import audio cant generate a feed for an album with for example audio/by/album/myownalbum/xpsf
Is there a dirty solution for this?

Thanks for your work,
Seabra

seabraruc’s picture

Version: 5.x-1.3 » 5.x-2.x-dev
Component: Code » audio_feeds
Status: Fixed » Active
hendryman’s picture

StatusFileSize
new3.32 KB

seabraruc: thanx very much, now i get it!
however, still... what happens is this:
- www.mysite.com/myplaylist/m3u generates playlist with valid links but not playable in itunes (probably just an itunes problem)
- www.mysite.com/myplaylist/pls creates an almost empty playlist without links
- www.mysite.com/myplaylist/xspf (when "downloaded as file") generates a playlist with valid links
- www.mysite.com/myplaylist/xspf (when surfed to in browser) creates an error

playlist files and error messages attached to this post... begging for help, it drives me crazy :-)

zirafa’s picture

Status: Active » Fixed

Seabra:

This means that all users that used the import audio cant generate a feed for an album with for example audio/by/album/myownalbum/xpsf
Is there a dirty solution for this?

Seabra,

Yes, it is possible to create a playlist by using views. You create a views that loads up all the audio nodes you want, and by turning on the audio_feeds.module you will get the option to choose an Audio:XSPF/M3U/PLS type of view. This will take all those audio nodes generated by the view and load it into a flash player.

Hendryman, please see #210772. Marking this as resolved, if the views xspf isn't working, continue the conversation in the other thread.

susata’s picture

zirafa, is this release (5.x-2.x-dev) no longer available to the general Drupal community? I'm not seeing it at http://drupal.org/node/28715/release

Thanks.

susata’s picture

Found it. Was assuming it would be higher on the page than lower number versions, but it's further down the page.

Apologies for blindness!

zirafa’s picture

I see it there, it's the fourth one down on that page.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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