repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
listen to screensaver events in cectray. bugzid: 1375
[deb_libcec.git]
/
src
/
LibCecTray
/
controller
/
applications
/
internal
/
XBMCController.cs
diff --git
a/src/LibCecTray/controller/applications/internal/XBMCController.cs
b/src/LibCecTray/controller/applications/internal/XBMCController.cs
index 075178c3c47f69db8a692eb4f01154444dacedf0..6b961008986ed01cd26ae12f724eda227c62be1a 100644
(file)
--- a/
src/LibCecTray/controller/applications/internal/XBMCController.cs
+++ b/
src/LibCecTray/controller/applications/internal/XBMCController.cs
@@
-44,8
+44,8
@@
namespace LibCECTray.controller.applications.@internal
{
internal class XBMCController : ApplicationController
{
{
internal class XBMCController : ApplicationController
{
- public XBMCController(CEC
Settings settings
) :
- base(
settings
,
+ public XBMCController(CEC
Controller controller
) :
+ base(
controller
,
Resources.application_xbmc,
"XBMC",
"XBMC.exe",
Resources.application_xbmc,
"XBMC",
"XBMC.exe",
@@
-93,8
+93,13
@@
namespace LibCECTray.controller.applications.@internal
if (File.Exists(filename))
{
XmlTextReader reader = new XmlTextReader(filename);
if (File.Exists(filename))
{
XmlTextReader reader = new XmlTextReader(filename);
- while (
reader.Read()
)
+ while (
true
)
{
{
+ try
+ {
+ if (!reader.Read())
+ break;
+ } catch (XmlException) {}
gotConfig = true;
switch (reader.NodeType)
{
gotConfig = true;
switch (reader.NodeType)
{