From 3f4e427c519aebc2e918443bc03dbec6c5344416 Mon Sep 17 00:00:00 2001 From: chriszero Date: Sun, 22 Feb 2015 16:24:41 +0100 Subject: Typo --- plex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plex.cpp b/plex.cpp index 9d8f35b..cf5f945 100644 --- a/plex.cpp +++ b/plex.cpp @@ -390,7 +390,7 @@ bool cMyPlugin::SetupParse(const char *name, const char *value) void cMyPlugin::PlayFile(plexclient::Video Vid) { isyslog("[plex]: play file '%s'\n", Vid.m_sKey.c_str()); - if(Vid.m_iMyPlayOffset != 0 && Vid.m_lViewoffset > 0 ) { + if(Vid.m_iMyPlayOffset == 0 && Vid.m_lViewoffset > 0 ) { cString message = cString::sprintf(tr("To start from %ld minutes, press Ok."), Vid.m_lViewoffset / 60000); eKeys response = Skins.Message(eMessageType::mtInfo, message, 5); if(response == kOk) { -- cgit v1.2.3