Module String.KeySource

Operations on keys for string field

Sourcetype t =
  1. | Title
  2. | SortName
  3. | Artist
  4. | Album
  5. | AlbumArtist
  6. | Composer
  7. | Genre
  8. | Path
  9. | FileExtension
  10. | Arbitrary of string
    (*
    • since 0.3.0
    *)
Sourceval default : t list

default is a list of keys used by skhc when the query.field key in configuration file is missing.

Sourceval equal : t -> t -> bool
Sourceval compare : t -> t -> int
Sourceval to_string : t -> string

to_string field returns a string representation of field.

Sourceval of_string : string -> t option

of_string s tries to parse s a key associated with a substring.