make compatible to Estuary skin

This commit is contained in:
Ronald Schaten 2021-03-18 21:36:30 +01:00
parent 9ca445d772
commit 227733fe55

View File

@ -147,6 +147,9 @@ def get_feature(movieid):
return feature return feature
if __name__ == '__main__': if __name__ == '__main__':
if (sys.argv[1] == 'experience'):
movieid = xbmc.getInfoLabel('ListItem.DBID').decode('utf-8')
else:
for arg in sys.argv[1:]: for arg in sys.argv[1:]:
(name, value) = arg.split('=') (name, value) = arg.split('=')
if name == 'dbid': if name == 'dbid':