- March 10, 2006
- 4,434
- 1,897
- Moderator
- #1
When you (re)start MediaPortal, it will overwrite any existing log files. Sometimes existing ones will be renamed to a BAK extension, but it can easaly happen that log files containing useful information, to help the developers, get lost.
So I've written a little batch file on my own HTPC to secure the log files before MediaPortal gets started. Since this might help others provide better log files for the developers to fix things, I've modified it to be more general and usable for others.
Remember to adjust MediaPortal and MP-TVSeries (MovingPictures relies on the MediaPortal setting) log level into 'debug' mode, so that the log files actually contain information the developers can use.
It should work on Windows XP, Vista and Windows 7 in 32-bit and 64-bit flavors (possibly some problems on non-English versions, so please report any bugs). The only other requirement is the open source 7-Zip program, or modify the script to use your own favorite compression program.
And if it wasn't obvious, this script is intended to replace the method you normally use to start MediaPortal, so adjust accordingly.

So I've written a little batch file on my own HTPC to secure the log files before MediaPortal gets started. Since this might help others provide better log files for the developers to fix things, I've modified it to be more general and usable for others.
Remember to adjust MediaPortal and MP-TVSeries (MovingPictures relies on the MediaPortal setting) log level into 'debug' mode, so that the log files actually contain information the developers can use.
It should work on Windows XP, Vista and Windows 7 in 32-bit and 64-bit flavors (possibly some problems on non-English versions, so please report any bugs). The only other requirement is the open source 7-Zip program, or modify the script to use your own favorite compression program.
And if it wasn't obvious, this script is intended to replace the method you normally use to start MediaPortal, so adjust accordingly.