package taglib

  1. Overview
  2. Docs
Bindings for the taglib library

Install

Dune Dependency

Authors

Maintainers

Sources

v0.3.7.tar.gz
md5=4f6df8b09126897a394e9acfc6193d59
sha512=04e498d1fc2e3937bc25583175436d1cee8a25aabfdf43df4f30d1878aac97fde1d25be8dca44273fb2223785c3872088d667d6ba3e6cc644730b2f9b4d0491f

doc/taglib/Taglib/index.html

Module TaglibSource

Ocaml bindings to taglib

Taglib provides a set/get interface for several audio file format's tags informations. * * All strings used in this module should be UTF8-encoded.

Types

Sourcetype 'a t

Main type.

Values

Sourceval version : string

Taglib's version.

Generic tag interface

Sourceval tag_title : 'a t -> string
Sourceval tag_artist : 'a t -> string
Sourceval tag_album : 'a t -> string
Sourceval tag_comment : 'a t -> string
Sourceval tag_genre : 'a t -> string
Sourceval tag_year : 'a t -> int
Sourceval tag_track : 'a t -> int

Set tag interface

Sourceval tag_set_title : 'a t -> string -> unit
Sourceval tag_set_artist : 'a t -> string -> unit
Sourceval tag_set_album : 'a t -> string -> unit
Sourceval tag_set_comment : 'a t -> string -> unit
Sourceval tag_set_genre : 'a t -> string -> unit
Sourceval tag_set_year : 'a t -> int -> unit
Sourceval tag_set_track : 'a t -> int -> unit

File interface

Sourcemodule File : sig ... end

Inline interface

Sourcemodule Inline : sig ... end

This module provides an API to manipulate tags not * attached to a file.

Deprecated

This section is for backward compatibility with previous API. It * may be removed at any time.

Sourcetype file_type =
  1. | Mpeg
  2. | OggVorbis
  3. | Flac
  4. | Mpc
  5. | OggFlac
  6. | WavPack
  7. | Speex
  8. | TrueAudio
  9. | Mp4
  10. | Asf
Sourceexception Closed
Sourceexception Not_implemented
Sourceval set_strings_unicode : bool -> unit

This does not do anything now..

Sourceval open_file : ?file_type:file_type -> string -> File.file_type File.file
Sourceval audioproperties_length : File.file_type File.file -> int
Sourceval audioproperties_bitrate : File.file_type File.file -> int
Sourceval audioproperties_samplerate : File.file_type File.file -> int
Sourceval audioproperties_channels : File.file_type File.file -> int
Sourceval close_file : File.file_type File.file -> unit
Sourceval file_save : File.file_type File.file -> bool
OCaml

Innovation. Community. Security.