package taglib

  1. Overview
  2. Docs
Bindings for the taglib library

Install

Dune Dependency

Authors

Maintainers

Sources

v0.3.9.tar.gz
md5=4e99661c99ff48cdc742cb47626eb06e
sha512=7ec9cd2439c10079be0ab96a759557ef7254bd5dbb49fb82f8d628b880a70b0f768c22fd6b69100567eda67290b2c3c9272addb2ae3578e050a6a891688e2427

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.