We use the heuristic that a file is of audio type if it contains only
audio streams, otherwise it's considered as video. However now we add
all the audio/video streams to the database. It suffices to just set the
streams pointer since we are already allocating/freeing as we should.
video_info.id = finfo->id;
video_info.title = info.title;
video_info.artist = info.artist;
+ video_info.streams = (struct lms_stream *) streams;
r = lms_db_video_add(plugin->video_db, &video_info);
}