#pragma once
#include "conf.h"
#include "fileList.h"
#define MOVIE_HTML_TOP "\n\n
\ncmyflix\n\n\n\n\n\n\n\n\n\n"
#define MOVIE_HTML_VIDEO "
\n
\n
\n
\n\n×\n
\n
\n
"
#define MOVIE_HTML_BOT "\n
\n
\n
\n\n"
struct fileList *createMoviesDB(progConfig *conf);
void *findMovies(void *threadArg);
void *movieHTML(void *threadArg);
void *cleanMovies(void *threadArg);
void createMoviesHTML(progConfig *conf, fileList *list);
int getMovieID(progConfig *conf, char *movieName);
char *getMoviePoster(progConfig *conf, int tmdb_id);