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

Metadata::DB::Indexer 1.03

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

Metadata::DB::Indexer

Report Broken Link
Printer Friendly Version


Product Homepage
Download (16 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
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  
File Renamers  -  Copy Path to Clipboard 1.0
4dots Copy Path to Clipboard is a free small shell extension that extends the right click menu of Windows Explorer and allows you to copy the path of the selected files or folders (one or multiple) to the clipboard. This is very useful when...
8.22 MB  
Utilities  -  FTP Rider 0.1
FTP Rider is a collection of Python scripts that build an FTP search engine. Only path/filenames are indexed, not the contents of the files. The indexer recursively follows all directories. It indexes multiple FTP servers concurrently (default is...
30.72 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'...
 
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
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  
Linux Software  -  SLAX 6.0+
Slax is a modern, portable, small and fast Linux operating system with a modular approach and outstanding design. Despite its small size, Slax provides a wide collection of pre-installed software for daily use, including a well organized graphical...
190 KB  
Linux Software  -  GTK+ 2.5
GTK+, which stands for the GIMP Toolkit, is a library for creating graphical user interfaces for the X Window System. It is designed to be small, efficient, and flexible. GTK+ is written in C with a very object-oriented approach. Language bindings...
60 MB  
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