Kodi plugin to to play various online streams (mostly Latvian)

12
  1. import re,sys
  2. print re.search('<addon version="([^"]+)',open(sys.argv[1]).read()).group(1)