- January 27, 2010
- 123
- 2
MediaPortal Version: 1.1.0 RC1
MediaPortal Skin: StreamedMP 1.0.0.1067
Windows Version: Windows 7 x64
CPU Type: Intel Core 2 Duo E8400 @ 3.00 GHz
HDD: Kingston SSDNow V-Series 64GB
Memory: G.Skill DIMM Kit 4GB PC2-8000U CL5 DDR2-1000
Motherboard: ASUS Rampage Formula
Video Card: ATI HD5750
Video Card Driver: Catalyst 9.12 & Realtek HDMI 2.39
1. TV Card: FloppyDTV
1. TV Card Type: DVB-C
1. TV Card Driver: latest
MPEG2 Video Codec: CyberLink PowerDVD9
MPEG2 Audio Codec: ffdshow
h.264 Video Codec: CyberLink PowerDVD9
TV - HTPC Connection: HDMI
Hello.
Whenever a PC that is running MediaPortal loses power (e.g. through an outage or a hard reset), it will break the Mediaportal.exe.config file (the file will be empty after the power loss).
MediaPortal does not startup with an empty .exe.config file though, so it'll give you an error. Simply replacing the new (empty) Mediaportal.exe.config with an backup of the original file will fix the problem and MePo will start again.
At the moment I am using a bit of a workaround to make sure MePo starts no matter what: I have a batch file in my Windows auto startup which replaces the current Mediaportal.exe.config with a backup version of it (the file will be replaced no matter if it's broken or not) and then starts MediaPortal.
This works fine for the time being, but it's not an ideal workaround, since it takes some time until the file is overwritten (~ 1 sec) and MePo is started.
So I thought maybe one could prevent the .exe.config from breaking in the first place, hence a workaround wouldn't even be necessary? Like, restricting write access to the file, so it couldn't be emptied by MePo (or who/whatever).
Is this possible? Has anyone tried that? Please let me know!
Thanks in advance!
Best regards.
MediaPortal Skin: StreamedMP 1.0.0.1067
Windows Version: Windows 7 x64
CPU Type: Intel Core 2 Duo E8400 @ 3.00 GHz
HDD: Kingston SSDNow V-Series 64GB
Memory: G.Skill DIMM Kit 4GB PC2-8000U CL5 DDR2-1000
Motherboard: ASUS Rampage Formula
Video Card: ATI HD5750
Video Card Driver: Catalyst 9.12 & Realtek HDMI 2.39
1. TV Card: FloppyDTV
1. TV Card Type: DVB-C
1. TV Card Driver: latest
MPEG2 Video Codec: CyberLink PowerDVD9
MPEG2 Audio Codec: ffdshow
h.264 Video Codec: CyberLink PowerDVD9
TV - HTPC Connection: HDMI
Hello.
Whenever a PC that is running MediaPortal loses power (e.g. through an outage or a hard reset), it will break the Mediaportal.exe.config file (the file will be empty after the power loss).
MediaPortal does not startup with an empty .exe.config file though, so it'll give you an error. Simply replacing the new (empty) Mediaportal.exe.config with an backup of the original file will fix the problem and MePo will start again.
At the moment I am using a bit of a workaround to make sure MePo starts no matter what: I have a batch file in my Windows auto startup which replaces the current Mediaportal.exe.config with a backup version of it (the file will be replaced no matter if it's broken or not) and then starts MediaPortal.
This works fine for the time being, but it's not an ideal workaround, since it takes some time until the file is overwritten (~ 1 sec) and MePo is started.
So I thought maybe one could prevent the .exe.config from breaking in the first place, hence a workaround wouldn't even be necessary? Like, restricting write access to the file, so it couldn't be emptied by MePo (or who/whatever).
Is this possible? Has anyone tried that? Please let me know!
Thanks in advance!
Best regards.