mod_musicindex  1.4.1
mu_ent Struct Reference

Music entry. More...

#include <mod_musicindex.h>

Data Fields

struct mu_entnext
const char * file
 file uri.
const char * filename
 filename (as in uri).
const char * uri
 file URI (unique)
const char *restrict album
 album (if any)
const char *restrict artist
 artist (if any)
const char *restrict title
 title (as shown on the webpages)
const char *restrict genre
 genre (type of music - if any)
unsigned long bitrate
 bitrate in bits per second
unsigned long size
 size in bytes
unsigned long mtime
 last modification time
unsigned short freq
 samplerate frequency
unsigned short length
 length in seconds
unsigned short date
 date (year actually)
unsigned char flags
 flags associated with the file
unsigned char track
 track number
unsigned char posn
 "part of a set" number, that is, disc number
signed char filetype
 file type, associated to a display string and a mimetype string

Detailed Description

Music entry.

Contains various data about an associated file. Special care has been taken toward typing to avoid memory waste.

Definition at line 305 of file mod_musicindex.h.

Field Documentation

unsigned long mu_ent::bitrate
const char* mu_ent::file

file uri.

Relative uri unless MI_CUSTOM.

Definition at line 307 of file mod_musicindex.h.

Referenced by list_songs(), make_music_entry(), mysql_cache_dircontents(), send_directories(), and tarball_op().

const char* mu_ent::filename

filename (as in uri).

file absolute path if MI_TARBALL

Definition at line 308 of file mod_musicindex.h.

Referenced by list_songs(), make_music_entry(), mysql_cache_dircontents(), and tarball_op().

signed char mu_ent::filetype
const char* restrict mu_ent::genre
unsigned char mu_ent::posn
const char* mu_ent::uri

file URI (unique)

Definition at line 309 of file mod_musicindex.h.

Referenced by cookie_addall(), list_songs(), make_music_entry(), mysql_cache_dircontents(), and send_playlist().


The documentation for this struct was generated from the following file: