summaryrefslogtreecommitdiff
path: root/plex.cpp
diff options
context:
space:
mode:
authorchriszero <zerov83@gmail.com>2015-02-22 16:24:41 +0100
committerchriszero <zerov83@gmail.com>2015-02-22 16:24:41 +0100
commit3f4e427c519aebc2e918443bc03dbec6c5344416 (patch)
treebb8d719f2ed84bbdc7e25fce2e38b686649ac3fb /plex.cpp
parent7b4822f878b8cca33839bc23d54157a72a97456d (diff)
downloadvdr-plugin-plex-3f4e427c519aebc2e918443bc03dbec6c5344416.tar.gz
vdr-plugin-plex-3f4e427c519aebc2e918443bc03dbec6c5344416.tar.bz2
Typo
Diffstat (limited to 'plex.cpp')
-rw-r--r--plex.cpp2
1 files changed, 1 insertions, 1 deletions
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) {