src/lib/lightmediascanner_db_video.c File Reference

#include <lightmediascanner_db.h>
#include "lightmediascanner_db_private.h"
#include <stdlib.h>
#include <stdio.h>

Include dependency graph for lightmediascanner_db_video.c:

Go to the source code of this file.

Functions

lms_db_video_tlms_db_video_new (sqlite3 *db)
int lms_db_video_start (lms_db_video_t *ldv)
int lms_db_video_free (lms_db_video_t *ldv)
int lms_db_video_add (lms_db_video_t *ldv, struct lms_video_info *info)


Function Documentation

int lms_db_video_add ( lms_db_video_t ldv,
struct lms_video_info info 
)

Add video file to DB.

This is usually called from plugin's parse() callback.

Parameters:
ldv handle returned by lms_db_video_new().
info video information to store.
Returns:
On success 0 is returned.

Definition at line 269 of file lightmediascanner_db_video.c.

References lms_video_info::id.


Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  doxygen 1.5.8