package shakuhachi

  1. Overview
  2. Docs
A music collection manager

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.3.1.tar.gz
sha256=91dc3168bc12fdd6032c16f9990018fd54f91cea50d9f6eb798e4d5eecd9c6a6
sha512=a93c4bf39d80d2c595d361b393f0f1fd2fd078e5bd714988e835a0b5ac8c8c48d3b4cbe2e11d33c9168d9f2f44818b6a60e38b32773bd4967c24794abbf323dd

doc/shakuhachi.config/SkhcConfig/Default/index.html

Module SkhcConfig.DefaultSource

Operations on the .default section.

Sourcetype t

type of the default section.

Sourceval section : string

section name.

Sourceval missing_artist : string

name used when artist and album-artist are missing.

Sourceval missing_album : string

name used when album is missing.

Sourceval missing_title : string

name used when music's title is missing.

Sourceval init : artist:string -> album:string -> title:string -> t

init ~artist ~album ~title creates a default section with artist, album and title.

Sourceval default : t

default is the section used if the default section is missing from the configuration file.

Sourceval of_section : Section.t -> t

of_section section parse section to create a default section. If an expected key is missing from section, the key is associated with its default value.

Sourceval to_section : t -> Section.t

to_section default serializes default into a section.

Sourceval title : t -> string

title default returns the default name for a missing title.

Sourceval album : t -> string

album default returns the default name for a missing album.

Sourceval artist : t -> string

artist default returns the default name for a missing artist.