From 78f01e5d7b61b75fe9e5bf0db666cfcebadd0e4f Mon Sep 17 00:00:00 2001 From: marco Date: Fri, 17 Jan 2020 23:09:39 +0100 Subject: [PATCH] fix nextep --- core/support.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/support.py b/core/support.py index 02e5b886..5293231d 100755 --- a/core/support.py +++ b/core/support.py @@ -1055,7 +1055,7 @@ def controls(itemlist, item, AutoPlay=True, CheckLinks=True, down_load=True): checklinks_number = get_setting('checklinks_number') itemlist = servertools.check_list_links(itemlist, checklinks_number) - if AutoPlay == True and not 'downloads' in inspect.stack()[3][1] + inspect.stack()[4][1] and item.contentChannel != 'videolibrary': + if AutoPlay == True and not 'downloads' in inspect.stack()[3][1] + inspect.stack()[4][1]: autoplay.start(itemlist, item) if item.contentChannel != 'videolibrary': videolibrary(itemlist, item, function_level=3)