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 Normal View History

2018-09-02 10:22:06 +08:00
<EFBFBD><EFBFBD>#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;
}