MPTestTool is a really great tool!
I would like to use it from the command line, and I would like to perform only step 3, ie, collect all the logs and take a screenshot of the directshow graphs and zip it all up when I detect a crash,...
The reason is that I am currently developing an external application which amongst a few other features will detect when an exception occurs in Mediaportal, silently collect all the logs about the crash, terminate it and restart it. I would like to use the mptesttool to just collect the logs by specifying a special command line parameter, and specifying the zip file name. When doing this, the test tool shall not display ANY dialog that requires user interaction,...
Something like:
mptesttool -step3batch -zip c:\great_log.zip
There is currently one command line parameter that will allow to run all steps, but that's not really what I want! It also displays a dialog telling the user that MP has crashed!
The reason for this is to be able to collect logs of problems, and get MP back to a running state even when the kids are running MP and I am not at home!
Does anyone have the time to add this?
Oh, and one thing about MPTestTool. When running it, it proposes a file name in the main UI on where to save the zip file. If I change the path (add the date or something), and then press "Step 3" button, it seems as it ignores my changed file name and stores it to the one it propsed in the first place! Don't know if this is valid when you use the "browse" button, but it seems to apply when just editing the file name.
Best Regards
I would like to use it from the command line, and I would like to perform only step 3, ie, collect all the logs and take a screenshot of the directshow graphs and zip it all up when I detect a crash,...
The reason is that I am currently developing an external application which amongst a few other features will detect when an exception occurs in Mediaportal, silently collect all the logs about the crash, terminate it and restart it. I would like to use the mptesttool to just collect the logs by specifying a special command line parameter, and specifying the zip file name. When doing this, the test tool shall not display ANY dialog that requires user interaction,...
Something like:
mptesttool -step3batch -zip c:\great_log.zip
There is currently one command line parameter that will allow to run all steps, but that's not really what I want! It also displays a dialog telling the user that MP has crashed!
The reason for this is to be able to collect logs of problems, and get MP back to a running state even when the kids are running MP and I am not at home!
Does anyone have the time to add this?
Oh, and one thing about MPTestTool. When running it, it proposes a file name in the main UI on where to save the zip file. If I change the path (add the date or something), and then press "Step 3" button, it seems as it ignores my changed file name and stores it to the one it propsed in the first place! Don't know if this is valid when you use the "browse" button, but it seems to apply when just editing the file name.
Best Regards
Sweden