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

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

Serving Software Downloads in 976 Categories, Downloaded 29.545.327 Times

TiVo::HME::Resource 1.3

  Date Added: February 19, 2010  |  Visits: 509

TiVo::HME::Resource

Report Broken Link
Printer Friendly Version


Product Homepage
Download (72 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  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
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  
Libraries  -  App::SimpleScan::Substitution::Line 2.02
App::SimpleScan::Substitution::Line is a line with optional fixed variable values. SYNOPSIS my $line = App::SimpleScan::Substitution::Line->new(" this "); # Use only this value when substituting " ". $line->fix(substituite =>...
54.27 KB