Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.164.854 Times

TiVo::HME::Resource 1.3

  Date Added: February 19, 2010  |  Visits: 779

TiVo::HME::Resource

Report Broken Link
Printer Friendly Version


Product Homepage
Download (96 downloads)



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..

Requirements: No special requirements
Platforms: Linux
Keyword: Const Event File Font Hme Key Libraries Programming Tivo Tivo Hme Tivohmeresource
Users rating: 0/10

License: Freeware Size: 61.44 KB
USER REVIEWS
More Reviews or Write Review


TIVO::HME::RESOURCE RELATED
Libraries  -  File::Tabular 0.70
File::Tabular can search and edit flat tabular files. SYNOPSIS use File::Tabular; my $f = new File::Tabular($filename); my $row = $f->fetchrow; print $row->{field1}, $row->{field2}; $row = $f->fetchrow(where => someWord); $row =...
16.38 KB  
Libraries  -  Games::OpenGL::Font::2D 0.07
Games::OpenGL::Font::2D module can load/render 2D colored bitmap fonts via OpenGL. SYNOPSIS use Games::OpenGL::Font::2D; my $font = Games::OpenGL::Font::2D->new( file => font.bmp ); use SDL::App::FPS; my $app = SDL::App::FPS->new( ......
22.53 KB  
Libraries  -  File::Data 1.12
File::Data is a Perl module as a interface to file data. Wraps all the accessing of a file into a convenient set of calls for reading and writing data, including a simple regex interface. Note that the file needs to exist prior to using this...
13.31 KB  
Libraries  -  File::Slurp 9999.12
File::Slurp is a Perl module for efficient reading/writing of complete files. SYNOPSIS use File::Slurp; my $text = read_file( filename ) ; my @lines = read_file( filename ) ; write_file( filename, @lines ) ; use File::Slurp qw( slurp )...
26.62 KB  
Libraries  -  File::PathList 0.02
File::PathList is a Perl module that can find a file within a set of paths (like @INC or Java classpaths). SYNOPSIS # Create a basic pathset my $inc = File::PathList->new( @INC ); # Again, but with more explicit params my $inc2 =...
26.62 KB  
Libraries  -  File::Remove 0.34
File::Remove is a Perl module to remove files and directories. SYNOPSIS use File::Remove qw(remove); # removes (without recursion) several files remove qw( *.c *.pl ); # removes (with recursion) several directories remove 1, qw(...
14.34 KB  
Libraries  -  File::Searcher 0.91
File::Searcher is a searches for files and performs search/replacements on matching files. SYNOPSIS use File::Searcher; my $search = File::Searcher->new(*.cgi); $search->add_expression(name=>street, search=>1234 Easy St., replace=>456 Hard...
9.22 KB  
Libraries  -  File::DirCompare 0.3
File::DirCompare is a Perl module to compare two directories using callbacks. SYNOPSIS use File::DirCompare; # Simple diff -r --brief replacement use File::Basename; File::DirCompare->compare($dir1, $dir2, sub { my ($a, $b) = @_; if (!...
8.19 KB  
Libraries  -  File::Sync 0.09
File::Sync is a Perl access to fsync() and sync() function calls. SYNOPSIS use File::Sync qw(fsync sync); fsync(*FILEHANDLE) or die "fsync: $!"; sync(); use File::Sync qw(fsync); use IO::File; $fh = IO::File->new("> /tmp/foo") or die...
4.1 KB  
Libraries  -  File::pushd 0.99
File::pushd is a Perl module to change directory temporarily for a limited scope. SYNOPSIS use File::pushd; chdir $ENV{HOME}; # change directory again for a limited scope { my $dir = pushd( /tmp ); # working directory changed to /tmp }...
15.36 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB