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

MP3::Tag::File 0.9708

  Date Added: October 11, 2010  |  Visits: 1.132

MP3::Tag::File

Report Broken Link
Printer Friendly Version


Product Homepage
Download (81 downloads)



MP3::Tag::File is a Perl module for reading / writing files. SYNOPSIS my $mp3 = MP3::Tag->new($filename); ($title, $artist, $no, $album, $year) = $mp3->parse_filename(); see MP3::Tag MP3::Tag::File is designed to be called from the MP3::Tag module. It offers possibilities to read/write data from files via read(), write(), truncate(), seek(), tell(), open(), close(); one can find the filename via the filename() method. parse_filename() ($title, $artist, $no, $album, $year) = $mp3->parse_filename($what, $filename); parse_filename() tries to extract information about artist, title, track number, album and year from the filename. (For backward compatibility it may be also called by deprecated name read_filename().) This is likely to fail for a lot of filenames, especially the album will be often wrongly guessed, as the name of the parent directory is taken as album name. $what and $filename are optional. $what maybe title, track, artist, album or year. If $what is defined parse_filename() will return only this element. If $filename is defined this filename will be used and not the real filename which was set by MP3::Tag with MP3::Tag-new($filename)>. Otherwise the actual filename is used (subject to configuration variable decode_encoding_filename). Following formats will be hopefully recognized: - album name/artist name - song name.mp3 - album_name/artist_name-song_name.mp3 - album.name/artist.name_song.name.mp3 - album name/(artist name) song name.mp3 - album name/01. artist name - song name.mp3 - album name/artist name - 01 - song.name.mp3 If artist or title end in (NUMBER) with 4-digit NUMBER, it is considered the year. title() $title = $mp3->title($filename); Returns the title, guessed from the filename. See also parse_filename(). (For backward compatibility, can be called by deprecated name song().) $filename is optional and will be used instead of the real filename if defined. artist() $artist = $mp3->artist($filename); Returns the artist name, guessed from the filename. See also parse_filename() $filename is optional and will be used instead of the real filename if defined. track() $track = $mp3->track($filename); Returns the track number, guessed from the filename. See also parse_filename() $filename is optional and will be used instead of the real filename if defined. year() $year = $mp3->year($filename); Returns the year, guessed from the filename. See also parse_filename() $filename is optional and will be used instead of the real filename if defined. album() $album = $mp3->album($filename); Returns the album name, guessed from the filename. See also parse_filename() The album name is guessed from the parent directory, so it is very likely to fail. $filename is optional and will be used instead of the real filename if defined. comment() $comment = $mp3->comment($filename); # Always undef genre() $genre = $mp3->genre($filename); # Always undef.

Requirements: No special requirements
Platforms: Linux
Keyword: Album Artist Filename Instead Of Libraries Name Parse Perl Module Programming See Also Title Will Be
Users rating: 0/10

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


MP3::TAG::FILE RELATED
Libraries  -  Bio::NEXUS::SetsBlock 0.67
Bio::NEXUS::SetsBlock is a Perl module that represents SETS block of a NEXUS file. SYNOPSIS $block_object = new Bio::NEXUS::SetsBlock($block_type, $block, $verbose); Parses Sets block of NEXUS file and stores Sets data. METHODS new...
153.6 KB  
Libraries  -  XAO::DO::Web::MenuBuilder 1.07
XAO::DO::Web::MenuBuilder is a Perl module for building all sorts of menus. SYNOPSIS <...
11.26 KB  
Libraries  -  String::MFN 1.27
String::MFN is a Perl module to Normalize a string in the manner of the mfn utility. SYNOPSIS use String::MFN; my $sane_string = mfn($retarded_string); ... Normalizes a string. Normalization, in brief, means modifying the string to...
8.19 KB  
Libraries  -  Webalizer::Hist 0.02
Webalizer::Hist is a Perl module to parse the webalizer.hist-file. SYNOPSIS use Webalizer::Hist; if(my $dwh = Webalizer::Hist->new(source => "webalizer.hist")) { while(my $hashref = $dwh->month()) { print "Got " . $hashref->{totalhits} ....
5.12 KB  
Libraries  -  File::Type::Builder 0.22
File::Type::Builder is Perl module to parse mime-magic and generate code. SYNOPSIS my $build = File::Type::Builder->new(); while ( ) { chomp; my $parsed = $build->parse_magic($_); my $code = $build->string_start($parsed); (or...
153.6 KB  
Libraries  -  QWizard 3.06
QWizard is a Perl module that can display a series of questions, get the answers, and act on the answers. SYNOPSIS # # The following code works as a application *or* as a CGI script both: # use QWizard; my %primaries = ( starting_node...
81.92 KB  
Programming  -  kin 0.0.2
kin is a set of libraries and tools supporting meta-programming for engineering and technical computing applications. This JVM version of kin has been superseded by the stand-alone version being developed at http://purl.org/net/kin.
477.44 KB  
Modules  -  Pollfield 1.0
Instead of creating a content type, it creates a field that can be added to any content type. This integrates with views and the poll questions and answers can be added to any view.InstallationUnpack in your modules folder (usually...
 
Modules  -  Default Overrides 6.x-1.0-beta1
Defaults Overrides provides a GUI interface to select 'new' defaults to use instead of those provided by the module.Suppose you are using a module like Total Control which provides several default views for looking at the content on your site....
10 KB  
Libraries  -  HTML::Entities::Numbered 0.04
HTML::Entities::Numbered is a Perl module for conversion of numbered HTML entities. SYNOPSIS use HTML::Entities::Numbered; $html = Hi Honey♥; # convert named HTML entities to numbered (decimal) $decimal = name2decimal($html); # Hi...
8 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