TiVo::HME::Resource 1.3
Sponsored Links
TiVo::HME::Resource 1.3 Ranking & Summary
File size:
0.060 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
1073
Date added:
2006-11-17
Publisher:
Mark Ethan Trostler
TiVo::HME::Resource 1.3 description
TiVo::HME::Resource is a Perl encapsulation of a TiVo HME resource.
SYNOPSIS
use TiVo::HME::Application;
@ISA = qw(TiVo::HME::Applicaton);
# create a buncha resources
# Color
# r,g,b,alpha = 0 ... 255
my $color = $T_RESOURCE->color($red, $green, $blue, $alpha);
# Font
my $font = $T_RESOURCE->font([ system | default ], $point_size, STYLE);
# point size is a float
# STYLE is one of:
# $T_CONST->FONT_PLAIN
# $T_CONST->FONT_BOLD
# $T_CONST->FONT_ITALIC
# $T_CONST->FONT_BOLDITALIC
# True Type Font (you need a file containing it)
my $ttf = $T_RESOURCE->ttf_file($ttf_file_name);
# Text
my $text = $T_RESOURCE->text($font, $color, $string);
# $font (TTF or Font) & $color are created as above
# $string is yer string
# Image (jpeg, mpeg, or png)
my $image = $T_RESOURCE->image_file($path_to_image_file);
# Sound
my $sound = $T_RESOURCE->sound_file($path_to_sound_file);
# Stream
my $sound = $T_RESOURCE->stream($url, $content_type, $play);
# $url points to stream resouce
# $content_type is a hint to TiVo so it knows what the stream is
# $play, 1 = play, 0 = pause
# Animation
my $anim = $T_RESOURCE->animation($duration, $ease);
# $duration is in miliseconds
# $ease = -1. <= $ease <= 1. 0 = linear
# Set active
$resource->set_active ( [ 0 | 1 ] );
# Set position
$resource->position($pos);
# $pos = milliseconds into resource
# Set speed
$resource->set_speed( 0 .. 1.);
# 0 = paused
# 1 = play at normal speed
# Make key event
my $event = $T_RESOURCE->make_key_event(1, $action, $code, $rawcode);
# just put the 1 there for now...
# $action can be anything BUT you can use:
# $T_CONST->KEY_PRESS
# $T_CONST->KEY_REPEAT
# $T_CONST->KEY_RELEASE
# $code - see all the key codes defined in TiVo::HME::CONST
# $rawcode can be anything
# Send key event
$T_RESOURCE->set_event(1, $animation, $event);
# just put the 1 there for now...
# $animation is an (optional) animation resource (0 to ignore)
# $event is from make_key_event
# Close
$resource->close;
# Remove resource from TiVo
$resource->remove;
my $image = $T_RESOURCE->image_file(tivo.jpg);
You create & manipulate resources - eventually assigning them to Views to be displayed/played by your TiVo.
SYNOPSIS
use TiVo::HME::Application;
@ISA = qw(TiVo::HME::Applicaton);
# create a buncha resources
# Color
# r,g,b,alpha = 0 ... 255
my $color = $T_RESOURCE->color($red, $green, $blue, $alpha);
# Font
my $font = $T_RESOURCE->font([ system | default ], $point_size, STYLE);
# point size is a float
# STYLE is one of:
# $T_CONST->FONT_PLAIN
# $T_CONST->FONT_BOLD
# $T_CONST->FONT_ITALIC
# $T_CONST->FONT_BOLDITALIC
# True Type Font (you need a file containing it)
my $ttf = $T_RESOURCE->ttf_file($ttf_file_name);
# Text
my $text = $T_RESOURCE->text($font, $color, $string);
# $font (TTF or Font) & $color are created as above
# $string is yer string
# Image (jpeg, mpeg, or png)
my $image = $T_RESOURCE->image_file($path_to_image_file);
# Sound
my $sound = $T_RESOURCE->sound_file($path_to_sound_file);
# Stream
my $sound = $T_RESOURCE->stream($url, $content_type, $play);
# $url points to stream resouce
# $content_type is a hint to TiVo so it knows what the stream is
# $play, 1 = play, 0 = pause
# Animation
my $anim = $T_RESOURCE->animation($duration, $ease);
# $duration is in miliseconds
# $ease = -1. <= $ease <= 1. 0 = linear
# Set active
$resource->set_active ( [ 0 | 1 ] );
# Set position
$resource->position($pos);
# $pos = milliseconds into resource
# Set speed
$resource->set_speed( 0 .. 1.);
# 0 = paused
# 1 = play at normal speed
# Make key event
my $event = $T_RESOURCE->make_key_event(1, $action, $code, $rawcode);
# just put the 1 there for now...
# $action can be anything BUT you can use:
# $T_CONST->KEY_PRESS
# $T_CONST->KEY_REPEAT
# $T_CONST->KEY_RELEASE
# $code - see all the key codes defined in TiVo::HME::CONST
# $rawcode can be anything
# Send key event
$T_RESOURCE->set_event(1, $animation, $event);
# just put the 1 there for now...
# $animation is an (optional) animation resource (0 to ignore)
# $event is from make_key_event
# Close
$resource->close;
# Remove resource from TiVo
$resource->remove;
my $image = $T_RESOURCE->image_file(tivo.jpg);
You create & manipulate resources - eventually assigning them to Views to be displayed/played by your TiVo.
TiVo::HME::Resource 1.3 Screenshot
TiVo::HME::Resource 1.3 Keywords
TiVo
HME
RESOURCE
CONST
Resource 1.3
TiVo HME
t
font
key
event
file
1
TiVo::HME::Resource
TiVoHMEResource
TiVo::HME::Resource 1.3
Libraries
Bookmark TiVo::HME::Resource 1.3
TiVo::HME::Resource 1.3 Copyright
WareSeeker periodically updates pricing and software information of TiVo::HME::Resource 1.3 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of TiVo::HME::Resource 1.3 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
resource description framework
event viewer
constantine maroulis
human resources
current events
eventvibe
resources on call
event horizon
constitution
resources global professionals
file extension pdf
fontana unified school district
event coordinator
resources hewitt home depot
yeng constantino
natural resources
wsop 2009 main event
directv tivo
Related Software
TiVo::HME is a startup server for pure Perl implementation of TiVos HME protocol. Free Download
Resources is a Perl module to handle application defaults in Perl. Free Download
C++ ResourcePool is a library which can be used to pool resources of every kind. Free Download
Resource::Loader is a Perl module to load different resources depending. Free Download
TiVo::HME::Application is a Perl implementation of TiVos HME protocol. Free Download
Resource Registries is a product for Plone used for linked style sheet files and javascripts. Free Download
TN3270 Resource Gateway is a TCP/IP TN3270 gateway. Free Download
TiVo::Calypso is a Perl interface to the TiVo Calypso protocol. Free Download
Latest Software
Popular Software
Favourite Software