This repository has been archived on 2021-11-25. You can view files and clone it, but cannot push or open issues/pull-requests.
VideoSite/LocalCoverUpdate.cpp

19 lines
840 B
C++
Raw Permalink Blame History

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

#include "Request.h"
#include "Response.h"
using namespace HTTPWrapper;
#include <Windows.h>
#include <shellapi.h>
int main()
{
Request req;
Response res;
ShellExecute(NULL, "open", "python.exe", "generate_cover.py","F:\\faaq\\OutSideVideo",SW_SHOW);
res.writer << "<html><head><title>Cover Updating...</title></head><body><h1>Cover is being generated...</h1></body></html>";
return 0;
}