package shakuhachi
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=541a7ac078a520730a71edf4d2fe0f17cc98f0b9ad82060db62120a7d2519ae5
sha512=37b98cb52dab8293adb92f71e91394cf1c5d0d481d03893c320cc8aa550459a30dabdfdc0018f512d3a7a547f2899b493a20d86f450bc084b78e30b40234a911
doc/shakuhachi.config/SkhcConfig/Format/index.html
Module SkhcConfig.FormatSource
Operations on the .format section.
type of the format section.
section name
default is the section used if the format section is missing from the configuration file.
val init :
filename:string ->
artist_artwork:string ->
album_cover:string ->
music_list:string ->
album_list:string ->
artist_list:string ->
music_remove:string ->
tinit ~filename ~artist_artwork ~album_cover ~music_list ~album_list ~artist_list ~music_remove create a format section with filename, artist_artwork, album_cover, music_list, album_list, artist_list and music_remove.
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.
filename format returns the formatting used for naming a music file.
artist_cover format returns the formatting used for naming an artist's artwork.
album_cover format returns the formatting used for naming an album's cover.
music_list format returns the formatting used when listing musics.
album_list format returns the formatting used when listing albums.