Auto play videos

I want to automate the myshows.ru service. Now Riht must manually enter information about the watched films.

I want to write a C ++ program that receives movie titles in a video player and scans them into my account in the service.

What libraries can I use for this job?

+3
source share
1 answer

Use simple Winapi functions in tandem with some library of regular expressions. You need to list the windows on your system (get their descriptors HWND), then take their captions and save them in std::strings. The next step is to check whether your title matches some regular expression (for example, it can be boost::regexor boost::xpressive) - so you will need to maintain a regular expression database for all possible multimedia file headers.

, , . , , , Winapi (, mpc.exe winamp.exe). ( ) . , process name - caption regex .

( ), - .. ..

+2

Source: https://habr.com/ru/post/1747837/


All Articles