catori 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -0
- data/bin/catori +9 -0
- data/changelog.txt +3 -0
- data/construir +3 -0
- data/crear_vista.sql +8 -0
- data/ext/audiofile/MANIFEST +8 -0
- data/ext/audiofile/README +11 -0
- data/ext/audiofile/audiofile.c +833 -0
- data/ext/audiofile/audiofile.rd +265 -0
- data/ext/audiofile/depend +0 -0
- data/ext/audiofile/extconf.rb +8 -0
- data/ext/audiofile/fail.rb +22 -0
- data/ext/audiofile/mkmf.log +34 -0
- data/ext/audiofile/test.rb +229 -0
- data/ext/flac/extconf.rb +5 -0
- data/ext/flac/flac.c +75 -0
- data/ext/flac/mkmf.log +12 -0
- data/ext/flac/test.rb +3 -0
- data/ext/mahoro-0.1/INSTALL +9 -0
- data/ext/mahoro-0.1/extconf.rb +7 -0
- data/ext/mahoro-0.1/mahoro.c +187 -0
- data/ext/mahoro-0.1/mkmf.log +24 -0
- data/ext/mahoro-0.1/test.rb +41 -0
- data/ext/mpc/extconf.rb +5 -0
- data/ext/mpc/id3tag.c +245 -0
- data/ext/mpc/id3tag.h +5 -0
- data/ext/mpc/mkmf.log +12 -0
- data/ext/mpc/mpc.c +56 -0
- data/ext/mpc/mpp.h +194 -0
- data/ext/mpc/mppdec.h +1171 -0
- data/ext/mpc/test.rb +3 -0
- data/ext/rmac/extconf.rb +7 -0
- data/ext/rmac/mkmf.log +22 -0
- data/ext/rmac/rmac.cpp +162 -0
- data/ext/vorbisfile/ChangeLog +11 -0
- data/ext/vorbisfile/README +33 -0
- data/ext/vorbisfile/configure +2 -0
- data/ext/vorbisfile/extconf.rb +9 -0
- data/ext/vorbisfile/mkmf.log +68 -0
- data/ext/vorbisfile/test.rb +78 -0
- data/ext/vorbisfile/vorbisfile.c +482 -0
- data/instalar.txt +19 -0
- data/install.rb +11 -0
- data/lib/audioinfo.rb +321 -0
- data/lib/catori.rb +131 -0
- data/lib/catori/Catalogador.rb +71 -0
- data/lib/catori/Db.rb +81 -0
- data/lib/catori/Gui.rb +52 -0
- data/lib/catori/Installer.rb +16 -0
- data/lib/catori/Query.rb +82 -0
- data/lib/catori/XML.rb +42 -0
- data/lib/catori/catori_gui.glade +340 -0
- data/lib/catori/catori_gui.glade.bak +340 -0
- data/lib/catori/catori_gui.gladep +8 -0
- data/lib/catori/catori_gui.gladep.bak +8 -0
- data/lib/catori/taglib.rb +227 -0
- data/lib/pixmaps/album.png +0 -0
- data/lib/pixmaps/artist.png +0 -0
- data/lib/pixmaps/cdr.png +0 -0
- data/lib/pixmaps/song.png +0 -0
- data/lib/taglib.rb +230 -0
- data/sql/catori_mysql.sql +68 -0
- data/sql/catori_pg.sql +65 -0
- data/tests/saw.ape +0 -0
- data/tests/saw.flac +0 -0
- data/tests/saw.mp3 +0 -0
- data/tests/saw.mpc +0 -0
- data/tests/saw.ogg +0 -0
- data/tests/saw.wav +0 -0
- data/tests/test_audioinfo.rb +43 -0
- metadata +217 -0
Binary file
|
Binary file
|
data/lib/pixmaps/cdr.png
ADDED
Binary file
|
Binary file
|
data/lib/taglib.rb
ADDED
@@ -0,0 +1,230 @@
|
|
1
|
+
# Copyright (C) 2004 Neil Stevens <neil@hakubi.us>
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
+
# of this software and associated documentation files (the "Software"), to deal
|
5
|
+
# in the Software without restriction, including without limitation the rights
|
6
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
+
# copies of the Software, and to permit persons to whom the Software is
|
8
|
+
# furnished to do so, subject to the following conditions:
|
9
|
+
#
|
10
|
+
# The above copyright notice and this permission notice shall be included in
|
11
|
+
# all copies or substantial portions of the Software.
|
12
|
+
#
|
13
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
16
|
+
# THE AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
17
|
+
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
18
|
+
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
19
|
+
#
|
20
|
+
# Except as contained in this notice, the name(s) of the author(s) shall not be
|
21
|
+
# used in advertising or otherwise to promote the sale, use or other dealings
|
22
|
+
# in this Software without prior written authorization from the author(s).
|
23
|
+
|
24
|
+
require 'dl'
|
25
|
+
require 'dl/import'
|
26
|
+
require 'mahoro'
|
27
|
+
|
28
|
+
module TagLib
|
29
|
+
|
30
|
+
extend DL::Importable
|
31
|
+
|
32
|
+
dlload 'libtag_c.so'
|
33
|
+
|
34
|
+
File_Type =
|
35
|
+
[
|
36
|
+
MPEG = 0,
|
37
|
+
OggVorbis = 1,
|
38
|
+
FLAC = 2,
|
39
|
+
MPC = 3
|
40
|
+
]
|
41
|
+
|
42
|
+
extern 'void* taglib_file_new(char*)'
|
43
|
+
extern 'void* taglib_file_new_type(char*, int)'
|
44
|
+
extern 'void taglib_file_free(void*)'
|
45
|
+
extern 'void* taglib_file_tag(void*)'
|
46
|
+
extern 'void* taglib_file_audioproperties(void*)'
|
47
|
+
extern 'void* taglib_file_save(void*)'
|
48
|
+
|
49
|
+
extern 'char* taglib_tag_title(void*)'
|
50
|
+
extern 'char* taglib_tag_artist(void*)'
|
51
|
+
extern 'char* taglib_tag_album(void*)'
|
52
|
+
extern 'char* taglib_tag_comment(void*)'
|
53
|
+
extern 'char* taglib_tag_genre(void*)'
|
54
|
+
extern 'uint taglib_tag_year(void*)'
|
55
|
+
extern 'uint taglib_tag_track(void*)'
|
56
|
+
extern 'void taglib_tag_set_title(void*, char*)'
|
57
|
+
extern 'void taglib_tag_set_artist(void*, char*)'
|
58
|
+
extern 'void taglib_tag_set_album(void*, char*)'
|
59
|
+
extern 'void taglib_tag_set_comment(void*, char*)'
|
60
|
+
extern 'void taglib_tag_set_genre(void*, char*)'
|
61
|
+
extern 'void taglib_tag_set_year(void*, uint)'
|
62
|
+
extern 'void taglib_tag_set_track(void*, uint)'
|
63
|
+
|
64
|
+
extern 'int taglib_audioproperties_length(void*)'
|
65
|
+
extern 'int taglib_audioproperties_bitrate(void*)'
|
66
|
+
extern 'int taglib_audioproperties_samplerate(void*)'
|
67
|
+
extern 'int taglib_audioproperties_channels(void*)'
|
68
|
+
|
69
|
+
class BadPath < Exception
|
70
|
+
end
|
71
|
+
|
72
|
+
class BadFile < Exception
|
73
|
+
end
|
74
|
+
|
75
|
+
class BadTag < Exception
|
76
|
+
end
|
77
|
+
|
78
|
+
class BadAudioProperties < Exception
|
79
|
+
end
|
80
|
+
|
81
|
+
class File
|
82
|
+
|
83
|
+
def initialize(p)
|
84
|
+
@path = p
|
85
|
+
if not @path
|
86
|
+
raise BadPath.new
|
87
|
+
end
|
88
|
+
|
89
|
+
mahoro = Mahoro.new
|
90
|
+
mahoro.flags = Mahoro::NONE
|
91
|
+
mime = mahoro.file(@path)
|
92
|
+
type = taglibForMime(mime)
|
93
|
+
|
94
|
+
if type
|
95
|
+
@file = TagLib.taglib_file_new_type(@path, type)
|
96
|
+
else
|
97
|
+
@file = TagLib.taglib_file_new(@path)
|
98
|
+
end
|
99
|
+
|
100
|
+
if not @file
|
101
|
+
@path = nil
|
102
|
+
raise BadFile.new
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
def save
|
107
|
+
TagLib.taglib_file_save(@file)
|
108
|
+
end
|
109
|
+
|
110
|
+
def close
|
111
|
+
if @file
|
112
|
+
TagLib.taglib_file_free(@file)
|
113
|
+
end
|
114
|
+
@path = nil
|
115
|
+
@file = nil
|
116
|
+
@tag = nil
|
117
|
+
@audio = nil
|
118
|
+
end
|
119
|
+
|
120
|
+
def title
|
121
|
+
return TagLib.taglib_tag_title(tag)
|
122
|
+
end
|
123
|
+
|
124
|
+
def title=(string)
|
125
|
+
TagLib.taglib_tag_set_title(tag, string)
|
126
|
+
end
|
127
|
+
|
128
|
+
def artist
|
129
|
+
return TagLib.taglib_tag_artist(tag)
|
130
|
+
end
|
131
|
+
|
132
|
+
def artist=(string)
|
133
|
+
TagLib.taglib_tag_set_artist(tag, string)
|
134
|
+
end
|
135
|
+
|
136
|
+
def album
|
137
|
+
return TagLib.taglib_tag_album(tag)
|
138
|
+
end
|
139
|
+
|
140
|
+
def album=(string)
|
141
|
+
TagLib.taglib_tag_set_album(tag, string)
|
142
|
+
end
|
143
|
+
|
144
|
+
def comment
|
145
|
+
return TagLib.taglib_tag_comment(tag)
|
146
|
+
end
|
147
|
+
|
148
|
+
def comment=(string)
|
149
|
+
TagLib.taglib_tag_set_comment(tag, string)
|
150
|
+
end
|
151
|
+
|
152
|
+
def genre
|
153
|
+
return TagLib.taglib_tag_genre(tag)
|
154
|
+
end
|
155
|
+
|
156
|
+
def genre=(string)
|
157
|
+
TagLib.taglib_tag_set_genre(tag, string)
|
158
|
+
end
|
159
|
+
|
160
|
+
def year
|
161
|
+
return TagLib.taglib_tag_year(tag)
|
162
|
+
end
|
163
|
+
|
164
|
+
def year=(uint)
|
165
|
+
TagLib.taglib_tag_set_year(tag, uint)
|
166
|
+
end
|
167
|
+
|
168
|
+
def track
|
169
|
+
return TagLib.taglib_tag_track(tag)
|
170
|
+
end
|
171
|
+
|
172
|
+
def track=(uint)
|
173
|
+
TagLib.taglib_tag_set_track(tag, uint)
|
174
|
+
end
|
175
|
+
|
176
|
+
def length
|
177
|
+
return TagLib.taglib_audioproperties_length(audio)
|
178
|
+
end
|
179
|
+
|
180
|
+
def bitrate
|
181
|
+
return TagLib.taglib_audioproperties_bitrate(audio)
|
182
|
+
end
|
183
|
+
|
184
|
+
def samplerate
|
185
|
+
return TagLib.taglib_audioproperties_samplerate(audio)
|
186
|
+
end
|
187
|
+
|
188
|
+
def channels
|
189
|
+
return TagLib.taglib_audioproperties_channels(audio)
|
190
|
+
end
|
191
|
+
|
192
|
+
private
|
193
|
+
def tag
|
194
|
+
if not @tag
|
195
|
+
@tag = TagLib.taglib_file_tag(@file)
|
196
|
+
if not @tag
|
197
|
+
raise BadTag.new
|
198
|
+
end
|
199
|
+
end
|
200
|
+
return @tag
|
201
|
+
end
|
202
|
+
|
203
|
+
def audio
|
204
|
+
if not @audio
|
205
|
+
@audio = TagLib.taglib_file_audioproperties(@file)
|
206
|
+
if not @audio
|
207
|
+
raise BadAudioProperties.new
|
208
|
+
end
|
209
|
+
end
|
210
|
+
return @audio
|
211
|
+
end
|
212
|
+
|
213
|
+
def taglibForMime(mime)
|
214
|
+
if mime.include?('MP3')
|
215
|
+
return TagLib::MPEG
|
216
|
+
end
|
217
|
+
|
218
|
+
if mime.include?('Ogg') or mime.include?('ogg')
|
219
|
+
if mime.include?('Vorbis') or mime.include('vorbis')
|
220
|
+
return TagLib::OggVorbis
|
221
|
+
elsif mime.include?('FLAC')
|
222
|
+
return TagLib::FLAC
|
223
|
+
end
|
224
|
+
end
|
225
|
+
|
226
|
+
return nil
|
227
|
+
end
|
228
|
+
end
|
229
|
+
|
230
|
+
end
|
@@ -0,0 +1,68 @@
|
|
1
|
+
|
2
|
+
CREATE TABLE album (
|
3
|
+
artist_id VARCHAR(32) NOT NULL,
|
4
|
+
album_id VARCHAR(32) NOT NULL,
|
5
|
+
album_name VARCHAR(255),
|
6
|
+
album_year integer,
|
7
|
+
PRIMARY KEY(artist_id,album_id)
|
8
|
+
);
|
9
|
+
|
10
|
+
CREATE TABLE album_song (
|
11
|
+
artist_id VARCHAR(32) NOT NULL,
|
12
|
+
album_id VARCHAR(32) NOT NULL,
|
13
|
+
song_id VARCHAR(32) NOT NULL,
|
14
|
+
as_track integer,
|
15
|
+
PRIMARY KEY(artist_id,album_id,song_id)
|
16
|
+
);
|
17
|
+
|
18
|
+
CREATE TABLE artist (
|
19
|
+
artist_id VARCHAR(32) NOT NULL,
|
20
|
+
artist_name VARCHAR(255),
|
21
|
+
PRIMARY KEY(artist_id)
|
22
|
+
);
|
23
|
+
|
24
|
+
CREATE VIEW albums_artistas AS
|
25
|
+
SELECT a.artist_name, b.album_name FROM album b INNER JOIN artist a ON b.artist_id = a.artist_id ORDER BY a.artist_name, b.album_name;
|
26
|
+
|
27
|
+
|
28
|
+
CREATE TABLE cd (
|
29
|
+
cd_id VARCHAR(255) NOT NULL,
|
30
|
+
PRIMARY KEY (cd_id)
|
31
|
+
);
|
32
|
+
|
33
|
+
|
34
|
+
CREATE TABLE file (
|
35
|
+
artist_id VARCHAR(32) NOT NULL,
|
36
|
+
album_id VARCHAR(32) NOT NULL,
|
37
|
+
song_id VARCHAR(32) NOT NULL,
|
38
|
+
cd_id VARCHAR(32) NOT NULL,
|
39
|
+
file_id VARCHAR(32) NOT NULL,
|
40
|
+
file_name text,
|
41
|
+
sample_rate integer,
|
42
|
+
bps double ,
|
43
|
+
`time` double ,
|
44
|
+
bits_per_sample integer,
|
45
|
+
channels integer,
|
46
|
+
size integer,
|
47
|
+
PRIMARY KEY(cd_id,file_id)
|
48
|
+
);
|
49
|
+
|
50
|
+
|
51
|
+
CREATE VIEW cd_album AS
|
52
|
+
SELECT DISTINCT f.cd_id, a.artist_name, b.album_name FROM artist a INNER JOIN album b ON a.artist_id = b.artist_id INNER JOIN file f ON b.album_id = f.album_id AND b.artist_id = f.artist_id ORDER BY f.cd_id, a.artist_name, b.album_name;
|
53
|
+
|
54
|
+
|
55
|
+
CREATE TABLE song (
|
56
|
+
song_id VARCHAR(32) NOT NULL,
|
57
|
+
song_name VARCHAR(255),
|
58
|
+
PRIMARY KEY (song_id)
|
59
|
+
);
|
60
|
+
|
61
|
+
|
62
|
+
CREATE VIEW edicion AS
|
63
|
+
SELECT f.cd_id, f.file_id, f.file_name, a.artist_name, b.album_name, b.album_year, ab.as_track, s.song_name FROM file f INNER JOIN artist a ON f.artist_id = a.artist_id INNER JOIN album b ON f.artist_id = b.artist_id AND f.album_id = b.album_id INNER JOIN album_song ab ON f.artist_id = ab.artist_id AND f.album_id = ab.album_id AND f.song_id = ab.song_id INNER JOIN song s ON f.song_id = s.song_id;
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
CREATE VIEW vista_cd AS
|
68
|
+
SELECT f.cd_id, f.file_name, a.artist_name, b.album_name, ab.as_track, s.song_name FROM file f INNER JOIN artist a ON f.artist_id = a.artist_id INNER JOIN album b ON f.artist_id = b.artist_id AND f.album_id = b.album_id INNER JOIN album_song ab ON f.artist_id = ab.artist_id AND f.album_id = ab.album_id AND f.song_id = ab.song_id INNER JOIN song s ON f.song_id = s.song_id;
|
data/sql/catori_pg.sql
ADDED
@@ -0,0 +1,65 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
CREATE TABLE album (
|
4
|
+
artist_id character varying(32) NOT NULL,
|
5
|
+
album_id character varying(32) NOT NULL,
|
6
|
+
album_name character varying(255),
|
7
|
+
album_year integer
|
8
|
+
);
|
9
|
+
|
10
|
+
CREATE TABLE album_song (
|
11
|
+
artist_id character varying(32) NOT NULL,
|
12
|
+
album_id character varying(32) NOT NULL,
|
13
|
+
song_id character varying(32) NOT NULL,
|
14
|
+
as_track integer
|
15
|
+
);
|
16
|
+
|
17
|
+
CREATE TABLE artist (
|
18
|
+
artist_id character varying(32) NOT NULL,
|
19
|
+
artist_name character varying(255)
|
20
|
+
);
|
21
|
+
|
22
|
+
--
|
23
|
+
|
24
|
+
CREATE VIEW albums_artistas AS
|
25
|
+
SELECT a.artist_name, b.album_name FROM (album b JOIN artist a ON (((b.artist_id)::text = (a.artist_id)::text))) ORDER BY a.artist_name, b.album_name;
|
26
|
+
|
27
|
+
|
28
|
+
CREATE TABLE cd (
|
29
|
+
cd_id character varying(255) NOT NULL
|
30
|
+
);
|
31
|
+
|
32
|
+
|
33
|
+
CREATE TABLE file (
|
34
|
+
artist_id character varying(32) NOT NULL,
|
35
|
+
album_id character varying(32) NOT NULL,
|
36
|
+
song_id character varying(32) NOT NULL,
|
37
|
+
cd_id character varying(32) NOT NULL,
|
38
|
+
file_id character varying(32) NOT NULL,
|
39
|
+
file_name character varying(8000),
|
40
|
+
sample_rate integer,
|
41
|
+
bps double precision,
|
42
|
+
"time" double precision,
|
43
|
+
bits_per_sample integer,
|
44
|
+
channels integer,
|
45
|
+
size integer
|
46
|
+
);
|
47
|
+
|
48
|
+
|
49
|
+
CREATE VIEW cd_album AS
|
50
|
+
SELECT DISTINCT f.cd_id, a.artist_name, b.album_name FROM ((artist a JOIN album b ON (((a.artist_id)::text = (b.artist_id)::text))) JOIN file f ON ((((b.album_id)::text = (f.album_id)::text) AND ((b.artist_id)::text = (f.artist_id)::text)))) ORDER BY f.cd_id, a.artist_name, b.album_name;
|
51
|
+
|
52
|
+
|
53
|
+
CREATE TABLE song (
|
54
|
+
song_id character varying(32) NOT NULL,
|
55
|
+
song_name character varying(255)
|
56
|
+
);
|
57
|
+
|
58
|
+
|
59
|
+
CREATE VIEW edicion AS
|
60
|
+
SELECT f.cd_id, f.file_id, f.file_name, a.artist_name, b.album_name, b.album_year, ab.as_track, s.song_name FROM ((((file f JOIN artist a ON (((f.artist_id)::text = (a.artist_id)::text))) JOIN album b ON ((((f.artist_id)::text = (b.artist_id)::text) AND ((f.album_id)::text = (b.album_id)::text)))) JOIN album_song ab ON (((((f.artist_id)::text = (ab.artist_id)::text) AND ((f.album_id)::text = (ab.album_id)::text)) AND ((f.song_id)::text = (ab.song_id)::text)))) JOIN song s ON (((f.song_id)::text = (s.song_id)::text)));
|
61
|
+
|
62
|
+
|
63
|
+
|
64
|
+
CREATE VIEW vista_cd AS
|
65
|
+
SELECT f.cd_id, f.file_name, a.artist_name, b.album_name, ab.as_track, s.song_name FROM ((((file f JOIN artist a ON (((f.artist_id)::text = (a.artist_id)::text))) JOIN album b ON ((((f.artist_id)::text = (b.artist_id)::text) AND ((f.album_id)::text = (b.album_id)::text)))) JOIN album_song ab ON (((((f.artist_id)::text = (ab.artist_id)::text) AND ((f.album_id)::text = (ab.album_id)::text)) AND ((f.song_id)::text = (ab.song_id)::text)))) JOIN song s ON (((f.song_id)::text = (s.song_id)::text)));
|
data/tests/saw.ape
ADDED
Binary file
|
data/tests/saw.flac
ADDED
Binary file
|
data/tests/saw.mp3
ADDED
Binary file
|
data/tests/saw.mpc
ADDED
Binary file
|
data/tests/saw.ogg
ADDED
Binary file
|
data/tests/saw.wav
ADDED
Binary file
|
@@ -0,0 +1,43 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require 'rubygems'
|
3
|
+
require_gem 'catori'
|
4
|
+
require 'audioinfo'
|
5
|
+
require 'test/unit'
|
6
|
+
|
7
|
+
class AudioInfoTestCase < Test::Unit::TestCase
|
8
|
+
|
9
|
+
def initialize(*args)
|
10
|
+
super
|
11
|
+
@base=File.dirname(__FILE__)
|
12
|
+
end
|
13
|
+
|
14
|
+
def test_mp3
|
15
|
+
oInfo=::AudioInfo.infoFile(@base+"/saw.mp3")
|
16
|
+
assert_general(oInfo)
|
17
|
+
end
|
18
|
+
def test_mpc
|
19
|
+
oInfo=::AudioInfo.infoFile(@base+"/saw.mpc")
|
20
|
+
assert_general(oInfo)
|
21
|
+
end
|
22
|
+
def test_flac
|
23
|
+
oInfo=::AudioInfo.infoFile(@base+"/saw.flac")
|
24
|
+
assert_general(oInfo)
|
25
|
+
end
|
26
|
+
def test_ogg
|
27
|
+
oInfo=::AudioInfo.infoFile(@base+"/saw.ogg")
|
28
|
+
assert_general(oInfo)
|
29
|
+
end
|
30
|
+
def test_ape
|
31
|
+
oInfo=::AudioInfo.infoFile(@base+"/saw.ape")
|
32
|
+
assert_general(oInfo)
|
33
|
+
end
|
34
|
+
def assert_general(oInfo)
|
35
|
+
assert_equal("Saw",oInfo.title)
|
36
|
+
assert_equal("Claudio Bustos",oInfo.artist)
|
37
|
+
assert_equal("2005",oInfo.year)
|
38
|
+
assert_equal("Catori",oInfo.album)
|
39
|
+
assert_equal(1,oInfo.tracknumber.to_i)
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
# arch-tag: test
|
metadata
ADDED
@@ -0,0 +1,217 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
rubygems_version: 0.9.4
|
3
|
+
specification_version: 1
|
4
|
+
name: catori
|
5
|
+
version: !ruby/object:Gem::Version
|
6
|
+
version: 0.2.5
|
7
|
+
date: 2008-06-18 00:00:00 -04:00
|
8
|
+
summary: Command-line cataloger of CDs
|
9
|
+
require_paths:
|
10
|
+
- lib
|
11
|
+
email:
|
12
|
+
homepage: http://php.apsique.com/project/catori
|
13
|
+
rubyforge_project:
|
14
|
+
description: Nice command line cataloger of Music CD. Supports ape,flac,ogg,mp3, and all audiofile format's (wav, aiff...)
|
15
|
+
autorequire:
|
16
|
+
default_executable:
|
17
|
+
bindir: bin
|
18
|
+
has_rdoc: false
|
19
|
+
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 1.8.0
|
24
|
+
version:
|
25
|
+
platform: ruby
|
26
|
+
signing_key:
|
27
|
+
cert_chain:
|
28
|
+
post_install_message:
|
29
|
+
authors:
|
30
|
+
- Claudio Bustos
|
31
|
+
files:
|
32
|
+
- ./ext
|
33
|
+
- ./ext/mpc
|
34
|
+
- ./ext/mpc/extconf.rb
|
35
|
+
- ./ext/mpc/mpc.c
|
36
|
+
- ./ext/mpc/id3tag.h
|
37
|
+
- ./ext/mpc/test.rb
|
38
|
+
- ./ext/mpc/mpp.h
|
39
|
+
- ./ext/mpc/mkmf.log
|
40
|
+
- ./ext/mpc/id3tag.c
|
41
|
+
- ./ext/mpc/mppdec.h
|
42
|
+
- ./ext/audiofile
|
43
|
+
- ./ext/audiofile/audiofile.c
|
44
|
+
- ./ext/audiofile/test.rb
|
45
|
+
- ./ext/audiofile/audiofile.rd
|
46
|
+
- ./ext/audiofile/MANIFEST
|
47
|
+
- ./ext/audiofile/extconf.rb
|
48
|
+
- ./ext/audiofile/mkmf.log
|
49
|
+
- ./ext/audiofile/README
|
50
|
+
- ./ext/audiofile/fail.rb
|
51
|
+
- ./ext/audiofile/depend
|
52
|
+
- ./ext/rmac
|
53
|
+
- ./ext/rmac/extconf.rb
|
54
|
+
- ./ext/rmac/rmac.cpp
|
55
|
+
- ./ext/rmac/mkmf.log
|
56
|
+
- ./ext/vorbisfile
|
57
|
+
- ./ext/vorbisfile/mkmf.log
|
58
|
+
- ./ext/vorbisfile/configure
|
59
|
+
- ./ext/vorbisfile/test.rb
|
60
|
+
- ./ext/vorbisfile/vorbisfile.c
|
61
|
+
- ./ext/vorbisfile/ChangeLog
|
62
|
+
- ./ext/vorbisfile/extconf.rb
|
63
|
+
- ./ext/vorbisfile/README
|
64
|
+
- ./ext/flac
|
65
|
+
- ./ext/flac/extconf.rb
|
66
|
+
- ./ext/flac/test.rb
|
67
|
+
- ./ext/flac/flac.c
|
68
|
+
- ./ext/flac/mkmf.log
|
69
|
+
- ./ext/mahoro-0.1
|
70
|
+
- ./ext/mahoro-0.1/mkmf.log
|
71
|
+
- ./ext/mahoro-0.1/test.rb
|
72
|
+
- ./ext/mahoro-0.1/mahoro.c
|
73
|
+
- ./ext/mahoro-0.1/INSTALL
|
74
|
+
- ./ext/mahoro-0.1/extconf.rb
|
75
|
+
- ./crear_vista.sql
|
76
|
+
- ./VERSION
|
77
|
+
- ./sql
|
78
|
+
- ./sql/catori_mysql.sql
|
79
|
+
- ./sql/catori_pg.sql
|
80
|
+
- ./bin
|
81
|
+
- ./bin/catori
|
82
|
+
- ./lib
|
83
|
+
- ./lib/taglib.rb
|
84
|
+
- ./lib/catori.rb
|
85
|
+
- ./lib/catori
|
86
|
+
- ./lib/catori/Catalogador.rb
|
87
|
+
- ./lib/catori/Db.rb
|
88
|
+
- ./lib/catori/Gui.rb
|
89
|
+
- ./lib/catori/Query.rb
|
90
|
+
- ./lib/catori/taglib.rb
|
91
|
+
- ./lib/catori/XML.rb
|
92
|
+
- ./lib/catori/Installer.rb
|
93
|
+
- ./lib/catori/catori_gui.glade
|
94
|
+
- ./lib/catori/catori_gui.gladep
|
95
|
+
- ./lib/catori/catori_gui.glade.bak
|
96
|
+
- ./lib/catori/catori_gui.gladep.bak
|
97
|
+
- ./lib/audioinfo.rb
|
98
|
+
- ./lib/pixmaps
|
99
|
+
- ./lib/pixmaps/artist.png
|
100
|
+
- ./lib/pixmaps/cdr.png
|
101
|
+
- ./lib/pixmaps/song.png
|
102
|
+
- ./lib/pixmaps/album.png
|
103
|
+
- ./construir
|
104
|
+
- ./install.rb
|
105
|
+
- ./tests
|
106
|
+
- ./tests/saw.wav
|
107
|
+
- ./tests/saw.mp3
|
108
|
+
- ./tests/saw.flac
|
109
|
+
- ./tests/saw.ogg
|
110
|
+
- ./tests/saw.mpc
|
111
|
+
- ./tests/saw.ape
|
112
|
+
- ./tests/test_audioinfo.rb
|
113
|
+
- ./instalar.txt
|
114
|
+
- ./doc
|
115
|
+
- ./changelog.txt
|
116
|
+
- lib/taglib.rb
|
117
|
+
- lib/catori.rb
|
118
|
+
- lib/catori
|
119
|
+
- lib/catori/Catalogador.rb
|
120
|
+
- lib/catori/Db.rb
|
121
|
+
- lib/catori/Gui.rb
|
122
|
+
- lib/catori/Query.rb
|
123
|
+
- lib/catori/taglib.rb
|
124
|
+
- lib/catori/XML.rb
|
125
|
+
- lib/catori/Installer.rb
|
126
|
+
- lib/catori/catori_gui.glade
|
127
|
+
- lib/catori/catori_gui.gladep
|
128
|
+
- lib/catori/catori_gui.glade.bak
|
129
|
+
- lib/catori/catori_gui.gladep.bak
|
130
|
+
- lib/audioinfo.rb
|
131
|
+
- lib/pixmaps
|
132
|
+
- lib/pixmaps/artist.png
|
133
|
+
- lib/pixmaps/cdr.png
|
134
|
+
- lib/pixmaps/song.png
|
135
|
+
- lib/pixmaps/album.png
|
136
|
+
- tests/saw.wav
|
137
|
+
- tests/saw.mp3
|
138
|
+
- tests/saw.flac
|
139
|
+
- tests/saw.ogg
|
140
|
+
- tests/saw.mpc
|
141
|
+
- tests/saw.ape
|
142
|
+
- tests/test_audioinfo.rb
|
143
|
+
- ext/mpc
|
144
|
+
- ext/mpc/extconf.rb
|
145
|
+
- ext/mpc/mpc.c
|
146
|
+
- ext/mpc/id3tag.h
|
147
|
+
- ext/mpc/test.rb
|
148
|
+
- ext/mpc/mpp.h
|
149
|
+
- ext/mpc/mkmf.log
|
150
|
+
- ext/mpc/id3tag.c
|
151
|
+
- ext/mpc/mppdec.h
|
152
|
+
- ext/audiofile
|
153
|
+
- ext/audiofile/audiofile.c
|
154
|
+
- ext/audiofile/test.rb
|
155
|
+
- ext/audiofile/audiofile.rd
|
156
|
+
- ext/audiofile/MANIFEST
|
157
|
+
- ext/audiofile/extconf.rb
|
158
|
+
- ext/audiofile/mkmf.log
|
159
|
+
- ext/audiofile/README
|
160
|
+
- ext/audiofile/fail.rb
|
161
|
+
- ext/audiofile/depend
|
162
|
+
- ext/rmac
|
163
|
+
- ext/rmac/extconf.rb
|
164
|
+
- ext/rmac/rmac.cpp
|
165
|
+
- ext/rmac/mkmf.log
|
166
|
+
- ext/vorbisfile
|
167
|
+
- ext/vorbisfile/mkmf.log
|
168
|
+
- ext/vorbisfile/configure
|
169
|
+
- ext/vorbisfile/test.rb
|
170
|
+
- ext/vorbisfile/vorbisfile.c
|
171
|
+
- ext/vorbisfile/ChangeLog
|
172
|
+
- ext/vorbisfile/extconf.rb
|
173
|
+
- ext/vorbisfile/README
|
174
|
+
- ext/flac
|
175
|
+
- ext/flac/extconf.rb
|
176
|
+
- ext/flac/test.rb
|
177
|
+
- ext/flac/flac.c
|
178
|
+
- ext/flac/mkmf.log
|
179
|
+
- ext/mahoro-0.1
|
180
|
+
- ext/mahoro-0.1/mkmf.log
|
181
|
+
- ext/mahoro-0.1/test.rb
|
182
|
+
- ext/mahoro-0.1/mahoro.c
|
183
|
+
- ext/mahoro-0.1/INSTALL
|
184
|
+
- ext/mahoro-0.1/extconf.rb
|
185
|
+
- bin/catori
|
186
|
+
test_files:
|
187
|
+
- tests/test_audioinfo.rb
|
188
|
+
rdoc_options: []
|
189
|
+
|
190
|
+
extra_rdoc_files: []
|
191
|
+
|
192
|
+
executables:
|
193
|
+
- catori
|
194
|
+
extensions:
|
195
|
+
- ext/mpc/extconf.rb
|
196
|
+
- ext/audiofile/extconf.rb
|
197
|
+
- ext/rmac/extconf.rb
|
198
|
+
- ext/vorbisfile/extconf.rb
|
199
|
+
- ext/flac/extconf.rb
|
200
|
+
- ext/mahoro-0.1/extconf.rb
|
201
|
+
requirements:
|
202
|
+
- libFLAC
|
203
|
+
- libogg
|
204
|
+
- libmac
|
205
|
+
- mpcdec
|
206
|
+
- audiofile
|
207
|
+
- mac
|
208
|
+
dependencies:
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: ruby-mp3info
|
211
|
+
version_requirement:
|
212
|
+
version_requirements: !ruby/object:Gem::Version::Requirement
|
213
|
+
requirements:
|
214
|
+
- - ">="
|
215
|
+
- !ruby/object:Gem::Version
|
216
|
+
version: "0.5"
|
217
|
+
version:
|