Esempio n. 1
0
 def _select_source(self, sources):
     if not len(sources) > 1 or addon.getSetting("dontask") == "true":
         source = sources[0]
     else:
         source = resolveurl.choose_source(sources)
     if source:
         self.play_from_link_to_resolve(source)
Esempio n. 2
0
 def _select_source(self, sources):
     if not len(sources) > 1 or addon.getSetting("dontask") == "true":
         source = sources[0]
     else:
         source = resolveurl.choose_source(sources)
     if source:
         self.play_from_link_to_resolve(source)