From 7b4822f878b8cca33839bc23d54157a72a97456d Mon Sep 17 00:00:00 2001 From: chriszero Date: Sat, 21 Feb 2015 18:55:14 +0100 Subject: Suspress playoffset if played via app. --- plex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plex.cpp') diff --git a/plex.cpp b/plex.cpp index c5d7285..9d8f35b 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_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