package shakuhachi
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=91dc3168bc12fdd6032c16f9990018fd54f91cea50d9f6eb798e4d5eecd9c6a6
sha512=a93c4bf39d80d2c595d361b393f0f1fd2fd078e5bd714988e835a0b5ac8c8c48d3b4cbe2e11d33c9168d9f2f44818b6a60e38b32773bd4967c24794abbf323dd
doc/shakuhachi.database/SkhcDb/MusicFile/index.html
Module SkhcDb.MusicFileSource
Operation on music file.
type of music file.
val init :
audioproperties:Otaglibc.audioproperties option ->
album_id:int64 option ->
size:int ->
flag:bool ->
rating:int option ->
has_cover:bool ->
string ->
tinit ~audioproperties ~album_id ~size ~flag ~has_cover name creates a music file at Unix.time () with the id = 0.
table name
equal m1 m2 tests whether m1 equals m2. All fields are used for the test.
pp format t is a preety printer for t.
find_from_id db id tries to find the artist inside db with id
filter_map db f queries all music files inside db and applies f to every element, keeping all Some elements returned by f.
all db queries all music files inside db.
insert ?old database t inserts t into database. if old, insert will use id, play_count, flag, rating and created_at fields of old to insert and returns the value.
update db music updates db with music.
remove_id db id removes music file inside db with the id id.
remove db music is remove_id db (id music).