diff options
Diffstat (limited to 'PlexServer.cpp')
-rw-r--r-- | PlexServer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/PlexServer.cpp b/PlexServer.cpp index 94ba0e8..4eb1245 100644 --- a/PlexServer.cpp +++ b/PlexServer.cpp @@ -1,3 +1,4 @@ +#include <vdr/tools.h> #include "PlexServer.h" namespace plexclient @@ -31,7 +32,7 @@ PlexServer::PlexServer(std::string data, std::string ip) } std::string PlexServer::GetUri() { - return std::string("http://") + m_sIpAddress + ":" + std::to_string(m_nPort); + return std::string("http://") + m_sIpAddress + ":" + std::string(itoa(m_nPort)); } PlexServer::~PlexServer() |