3.0.4
parent
f8ac0c159d
commit
b3a8e55bc0
4
addon.py
4
addon.py
|
@ -1,6 +1,6 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
from __future__ import unicode_literals
|
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
|
from codequick.storage import PersistentList # @UnresolvedImport
|
||||||
import os.path
|
import os.path
|
||||||
import xbmcgui, xbmc
|
import xbmcgui, xbmc
|
||||||
|
@ -129,7 +129,7 @@ def open_torrent(plugin, url='--back--', cookies={}, referer='', path=''):
|
||||||
yield None
|
yield None
|
||||||
except:
|
except:
|
||||||
yield False
|
yield False
|
||||||
@Route.register
|
@Script.register
|
||||||
def play_file(plugin, t_full_path, f_index):
|
def play_file(plugin, t_full_path, f_index):
|
||||||
try:
|
try:
|
||||||
vl = VideoLoop(t_full_path)
|
vl = VideoLoop(t_full_path)
|
||||||
|
|
Loading…
Reference in New Issue