XSPF Player and popup player do not work

rareexample - September 21, 2006 - 01:17
Project:Playlist (toolkit, modules)
Version:4.7.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

My XSPF gives an "undefined" error
and the popup player does not open the player.

When viewing the source, I noticed URLs where pointing to dirty URLs(?q=node/197/)

It may also be a problem with the localisation module.

#1

leafish_paul - September 27, 2006 - 13:43
Title:XSPF Player and popup player do not work. Possibly due to Clean URL's or Localisation module» XSPF Player and popup player do not work

Getting the same here, without any localisation going on, and with clean URLs disabled.

When looking at the actual xspf file, I see:

<playlist version="1">
<title>Hospital Broadcasts</title>
<annotation>leafish_paul</annotation>
<creator>leafish_paul</creator>

<info>
http://mydomain.com/html?q=node/400
</info>

<location>
http://mydomain.com/html?q=node/400/xspf
</location>
<license>(c) 2006 mydomain.com</license>
<trackList>  </trackList>
</playlist>

ie nothing in the trackList, even though there should be two mp3s added. Also note that this site is on our dev server in a sub directory - the paths that are present in the above snippet are missing a trailing '/', ie they should be http://mydomain.com/html/?q=node/400 and http://mydomain.com/html/?q=node/400/xspf respectively.

#2

leafish_paul - September 27, 2006 - 13:54

Not sure if this will solve rareexample's original post, but I've just re-edited each of the audio nodes in the playlist, and the getid3 fields were filled (they weren't on original upload, for some reason). The 'click to play' link on each has changed to the tiny player icon, and the players (both inline and pop-up) now work as expected.

So, in short: ensure the audio_getid3 module is enabled, and make sure audio nodes have the relevant getid3 fields populated (by editing and re-submitting em).

However, the info and location tags for the playlist (not for the individual tracks now populating the trackList tag) are still incorrect - missing the trailing slash.

 
 

Drupal is a registered trademark of Dries Buytaert.