mod_musicindex
1.4.1
|
Music entry. More...
#include <mod_musicindex.h>
Data Fields | |
struct mu_ent * | next |
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 |
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.
const char* restrict mu_ent::album |
album (if any)
Definition at line 310 of file mod_musicindex.h.
Referenced by cache_file_write(), file_make_cache_entry(), list_songs(), make_flac_entry(), make_mp3_entry(), make_mp4_entry(), make_music_entry(), make_ogg_entry(), mysql_cache_new_ent(), mysql_cache_write(), and send_playlist().
const char* restrict mu_ent::artist |
artist (if any)
Definition at line 311 of file mod_musicindex.h.
Referenced by cache_file_write(), file_make_cache_entry(), list_songs(), make_flac_entry(), make_mp3_entry(), make_mp4_entry(), make_music_entry(), make_ogg_entry(), mysql_cache_new_ent(), mysql_cache_write(), and send_playlist().
unsigned long mu_ent::bitrate |
bitrate in bits per second
Definition at line 314 of file mod_musicindex.h.
Referenced by cache_file_write(), file_make_cache_entry(), list_songs(), make_flac_entry(), make_mp3_entry(), make_mp4_entry(), make_ogg_entry(), mysql_cache_new_ent(), and mysql_cache_write().
unsigned short mu_ent::date |
date (year actually)
Definition at line 319 of file mod_musicindex.h.
Referenced by cache_file_write(), file_make_cache_entry(), list_songs(), make_flac_entry(), make_mp3_entry(), make_mp4_entry(), make_ogg_entry(), mysql_cache_new_ent(), and mysql_cache_write().
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 |
file type, associated to a display string and a mimetype string
Definition at line 323 of file mod_musicindex.h.
Referenced by cache_file_write(), file_make_cache_entry(), inf_global(), list_songs(), make_flac_entry(), make_mp3_entry(), make_mp4_entry(), make_music_entry(), make_ogg_entry(), mysql_cache_new_ent(), mysql_cache_write(), send_directories(), and sort_mergesort().
unsigned char mu_ent::flags |
flags associated with the file
Definition at line 320 of file mod_musicindex.h.
Referenced by cache_file_write(), file_make_cache_entry(), list_songs(), make_cache_entry(), make_flac_entry(), make_mp3_entry(), make_mp4_entry(), make_music_entry(), make_ogg_entry(), mysql_cache_dircontents(), mysql_cache_new_ent(), mysql_cache_write(), send_directories(), and send_playlist().
unsigned short mu_ent::freq |
samplerate frequency
Definition at line 317 of file mod_musicindex.h.
Referenced by cache_file_write(), file_make_cache_entry(), list_songs(), make_flac_entry(), make_mp3_entry(), make_mp4_entry(), make_ogg_entry(), mysql_cache_new_ent(), and mysql_cache_write().
const char* restrict mu_ent::genre |
genre (type of music - if any)
Definition at line 313 of file mod_musicindex.h.
Referenced by cache_file_write(), file_make_cache_entry(), list_songs(), make_mp3_entry(), make_mp4_entry(), make_ogg_entry(), mysql_cache_new_ent(), and mysql_cache_write().
unsigned short mu_ent::length |
length in seconds
Definition at line 318 of file mod_musicindex.h.
Referenced by cache_file_write(), file_make_cache_entry(), handle_musicfile(), list_songs(), make_flac_entry(), make_mp3_entry(), make_mp4_entry(), make_ogg_entry(), mysql_cache_new_ent(), mysql_cache_write(), and send_playlist().
unsigned long mu_ent::mtime |
last modification time
Definition at line 316 of file mod_musicindex.h.
Referenced by cache_file_write(), file_make_cache_entry(), make_flac_entry(), make_mp3_entry(), make_mp4_entry(), make_ogg_entry(), mysql_cache_dircontents(), mysql_cache_new_ent(), and mysql_cache_write().
struct mu_ent* mu_ent::next |
Definition at line 306 of file mod_musicindex.h.
Referenced by build_custom_list(), cookie_addall(), list_songs(), make_music_entry(), mysql_cache_dircontents(), send_directories(), send_playlist(), send_rss(), sort_mergesort(), and tarball_op().
unsigned char mu_ent::posn |
"part of a set" number, that is, disc number
Definition at line 322 of file mod_musicindex.h.
Referenced by cache_file_write(), file_make_cache_entry(), list_songs(), make_flac_entry(), make_mp3_entry(), make_mp4_entry(), make_ogg_entry(), mysql_cache_new_ent(), and mysql_cache_write().
unsigned long mu_ent::size |
size in bytes
Definition at line 315 of file mod_musicindex.h.
Referenced by cache_file_write(), file_make_cache_entry(), list_songs(), make_flac_entry(), make_mp3_entry(), make_mp4_entry(), make_music_entry(), make_ogg_entry(), mysql_cache_dircontents(), mysql_cache_new_ent(), mysql_cache_write(), and tarball_op().
const char* restrict mu_ent::title |
title (as shown on the webpages)
Definition at line 312 of file mod_musicindex.h.
Referenced by cache_file_write(), file_make_cache_entry(), list_songs(), make_flac_entry(), make_mp3_entry(), make_mp4_entry(), make_music_entry(), make_ogg_entry(), mysql_cache_new_ent(), mysql_cache_write(), send_directories(), and send_playlist().
unsigned char mu_ent::track |
track number
Definition at line 321 of file mod_musicindex.h.
Referenced by cache_file_write(), file_make_cache_entry(), list_songs(), make_flac_entry(), make_mp3_entry(), make_mp4_entry(), make_ogg_entry(), mysql_cache_new_ent(), and mysql_cache_write().
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().