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
Comment #1
nedjoChanges applied to HEAD and to the DRUPAL-5 branch.
Leaving this active as further testing and followup will be needed.
Comment #2
arthurf commentedWoot! very excited to see this happen
Comment #3
nedjoBesides 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.
Comment #4
nedjoNeeded updates are complete and a new stable release posted. Please open new issues for bugs arising from this refactoring.
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.