mod_musicindex  1.4.1
playlist-vorbis.h File Reference
#include "mod_musicindex.h"

Go to the source code of this file.

Functions

mu_entmake_ogg_entry (request_rec *r, apr_pool_t *pool, FILE *const in, const char *const filename)
 Fills in the information fields about OGG data.

Function Documentation

mu_ent* make_ogg_entry ( request_rec *  r,
apr_pool_t pool,
FILE *const  in,
const char *const  filename 
)

Fills in the information fields about OGG data.

This function reads the ogg tags (using libvorbisfile) from the ogg file in and fills in the struct mu_ent fields accordingly.

Parameters
poolPool
inogg file to parse (closed on normal exit)
filenamecurrent filename
rApache request_rec struct to handle log writings (debugging)
Returns
When possible, struct mu_ent correctly set up, file stream closed.

Definition at line 70 of file playlist-vorbis.c.

References mu_ent::album, apr_pstrdup, mu_ent::artist, mu_ent::bitrate, mu_ent::date, EF_VBR, mu_ent::filetype, mu_ent::flags, mu_ent::freq, FT_OGG, mu_ent::genre, mu_ent::length, MI_QUICKPL, mu_ent::mtime, musicindex_module, NEW_ENT, ogg_ext_check(), mu_config::options, mu_ent::posn, mu_ent::size, mu_ent::title, and mu_ent::track.