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 c2697885973735bc992989e25cc40cea5a8c09f5..6b961008986ed01cd26ae12f724eda227c62be1a 100644
(file)
--- a/
src/LibCecTray/controller/applications/internal/XBMCController.cs
+++ b/
src/LibCecTray/controller/applications/internal/XBMCController.cs
@@
-1,7
+1,7
@@
/*
* This file is part of the libCEC(R) library.
*
/*
* This file is part of the libCEC(R) library.
*
- * libCEC(R) is Copyright (C) 2011-201
2
Pulse-Eight Limited. All rights reserved.
+ * libCEC(R) is Copyright (C) 2011-201
3
Pulse-Eight Limited. All rights reserved.
* libCEC(R) is an original work, containing original code.
*
* libCEC(R) is a trademark of Pulse-Eight Limited.
* libCEC(R) is an original work, containing original code.
*
* libCEC(R) is a trademark of Pulse-Eight Limited.
@@
-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)
{