package shakuhachi

  1. Overview
  2. Docs
A music collection manager

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.3.3.tar.gz
sha256=7d07b9c7edcd5f5cee242facf4260272c56e56eb34b897888299ceece3e61d57
sha512=305f97d253d39f3b9d260e018d45f2563bea911cb164ad4d40c450e6c21081f1e7cde68203f9be6633b6933e1bad39da8405b99e8ace58adcc07758d37b8f2fd

doc/shakuhachi.libs/Skhclibs/Collection/Artist/index.html

Module Collection.ArtistSource

Operations on artists

Sourceval set_rating : t -> SkhcDb.Database.t -> SkhcDb.Artist.t -> int option -> (SkhcDb.Artist.t, Sqlite3.Rc.t * string) result

set_rating collection database artist rating sets artist rating to rating. if SkhcDb.Artist.rating artist = rating, returns artist as is. Otherwise, call SkhcDb.Artist.update.

Sourceval sort : (bool * ('a, 'b, 'c, 'd, 'e) SkhcQuery.Field.t) list -> SkhcDb.Artist.t list -> SkhcDb.Artist.t list

set_flag collection database artist sets flag to true. if artist has already flag set to true, this functions returns artist as is. Otherwise, it calls SkhcDb.Artist.update.

unset_flag collection database artist sets flag to false. if artist has already flag set to false, this functions returns artist as is. Otherwise, it calls SkhcDb.Artist.update.

Sourceval artwork : t -> SkhcDb.Artist.t -> string option

artwork library artist returns the cover bytes associated with artist in library. Returns None is artist doesn't have an artwork.

raise Sys_error if one of the underlying system calls fails.