NAME
XML::ASX::Entry - Describe a media source
SYNOPSIS
use XML::ASX::Entry;
$entry = XML::ASX::Entry->new;
$entry->banner('http://some/bmp');
$entry->ref('http://source/1.asf');
$entry->ref('http://mirror/1.asf');
$entry->ref('mms://mirror2/1.asf');
DESCRIPTION
XML::ASX::Entry represents a playlist entry in an ASX XML document.
METHODS
CONSTRUCTOR
ACCESSORS
The following are readable by calling without argument, and settable by calling with argument.
Method Default Value Purpose
---------------------------------------------------------------------
abstract none one line summary of file content
author none who made the file
banner none URL to 82x30 image to be displayed
during play, just below the media
base none just like HTML
clientskip YES is the client allowed to skip the entry?
may be 'YES' or 'NO'.
copyright none who holds rights to the file
duration 00:00:00.00 how long should we play the stream?
previewduration none and for how long in preview mode?
logo_icon none URL to 16x16 image to be displayed in
WMP control bar
logo_mark none URL to 82x30 image displayed before and
after queue is played
moreinfo none text to display when mouse hovers over
logo or banner
target none url to open in web browser when banner
is clicked
title none title of the file for WMP to display
MORE ACCESSORS
sub add_ref() - add a network-addressable path to a media source. multiple calls may be made to add_ref() for rollover/redundancy.
sub each_ref() - returns a list of items added by add_ref().
sub xml() - returns XML from <ENTRY> to </ENTRY>
AUTHOR
Allen Day, <allenday@ucla.edu>
SEE ALSO
XML::ASX