NAME

Net::TiVo::Show - Class that wraps the XML interface that defines a TiVo show.

SYNOPSIS

  use Net::TiVo;
	
  my $tivo = Net::TiVo->new(host => '192.168.1.25', mac => 'MEDIA_ACCESS_KEY');

  for ($tivo->folders()->shows()) {
      print $_->episode(), "\n";
      print $_->episode_num(), "\n";
  }

DESCRPTION

Net::TiVo::Show provides an object-oriented interface to an XML description of a TiVo show. It provides the necessary accessors to read the XML data.

METHODS

station_name()

Returns TiVo's name for this station, i.e. FoodTV is FOOD.

name()

Returns the name of this show.

episode()

Returns the title of this show.

episode_num()

Returns the episode number of the show.

content_type()

Returns the content type of this show in MIME format.

capture_date()

Returns the date this show was recorded in seconds since the epoch.

format()

Returns the source format of this show.

size()

Returns the size of this show in bytes.

channel()

Returns the channel this show was recorded on.

tuner()

Returns the number of tuner used to record the show.

duration()

Returns the duration of this show in milliseconds.

description()

Returns the description of this particular show.

program_id()

Returns a hexadecimal string containing the program id.

series_id()

Returns a hexadecimal string containing the series id.

url()

Returns the url of this show. This information can be used to download the episode from TiVo to machine.

as_string()

Returns a pretty print of the this show's information, including title, episode title, description, duration in minutes, and url.

SEE ALSO

Net::TiVo, Net::TiVo::Folder

AUTHOR

Christopher Boumenot, <boumenot@gmail.com>