summaryrefslogtreecommitdiff
path: root/PlexServer.cpp
diff options
context:
space:
mode:
authorchriszero <zerov83@gmail.com>2015-05-20 21:18:14 +0200
committerchriszero <zerov83@gmail.com>2015-05-20 21:18:14 +0200
commit709ebb92273ae0af7aae79dfeb55e3ddf17324af (patch)
treeadf10eeaa71b65dfd5343c8d8c31b5728ec334b1 /PlexServer.cpp
parent86cfa7fa64406971990160db56b71c7a71dcf3e5 (diff)
downloadvdr-plugin-plex-709ebb92273ae0af7aae79dfeb55e3ddf17324af.tar.gz
vdr-plugin-plex-709ebb92273ae0af7aae79dfeb55e3ddf17324af.tar.bz2
- Added handling for disapearing or not reachable plexservers
Diffstat (limited to 'PlexServer.cpp')
-rw-r--r--PlexServer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/PlexServer.cpp b/PlexServer.cpp
index 70fc1b7..6b3f0ae 100644
--- a/PlexServer.cpp
+++ b/PlexServer.cpp
@@ -14,6 +14,7 @@ void PlexServer::ParseData(std::string data, std::string ip)
m_sIpAddress = ip;
std::istringstream f(data);
std::string s;
+ Offline = false;
while(std::getline(f, s)) {
int pos = s.find(':');
if(pos > 0) {