GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Net::TiVo::Folder(3) User Contributed Perl Documentation Net::TiVo::Folder(3)

Net::TiVo::Folder - Class that wraps the XML description that defines a TiVo folder.

    use Net::TiVo;
        
    my $tivo = Net::TiVo->new(
        host => '192.168.1.25', 
        mac  => 'MEDIA_ACCESS_KEY'
    );
        
    for my $folder ($tivo->folders()) {
        print $folder->as_string(), "\n";
    }

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

content_type()
Returns TiVo's mime type for a folder (x-tivo-container/tivo-videos).
format()
Returns TiVo's mime type for the format of the folder (x-tivo-container/tivo-dvr).
change_date()
Returns the last time the folder was changed. The value is in seconds since the epoch.
name()
Returns the name of the folder.
total_items()
Returns the number of shows contained in this folder.
global_sort()
Returns a boolean (Yes or No) indicating if the folder is globally sorted.
sort_order()
Returns the sort order of the folder.
size()
Returns the size in bytes of this folder. This value is calculated by summing the individual shows contained in this folder.
shows()
Returns an array of the shows contained in this folder.
as_string()
Returns a pretty print of this folder's information, including name, number of show, size, and a list of shows contained in the folder.

Net::TiVo, Net::TiVo::Show

Christopher Boumenot, <boumenot@gmail.com>
2007-10-26 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.