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 49.601.618 Times

Audio::TagLib::File 1.42

  Date Added: February 03, 2010  |  Visits: 1.207

Audio::TagLib::File

Report Broken Link
Printer Friendly Version


Product Homepage
Download (114 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
Libraries  -  Audio::TagLib::MPEG::File 1.42
Audio::TagLib::MPEG::File is an MPEG file class with some useful methods specific to MPEG. SYNOPSIS use Audio::TagLib::MPEG::File; my $i = Audio::TagLib::MPEG::File->new("sample file.mp3"); print $i->tag()->artist()->toCString(), "n"; # got...
1.4 MB  
Network & Internet  -  IAM OPML Parser Class 1.0
IAM OPML Parser Class parses an OPML file (provided its URL) and returns an array. OPML (Outline Processor Markup Language) is an XML format for outlines. Originally developed by Radio UserLand as a native file format for an outliner...
2.05 KB  
File Management  -  Quicken QIF file class and conversion 1.0
This script contains a simple class to represent a Quicken (QIF) file, and a parser to load a QIF file into a sequence of those classes.
 
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  
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  
File Synchronizers  -  You Can Author File Scripts For Users 1.10D2 1.0
Tired of redoing the same file copies, deletes, renames in Window Explorer? Automate repetitious file management. Record in Windows Explorer as you copy, rename, delete, open and/or zip files and folders. The result is simple program, called a...
31.88 MB  
File Security  -  No File Recovery 2.03c
This free software will wipe all open space on your hard drive, so previously deleted files can not be recovered. When you delete files from your pc, they can be recovered from your hard drive as the data is not physically removed. Many files that...
432 KB  
Libraries  -  Stat::lsMode 0.50
Stat::lsMode Perl module can format file modes like the ls -l command does. SYNOPSIS use Stat::lsMode; $mode = (stat $file)[2]; $permissions = format_mode($mode); # $permissions is now something like `drwxr-xr-x $permissions =...
4.1 KB  
Libraries  -  audio_rename 0.9708
audio_rename can rename an audio file via information got via MP3::Tag. SYNOPSIS audio_rename -csR -@p "@a/@l/@02n_@t" . renames all the audio files in this directory and its subdirectories into a 3-level directory structure given by...
174.08 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