Open GoogleCodeExporter opened 9 years ago
I just tried the native PBS addon, which does correctly obtain the URL to the
video, but I like the functionality of the Free Cable addon better,
specifically, being able to mark various programs as favorites.
Original comment by nos...@gmail.com
on 31 Jan 2013 at 6:00
The link to the same video being tested in the log fragment displayed above, as
available when using the native PBS addon:
http://d2gy0hmj48ipqr.cloudfront.net/cove2.0/old-house/909ece23-b18f-4607-a9e5-565272ece6af/hd-mezzanine-16x9/TOH-3217-COVE-deint-MEZ-16x9-hls.m3u8
Original comment by nos...@gmail.com
on 31 Jan 2013 at 6:04
plugin.video.free.cable/resources/lib/pbs.py
search for "def play():"
Rename the function to def play_old():
create a new play function that looks liket his.
def play():
data = common.getURL(common.args.url+"?format=json")
query = json.loads(data)
finalurl = query['url']
item = xbmcgui.ListItem(path=finalurl)
xbmcplugin.setResolvedUrl(pluginhandle, True, item)
Original comment by yul...@gmail.com
on 4 Apr 2013 at 8:55
One more thing. I forgot to say you need to import simplesjson as json.
import simplejson as json
Original comment by yul...@gmail.com
on 4 Apr 2013 at 8:57
Original issue reported on code.google.com by
nos...@gmail.com
on 31 Jan 2013 at 5:56