File: README

package info (click to toggle)
ruby-taglib 1.1-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 80 kB
  • ctags: 202
  • sloc: ruby: 1,230; makefile: 32; sh: 12
file content (21 lines) | stat: -rw-r--r-- 523 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
ruby-taglib is a library that wraps taglib.  It uses dl to give access to
taglib's C library.

Taglib is available at http://developer.kde.org/~wheeler/taglib.html

To detect file types, ruby-taglib optionally uses Mahoro (
http://mahoro.rubyforge.org/ ) when available.

Example of use (with exception handling omitted):
----
require 'taglib'

file = TagLib::File.new('test.mp3')
puts "Old title: #{file.title}"

file.title = "New title"
file.save
file.close
----

For a full list of data available, see taglib.rb itself.