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

Metadata::DB::Indexer 1.03

Company: Leo Charre
Date Added: June 14, 2013  |  Visits: 362

Metadata::DB::Indexer

Report Broken Link
Printer Friendly Version


Product Homepage
Download (36 downloads)



Metadata::DB::Indexer is a Perl module that facilitates indexing records for use with Metadata::DB and sub packages. This is meant to completely recreate a metadata table for records. Useful for indexing files, or any sort of record that may be timely.<br /><br />SYNOPSIS<br /><br /> use Metadata::DB::Indexer;<br /> use File::Find::Rule;<br /><br /> no strict 'refs';<br /> *{Metadata::DB::Indexer::record_identifier_to_metadata} = &get_mp3_meta;<br /> <br /><br /> my $finder = File::Find::Rule->file()->name( qr/.mp3$/i );<br /> my @music_files = $finder->in('/home/myself');<br /><br /> my $absdb = '/home/myself/music.db';<br /> my $dbh = DBI->connect("dbi:SQLite:dbname=$absdb","","");<br /><br /> my $indexer = Metadata::DB::Indexer({ DBH => $dbh });<br /><br /> $indexer->records_to_index(@music_files);<br /><br /> $indexer->run;<br /><br /><br /> sub get_mp3_meta {<br /> my $record_identifier = shift;<br /><br /> my $abs_path = $record_identifier;<br /><br /> my $meta = my_sub_that_turns_mp3s_to_hashref_meta($abs_path);<br /><br /> $meta or return; # this registers a fail, and continues<br /><br /> return $meta;<br /> }<br /><br /> my $total = $indexed->records_to_index_count;<br /> my $indexed = $indexer->records_indexed_count;<br /><br /> print STDERR "Done, indexed $indexed of $total records.n";

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Abs Path Db Homemyselfmusicdb Indexed Indexer Indexergtrecords Indexmusic Files Indexergtrun Indexing Meta Metadata Metadatadbindexer Print Quotdone Record Identifier Records Recordsquot Registers Return Shift Stderr Total
Users rating: 0/10

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


METADATA::DB::INDEXER RELATED
Database Tools  -  Shref Image in DB 1.0
Shref Image in DB can store and retrieve binary files in a MySQL database table. It can read the data from one file, convert the data to an ASCII representation and stores it in a given a given record of a MySQL table field.Shref Image in DB can...
10 KB  
Business  -  Check by Phone 1.0
Check by phone is an web based solution that inputs financial information to a MSSQL DB and allows an seperate backend to connect using Crystal Reports to print MICR encoded checks.
143.52 KB  
Programming  -  Database Record Selector and Editor 1.33
Database Record Selector and Editor (DB-RSE) is a PHP program intended to be a very simplified MySQL database record selector and editor. Having only two files, it is simple to install and setup. Select a table, select a record, edit and save.
8.76 KB  
Database Tools  -  Database Record Selector and Editor 1.33
Database Record Selector and Editor (DB-RSE) is a PHP program intended to be a very simplified MySQL database record selector and editor. Having only two files, it is simple to install and setup. Select a table, select a record, edit and save.
 
Libraries  -  Bio::DB::Flat::BDB::swissprot 1.4
Bio::DB::Flat::BDB::swissprot is a swissprot adaptor for Open-bio standard BDB-indexed flat file. SYNOPSIS See Bio::DB::Flat. This module allows swissprot files to be stored in Berkeley DB flat files using the Open-Bio standard BDB-indexed...
4.7 MB  
Libraries  -  Db::Documentum 1.63
Db::Documentum is a Documentum API interface for Perl. SYNOPSIS use Db::Documentum qw(:all); scalar = dmAPIGet( ); $sessionID = dmAPIGet("connect,docbase,username,password"); scalar = dmAPIExec( ); $rv =...
296.96 KB  
Database Tools  -  DB Version Manager 0.9
This is a PHP script to update a database's schema with commands read from external files.The script parses a config files from a given directory and runs all the SQL commands found in them. The database configuration parameters and the path of...
10 KB  
Programming  -  FindBin::libs 1.51
FindBin::libs - Locate and 'use lib' directories along the path of $FindBin::Bin to automate locating modules. Uses File::Spec and Cwd's abs_path to accomodate multiple O/S and redundant symlinks.
10.24 KB  
File Management  -  Directory Walker Generator 1.3
This script is a generator that does what os.path.walk does, without the need for a callback function. This is a rewrite of os.path.walk. It's convenient for processing files that inhabit directory trees. Its original purpose was to vist the '.h'...
 
Miscellaneous  -  Another TSP Solver 1.0
The script can display how the route rearranges at each script iteration.The input for the program is an Nx2 cities array sorted in the initial traveling path. The output is the cities arranged in a more effective route, index vector of the order...
 
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
Linux Software  -  EasyEDA PCB Designer for Linux 2.0.0
EasyEDA, a great web based EDA(Electronics Design Automation) tool, online PCB tool, online PCB software for electronics engineers, educators, students, makers and enthusiasts. Theres no need to install any software. Just open EasyEDA in any...
34.4 MB  
Linux Software  -  wpCache® WordPress HTTP Cache 1.9
wpCache® is a high-performance, distributed object, caching system application, generic in nature, but intended for use in speeding up dynamic web applications, by decreasing database load time. wpCache® decreases dramatically the page...
3.51 MB  
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 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  -  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