mod_musicindex
1.4.1
|
#include "mod_musicindex.h"
Go to the source code of this file.
Functions | |
mu_ent * | make_mp4_entry (request_rec *r, apr_pool_t *pool, FILE *const in, const char *const filename) |
Fills in the information fields about MP4 data. |
mu_ent* make_mp4_entry | ( | request_rec * | r, |
apr_pool_t * | pool, | ||
FILE *const | in, | ||
const char *const | filename | ||
) |
Fills in the information fields about MP4 data.
This function reads the mp4 metadata (using libmp4) from the MP4 file in and fills in the struct mu_ent fields accordingly. The code is based on sample files from mpeg4ip/libmp4v2.
r | Apache request_rec struct to handle log writings (debugging) |
pool | Pool |
in | MP4 file to parse (closed on normal exit) |
filename | current filename |
Definition at line 74 of file playlist-mp4.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_MP4, mu_ent::genre, mu_ent::length, MI_QUICKPL, mp4_ext_check(), mu_ent::mtime, musicindex_module, NEW_ENT, mu_config::options, mu_ent::posn, mu_ent::size, mu_ent::title, and mu_ent::track.