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

Audio::TagLib::File 1.42

  Date Added: February 03, 2010  |  Visits: 742

Audio::TagLib::File

Report Broken Link
Printer Friendly Version


Product Homepage
Download (72 downloads)



Audio::TagLib::File is a file class with some useful methods for tag manipulation. This class is a basic file class with some methods that are particularly useful for tag editors. It has methods to take advantage of ByteVector and a binary search method for finding patterns in a file. DESTROY() Destroys this File instance. PV name() Returns the file name in the local file system encoding. Tag tag() [pure virtual] Returns this files tag. This should be reimplemented in the concrete subclasses. AudioProperties audioProperties() [pure virtual] Returns this files audio properties. This should be reimplemented in the concrete subclasses. If no audio properties were read then this will return undef. BOOL save() [pure virtual] Save the file and its associated tags. This should be reimplemented in the concrete subclasses. Returns true if the save succeeds. ByteVector readBlock(UV $length) Reads a block of size $length at the current get pointer. void writeBlock(ByteVector $data) Attempts to write the block $data at the current get pointer. If the file is currently only opened read only -- i.e. readOnly() returns true -- this attempts to reopen the file in read/write mode. IV find(ByteVector $pattern, IV $fromOffset = 0, ByteVector $before = ByteVector::null) Returns the offset in the file that $pattern occurs at or -1 if it can not be found. If $before is set, the search will only continue until the pattern $before is found. This is useful for tagging purposes to search for a tag before the synch frame. Searching starts at $fromOffset, which defaults to the beginning of the file. This has the practial limitation that $pattern can not be longer than the buffer size used by readBlock(). Currently this is 1024 bytes. IV rfind(ByteVector $pattern, IV $fromOffset = 0, ByteVector $before = ByteVector::null) Returns the offset in the file that $pattern at or -1 if it can not be found. If $before is set, the search will only continue until the pattern $before is found. This is useful for tagging purposes to search for a tag before the synch frame. Searching starts at $fromOffset and proceeds from the that point to the beginning of the file and defaults to the end of the file. This has the practial limitation that $pattern can not be longer than the buffer size used by readBlock(). Currently this is 1024 bytes. void insert(ByteVector $data, UV $start = 0, UV $replace = 0) Insert $data at position $start in the file overwriting $replace bytes of the original content. This method is slow since it requires rewriting all of the file after the insertion point. void removeBlock(UV $start = 0, UV $length = 0) Removes a block of the file starting a $start and continuing for $length bytes. This method is slow since it involves rewriting all of the file after the removed portion. BOOL readOnly() Returns true if the file is read only (or if the file can not be opened). BOOL isOpen() Since the file can currently only be opened as an argument to the constructor (sort-of by design), this returns if that open succeeded. BOOL isValid() Returns true if the file is open and readble and valid information for the Tag and / or AudioProperties was found. void seek(IV $offset, PV $p = "Beginning") Move the I/O pointer to $offset in the file from position $p. This defaults to seeking from the beginning of the file. void clear() Reset the end-of-file and error flags on the file. IV tell() Returns the current offset withing the file. IV length() Returns the length of the file. BOOL isReadable(PV $file) [static] Returns true if $file can be opened for reading. If the file does not exist, this will return false. BOOL isWritable(PV $file) [static] Returns true if $file can be opened for writing. %_Position Position in the file used for seeking. C.

Requirements: No special requirements
Platforms: Linux
Keyword: Audiotaglibfile Bool Bytevector Can Not File File Class Iv Pattern Pv Returns Tag Taglib Useful Uv
Users rating: 0/10

License: Freeware Size: 1.4 MB
USER REVIEWS
More Reviews or Write Review


AUDIO::TAGLIB::FILE RELATED
Development Tools  -  PHP ini file handler 0.0.1a 1.0
This is an ini file handler class in PHP. It represents a replacement of parsplacemente() of php4 and has new functionalities.
 
Utilities  -  whereis 2.2
whereis is a simple Command Line-based utility that can find a file in your operating system. Now you can use this accessible Open Source tool to search for the files you need.
 
Security Tools  -  File Shredder 2.0
File Shredder is free, secure and fast application to permanently shred and delete files and folders on your computer. Shredded files can not be brought back by using specialized software, tricks or hacks - File Shredder destroyes them beyond...
904.2 KB  
Utilities  -  File-Extensions.org Search 0.2
Windows can not open your file? With free File-Extensions.org Search utility you can easily find the information about any file extension that you are looking for including programs associated with it. The application offers you a quick...
2.17 MB  
File Management  -  General purpose file iterator class 1.0
This script presents a general purpose file object iterator cum file object proxy class.It provides a class that gives several iterator functions to read a text file by characters, words, lines, paragraphs or blocks. It also acts as a proxy for...
 
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::Find::Closures 1.06
File::Find::Closures is a Perl module with functions you can use with File::Find. SYNOPSIS use File::Find; use File::Find::Closures qw(:all); my( $wanted, $list_reporter ) = find_by_name( qw(README) ); File::Find::find( $wanted,...
7.17 KB  
Libraries  -  Bio::NEXUS::Block 0.67
Bio::NEXUS::Block is a Perl module that provides useful functions for blocks in NEXUS file (parent class). SYNOPSIS This module is the super class of all NEXUS block classes. It is not used specifically from a program; in other words, you dont...
153.6 KB  
File Synchronizers  -  Fast Secure File System 0.1.1
Fast Secure File System exports existing directories securely over the network, letting users store and retrieve encrypted data in a scalable and transparent way. FSFS is written in C and works on GNU/Linux systems on x86 and PPC architectures,...
 
Windows Software  -  File Safer 1.1
File Safer lets you password protect folders, files. It lets you can hide you data or make you data being read-only(write-protected and can not deleted) easily. It also offers auto-protection and password prompt on access of protected item....
1.17 MB  
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