From 6ba4ee8fc66f5ed4aae5c4253dd237902ea19c19 Mon Sep 17 00:00:00 2001 From: Matt Date: Tue, 8 Oct 2019 14:00:31 -0400 Subject: [PATCH] Faster join syntax for checking method --- resources/lib/monitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/monitor.py b/resources/lib/monitor.py index c0f5256c..04a1bf9b 100644 --- a/resources/lib/monitor.py +++ b/resources/lib/monitor.py @@ -66,7 +66,7 @@ class Monitor(xbmc.Monitor): elif sender.startswith('upnextprovider'): LOG.info('Attempting to play the next episode via upnext') - method = '.'.join(method.split('.')[1:]) + method = method.split('.', 1)[1] if method not in ('plugin.video.jellyfin_play_action',): LOG.info('Received invalid upnext method: %s', method)