I am looking for someone who can write a new MOS plugin for using the online movie site: http://yify.tv/
This site has very much online mp4 movies (subtitles loaded from opensubtitles.org) and is worth taking a look.
For XBMC is now a Yifi HD addon available (written in Python): http://superrepo.org/plugin.video.yifymovies.hd/
http://mirrors.superrepo.org/addons/fro ... -1.1.4.zip
The resolver:
- Code: Select all
class resolver:
def run(self, url, name, download=False):
try:
if player().status() is True: return
url = self.yify(url)
if url is None: raise Exception()
if download == True: return url
player().run(name, url)
return url
except:
index().infoDialog(language(30318).encode("utf-8"))
return
def yify(self, url):
try:
result = getUrl(url, proxy=proxy().server).result
url = re.compile('showPkPlayer[(]"(.+?)"[)]').findall(result)[0]
url = 'http://yify.tv/reproductor2/pk/pk/plugins/player_picasa.php?url=https%3A//picasaweb.google.com/' + url
result = getUrl(url, proxy=proxy().server).result
result = re.compile('{(.+?)}').findall(result)[-1]
url = re.compile('"url":"(.+?)"').findall(result)[0]
return url
except:
return
- search movies
- browse genre
- play movies (perhaps SD/HD select)
Is it possible for anyone to convert the Phyton to a RSS/MOS plugin?
Cheers
example:
Movie from webrowser: http://yify.tv/homefront/
Movie loaded 720p: http://redirector.googlevideo.com/videoplayback?id=0078ee31b1132bb4&itag=22&source=picasa&cmo=sensitive_content%3Dyes&ip=0.0.0.0&ipbits=0&expire=1393944765&sparams=id,itag,source,ip,ipbits,expire&signature=D0C75C3E26529BE40CFB9A56F20D4347695A14A.70B6BF1397560BCFC24C13AAEA037380EFFCE6E2&key=lh1&begin=11840