master
Бородин Роман 2019-05-05 14:41:12 +03:00
parent f8ac0c159d
commit b3a8e55bc0
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from codequick import Route, Resolver, Listitem, utils, run # @UnresolvedImport
from codequick import Route, Script, Listitem, utils, run # @UnresolvedImport
from codequick.storage import PersistentList # @UnresolvedImport
import os.path
import xbmcgui, xbmc
@ -129,7 +129,7 @@ def open_torrent(plugin, url='--back--', cookies={}, referer='', path=''):
yield None
except:
yield False
@Route.register
@Script.register
def play_file(plugin, t_full_path, f_index):
try:
vl = VideoLoop(t_full_path)