![]() # to work, so I just put the decoration into another decorator # You need to decorate function for callback ![]() Sadly, this is highly platform dependent, but here's a way to do it on windows (as I don't know how to do it on any other platform):įrom ctypes.wintypes import BOOL, HWND, LPARAM, LPWSTR Normally I don't do this, but since this is very specific problem, and it's very hard to do when you don't know much about win32 API, I will provide an example on how it can be done. It's filename - VLC media player, that's exactly what you need. Open any song in VLC, and check what the title is. Instead we will do it the "hacky" way where will be no hacking, just stupid find title and extract the song name. You're lucky that you want to use VLC, because you can access the data without anything hacky, such as, finding pointers in VLC process memory to figure out where the name of the song is stored.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |