Module: Catori

Defined in:
lib/catori/Gui.rb,
lib/catori.rb,
lib/catori/Db.rb,
lib/catori/XML.rb,
lib/catori/Query.rb,
lib/catori/Installer.rb,
lib/catori/Catalogador.rb

Overview

{{{

Defined Under Namespace

Classes: App, Catalogador, Db, Gui, Installer, Query, XML

Constant Summary collapse

VERSION =
"0.2.6"
CONFIG_DIR =
File.expand_path("~/.config/php.apsique.com")
CONFIG_FILE =
CONFIG_DIR+"/catori.conf"
LIB_DIR =
File.expand_path(File.dirname(__FILE__)+"/../lib")

Class Method Summary collapse

Class Method Details

.usageObject



17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# File 'lib/catori.rb', line 17

def self.usage
<<USAGE
Use: catori [--catalog DISC_ID [--device PATH] [--mount] ] [--query QUERY] [--help] [--version] [--edit]

Store the information about music files on PATH in DISC_ID tag. 

Catalog a CD / DVD: catori [--mount] [--device PATH] --catalog CD_TITLE
Retrieve information: catori --query [--artist ARTIST] [--title TITLE] [--file FILE]
Install on a Mysql Database: catori --install --database DB --user USER --password PW
Help: catori --help
Version: catori --version

Send bugs to clbustos at gmail.com

USAGE
end

.versionObject



14
15
16
# File 'lib/catori.rb', line 14

def self.version
"Catori "+VERSION
end