===================
Plone4Artists Audio
===================

Plone4Artists Audio is a Zope 3 dependent python framework for dealing
with audio files and their metadata.

CMFDynamicViewFTI
=================

A mechanism used by Plone to make user-configurable views available for
a particular content item.  In the case of p4a audio we use this to
make available various audio container views via an ``IDynamicallyViewable``
adapter.

So then we go ahead and instantiate the adapter.

    >>> from p4a.audio.browser import displays
    >>> views = displays.AudioContainerDynamicViews(None)

Mostly this is just about ensuring the views can be returned properly.

    >>> views.getAvailableViewMethods()
    ['audio-container.html', 'audio-album.html']

    >>> views.getDefaultViewMethod()
    'audio-container.html'

    >>> views.getAvailableLayouts()
    (('audio-container.html', 'Standard audio view'), ('audio-album.html', 'Album view'))
