Faster join syntax for checking method

This commit is contained in:
Matt 2019-10-08 14:00:31 -04:00
parent d77d619b50
commit 6ba4ee8fc6
1 changed files with 1 additions and 1 deletions

View File

@ -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)