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
"Use: catori [--catalog DISC_ID [--device PATH] [--mount] ] [--query QUERY] [--help] [--version] [--edit]\n\nStore the information about music files on PATH in DISC_ID tag. \n\nCatalog a CD / DVD: catori [--mount] [--device PATH] --catalog CD_TITLE\nRetrieve information: catori --query [--artist ARTIST] [--title TITLE] [--file FILE]\nInstall on a Mysql Database: catori --install --database DB --user USER --password PW\nHelp: catori --help\nVersion: catori --version\n\nSend bugs to clbustos at gmail.com\n\n"
end

.versionObject



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

def self.version
"Catori "+VERSION
end