make compatible to Estuary skin
This commit is contained in:
parent
9ca445d772
commit
227733fe55
11
addon.py
11
addon.py
@ -147,10 +147,13 @@ def get_feature(movieid):
|
|||||||
return feature
|
return feature
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
for arg in sys.argv[1:]:
|
if (sys.argv[1] == 'experience'):
|
||||||
(name, value) = arg.split('=')
|
movieid = xbmc.getInfoLabel('ListItem.DBID').decode('utf-8')
|
||||||
if name == 'dbid':
|
else:
|
||||||
movieid = int(value)
|
for arg in sys.argv[1:]:
|
||||||
|
(name, value) = arg.split('=')
|
||||||
|
if name == 'dbid':
|
||||||
|
movieid = int(value)
|
||||||
|
|
||||||
cinematic_path = ADDON.getSettingString('cinematic_path')
|
cinematic_path = ADDON.getSettingString('cinematic_path')
|
||||||
feature = get_feature(movieid)
|
feature = get_feature(movieid)
|
||||||
|
Loading…
Reference in New Issue
Block a user