Module track_ops

Module track_ops 

Source

Structs§

AlbumRead
The lowest information required for a TrackRead to identify a Album.
TrackRead

Enums§

RowOrdering

Functions§

all_distinct_directories
Get all distinct directories.
all_distinct_genres
Get all genres that are currently in the database. Note that NULL will be mapped to [unknown]
count_all_track_metadata
Count all rows currently in the tracks_metadata database
count_all_tracks
Count all rows currently in the tracks database
delete_tracks_artists_mapping_for
Remove all tracks-artists mappings for the given path or track id.
get_all_artists_for_track
Get all the artists for a given track.
get_all_tracks
Get all the Tracks currently stored in the database with all the important data.
get_last_position
Get the last_position for the given track.
get_track_from_path
Get all tracks associated with a genre.
get_tracks_from_album
Get all tracks associated with the given album.
get_tracks_from_artist
Get all tracks associated with the given artist.
get_tracks_from_directory
Get all tracks associated with the given directory.
get_tracks_from_genre
Get all tracks associated with a genre.
get_tracks_from_genre_like
Get all tracks that match a genre like.
set_last_position
Set the last_positon for the given track.
track_exists
Check if a entry for the given track exists.