package shakuhachi

  1. Overview
  2. Docs
A music collection manager

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.1.0.tar.gz
sha256=bb7f91cc44c09f922d2a614e9e01fd0d2976840bacf839a8b99de63c6fc5b3b8
sha512=f02827db4228b017bb2ad7d64cb1c0667831ec2341e6f759266ec834e40627c2affeace143c6d5e769b3acce63f889b3cbd1a9ca4768091840e8fce1d4750f86

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

Module SkhcConfig.FormatSource

Operations on the .format section.

Sourcetype t

type of the format section.

Sourceval section : string

section name

Sourceval default : t

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

Sourceval init : filename:string -> music_list:string -> album_list:string -> artist_list:string -> music_remove:string -> t

init ~filename ~music_list ~album_list ~artist_list ~music_remove create a format section with filename, music_list, album_list, artist_list and music_remove.

Sourceval of_section : Section.t -> t

of_section section parse section to create a format 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 format serializes format into a section.

Sourceval filename : t -> string

filename format returns the formatting used for naming a music file.

Sourceval music_list : t -> string

music_list format returns the formatting used when listing musics.

Sourceval artist_list : t -> string

artist format returns the formatting used when listing artists.

Sourceval album_list : t -> string

album_list format returns the formatting used when listing albums.

Sourceval music_remove : t -> string

music_remove format returns the formatting used when removing musics.