Thread(target=asyncio.run, args=(createPlayer('PathToFolder1', '
www.youtube.com'),)).start()
Thread(target=asyncio.run, args=(createPlayer('PathToFolder2', '
www.youtube.com'),)).start()
each createPlayer() function has it's own Initialize(), CreateBrowserSync(), MessageLoop() and Shutdown()
but that way I get a "cefpython.CreateBrowserSync() may only be called on the UI thread" error
Managed to open 2 windows on previous attempts but those ended up using the same cache folder despite the folder being settled different inside the createPlayer() function.
Does anyone have a clue on how to create 2 browser windows (with different cache folders) in any way in python?