xspf_playlist currently combines three main pieces:

* An API for producing playlists in the XSPF format.

* Functionality for generating playlist items based on a node.

* Functionality for associating thumbnail images with playlist items.

To ease further development and particularly support for other ways of generating playlists, the module should be refactored into these distinct parts.

Comments

nedjo’s picture

Changes applied to HEAD and to the DRUPAL-5 branch.

Leaving this active as further testing and followup will be needed.

arthurf’s picture

Woot! very excited to see this happen

nedjo’s picture

Besides refactoring and accompanying new methods, the main API change introduced is that playlist items and playlists can be altered via drupal_alter style functions. The old hook_xspf_playlist() has been deprecated. Some existing implementations will need to be updated. Work is underway to update the hook implementations in Media Mover and FLV Media Player.

Until those updates are complete, the 5.x dev and HEAD versions should not be used on sites with either Media Mover or FLV Media Player installed.

nedjo’s picture

Status: Active » Fixed

Needed updates are complete and a new stable release posted. Please open new issues for bugs arising from this refactoring.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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