Win HOW TO - Kodi 2D - 3D - UHD (4k) HDR Guide Internal & External Players ISO Menus
Turn off all the notifications in 'Program Settings'. You should only have 2 things checked in there. It will briefly pop up and Kodi will resume focus while PDVD loads then PDVD takes focus. This is because the task at hand is it's reading the disc VCD just mounted. Once PDVD is closed via alt + f4 mapped to your remote, Kodi resumes focus and AnyDVD notification window is under it. You'll notice that once you close Kodi and you can close it with the same mapped alt + F4 if you want. You too may need to adjust 'timeout /t 10' to a higher value.

You press enter and:

Kodi playercorefactory assumes tasking which in turn analyzes media type defined in 'Rules' and redirects to ISO.bat which does more in depth analysis and obeys instructions. This function is basically immediate but time is not crucial because the other functions will not start until this is complete and are in wait state.

VCD program is called and mounts the iso to instructed drive letter. Speed at which your machine performs this command is crucial as are the rest of the commands. If VCD has not mounted the iso completely BEFORE the next task begins (AnyDVD analyze iso) then AnyDVD cannot properly do it's job and so on and so forth for the next task. Timing is crucial. Too fast, and the chain is broken. The code allows 2 seconds for this command before initiating the next command.

Once VCD has mounted the iso, then and only then AnyDVD should be called. It takes quite a bit to open the program, analyze the disc, connect to server(s) dependent on your internet connection, and apply the magic. AnyDVD notification window will open on top of Kodi showing what it analyzes and the changes it makes. Then it releases focus and Kodi resumes focus. The code allows 10 seconds for this to occur. You may need to increase the time. If you did not allow ample time, AnyDVD notification will remain uncompleted and PDVD takes over. Chain is broken. It will also remain IF you told it to display notifications for ANYTHING. Turn them all off.

Once AnyDVD has finished it's job, then and only then PDVD should be called. It reads the mounted iso drive letter you assigned it to read and will open it just as if it was inserted into your dedicated player and begins playback with no interaction to start it.

When you close PDVD, the iso is dismounted and you return to Kodi in focus.

When you close Kodi, the AnyDVD notification window will be present.

Also, the 1st time AnyDVD is called, is when it takes focus for a few seconds to actually open the program. Subsequent calls do not as the notification window is already open under Kodi which is in focus. Think of it as starting AnyDVD allows access to settings. Using the program opens a notification window showing what it's doing briefly and releases focus. Once that notification working window has been opened, it doesn't need to take brief focus again for subsequent use. Would be nice if they added a toggle setting to perform this in the background without notifying but the short time it's visible isn't a big deal.

Hope this gives you some understanding in the event you need to tailor the script slightly dependent on your environment. I think your problem in particular is you have some notification alerts you should turn off that will prevent the window from retaining focus.
HOW TO - Kodi 2D - 3D - UHD (4k) HDR Guide Internal & External Players iso menus
DIY HOME THEATER WIND EFFECT

W11 Pro 24H2 MPC-BE\HC madVR KODI 22 GTX960-4GB/RGB 4:4:4/Desktop 60Hz 8bit Video Matched Refresh rates 23,24,50,60Hz 8/10/12bit/Samsung 82" Q90R Denon S720W
Reply


Messages In This Thread
RE: Kodi 3D Guide - by brazen1 - 2015-06-15, 22:20
RE: Kodi 3D Guide - by brazen1 - 2015-06-15, 22:29
RE: Kodi 3D Guide - by michaelsammler - 2015-06-22, 00:38
RE: Kodi 3D Guide - by brazen1 - 2015-06-23, 17:15
RE: Kodi 3D Guide - by michaelsammler - 2015-06-24, 02:23
RE: Kodi 3D Guide - by brazen1 - 2015-06-24, 17:22
RE: Kodi 3D Guide - by michaelsammler - 2015-06-25, 09:26
RE: HOW TO - Kodi 2D & 3D Guide Internal & External Players Incl afedchin build - by brazen1 - 2017-05-11, 18:40
HELP! - by brazen1 - 2018-08-22, 18:50
RE: HELP! - by zxaura1 - 2018-08-24, 09:32
Problem with DXVA scaling videos - by obstler - 2018-10-27, 10:13
Logout Mark Read Team Forum Stats Members Help
HOW TO - Kodi 2D - 3D - UHD (4k) HDR Guide Internal & External Players ISO Menus39