Module Mp3tag.Id3v1


module Id3v1: sig  end
Reading and writing id3 v1.1 tags.


type tag = {
   mutable title : string;
   mutable artist : string;
   mutable album : string;
   mutable year : string;
   mutable comment : string;
   mutable tracknum : int;
   mutable genre : int;
}
An id3 v1.1 tag.
val has_tag : string -> bool
Check if the given file has a id3 v1.1 tag.
Raises Sys_error if an error occurs while opening the file.
val read : string -> tag
Read the tags in a mp3 file.
Raises
val write : tag -> string -> unit
Write the given tag structure into the given file.
Raises Sys_error if an error occurs with the file.
val merge : tag -> tag -> tag
Merge two tags. merge t1 t2 return a new tag where field values in t1 have been replaced by the ones in t2 when they are defined in t2.
val no_tag : tag
The empty tag.