2014-03-19, 03:31
(2014-03-17, 02:00)slices Wrote: I'll try Unlocator tommorow if I have time, I've been using http://www.smartdnsproxy.com
Smartdnsproxy works like a charm...thanks Slices!
(2014-03-17, 02:00)slices Wrote: I'll try Unlocator tommorow if I have time, I've been using http://www.smartdnsproxy.com
(2014-03-19, 02:48)killerkiwi2005 Wrote: nice
I have a testing script to if you would like it, it loads all the modules from command line and checks for valid data from each one
(2014-03-07, 00:00)dubwise Wrote: Hey guys, looks like something changed on Spike (TV) again. I can no longer watch Powerblock or PowerNation shows. I'm running the latest beta (plus the fix for Spike that was committed around 1/23/14). Here is the error for both shows. Should be pretty easy to duplicate. Thanks in advance.
Code:start of FREE CABLE plugin
16:13:43 T:2767189056 NOTICE: _connection :: getURL :: url = http://www.spike.com/episodes/cs1lwr/powernation-detroit-muscle-tough-as-nails-trans-am-season-1-ep-006
16:13:55 T:2767189056 NOTICE: _connection :: getRedirect :: url = http://media.mtvnservices.com/mgid:arc:episode:spike.com:9596c9d8-1037-462e-a212-0dfa8ebe4e90
16:13:56 T:2767189056 NOTICE: _connection :: getURL :: url = http://media.mtvnservices.com/pmt/e1/players/mgid:arc:episode:spike.com:/context1/context2/config.xml?uri=mgid:arc:episode:spike.com:9596c9d8-1037-462e-a212-0dfa8ebe4e90&type=network&ref=www.spike.com&geo=US&group=entertainment&network=None&device=Other
16:13:57 T:2767189056 NOTICE: _connection :: getURL :: url =
http://www.spike.com/feeds/mrss/?uri=mgid:arc:episode:spike.com:9596c9d8-1037-462e-a212-0dfa8ebe4e90&ref=www.spike.com
16:13:59 T:2767189056 NOTICE: _connection :: getURL :: url = http://www.spike.com/feeds/mediagen/?uri=mgid:arc:episode:spike.com:187b5a96-903a-47f5-9bc2-07583da3891e&episode=9596c9d8-1037-462e-a212-0dfa8ebe4e90&ref=www.spike.com&device={device}
16:14:01 T:2767189056 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IndexError'>
Error Contents: list index out of range
Traceback (most recent call last):
File "/home/pi/.xbmc/addons/plugin.video.free.cable-beta/default.py", line 63, in <module>
modes()
File "/home/pi/.xbmc/addons/plugin.video.free.cable-beta/default.py", line 60, in modes
exec 'sitemodule.%s()' % _common.args.sitemode
File "<string>", line 1, in <module>
File "/home/pi/.xbmc/addons/plugin.video.free.cable-beta/resources/lib/spike.py", line 191, in play_video
video_url8 = MP4URL + video_url7.split('mtvnorigin')[1]
IndexError: list index out of range
-->End of Python script error report<--
16:14:01 T:3041419904 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
16:14:01 T:2767189056 INFO: Python script stopped
Code:start of FREE CABLE plugin
16:16:28 T:2767189056 NOTICE: _connection :: getURL :: url = http://www.spike.com/episodes/pby6fz/powerblock-search-restore-fabulous-hudson-hornet-part-2-season-5-ep-048
16:16:40 T:2767189056 NOTICE: _connection :: getRedirect :: url = http://media.mtvnservices.com/mgid:arc:episode:spike.com:695a2c57-7817-4192-91b4-ee4f81e8764e
16:16:41 T:2767189056 NOTICE: _connection :: getURL :: url = http://media.mtvnservices.com/pmt/e1/players/mgid:arc:episode:spike.com:/context1/context2/config.xml?uri=mgid:arc:episode:spike.com:695a2c57-7817-4192-91b4-ee4f81e8764e&type=network&ref=www.spike.com&geo=US&group=entertainment&network=None&device=Other
16:16:42 T:2767189056 NOTICE: _connection :: getURL :: url =
http://www.spike.com/feeds/mrss/?uri=mgid:arc:episode:spike.com:695a2c57-7817-4192-91b4-ee4f81e8764e&ref=www.spike.com
16:16:44 T:2767189056 NOTICE: _connection :: getURL :: url = http://www.spike.com/feeds/mediagen/?uri=mgid:arc:episode:spike.com:879d90fa-0bac-44fd-9636-1f7be95b30d2&episode=695a2c57-7817-4192-91b4-ee4f81e8764e&ref=www.spike.com&device={device}
16:16:45 T:2767189056 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IndexError'>
Error Contents: list index out of range
Traceback (most recent call last):
File "/home/pi/.xbmc/addons/plugin.video.free.cable-beta/default.py", line 63, in <module>
modes()
File "/home/pi/.xbmc/addons/plugin.video.free.cable-beta/default.py", line 60, in modes
exec 'sitemodule.%s()' % _common.args.sitemode
File "<string>", line 1, in <module>
File "/home/pi/.xbmc/addons/plugin.video.free.cable-beta/resources/lib/spike.py", line 191, in play_video
video_url8 = MP4URL + video_url7.split('mtvnorigin')[1]
IndexError: list index out of range
-->End of Python script error report<--
16:16:45 T:3041419904 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
16:16:46 T:2767189056 INFO: Python script stopped
--- vh1.py 2014-03-20 09:09:31.196657185 -0600
+++ vh1.py.orig 2014-03-16 08:30:41.175506055 -0600
@@ -68,11 +68,8 @@
def rootlist(db=False):
url = 'http://www.vh1.com/shows/all_vh1_shows.jhtml'
data = common.getURL(url)
- data = data.replace('!- ','!--')
tree=BeautifulSoup(data, convertEntities=BeautifulSoup.HTML_ENTITIES)
- groups=tree.findAll('div',attrs={'id':re.compile('shows-[a-z]$|shows-no$')})
- tree=BeautifulSoup(str(groups))
- shows=tree('a')
+ shows=tree.find('div',attrs={'id':'azshows'}).findAll('a')
db_shows=[]
for show in shows:
name = show.string.replace('Season','').strip()
@@ -109,7 +106,6 @@
def seasons(url=common.args.url):
data = common.getURL(url)
- data = data.replace('!- ','!--')
tree=BeautifulSoup(data, convertEntities=BeautifulSoup.HTML_ENTITIES)
seasonmenu=tree.find('select',attrs={'id':'videolist_id'})
if seasonmenu:
@@ -131,7 +127,6 @@
def showsubcats(url=common.args.url):
#Add season options
data = common.getURL(url)
- data = data.replace('!- ','!--')
tree=BeautifulSoup(data, convertEntities=BeautifulSoup.HTML_ENTITIES)
subs=tree.find(attrs={'class':'group-a'}).findAll('a')
for sub in subs:
@@ -157,7 +152,6 @@
def videos(url=common.args.url):
data = common.getURL(url)
- data = data.replace('!- ','!--')
tree=BeautifulSoup(data, convertEntities=BeautifulSoup.HTML_ENTITIES)
subs=tree.find(attrs={'class':'group-b'})
try:
@@ -225,7 +219,6 @@
def playurl(url = common.args.url):
data = common.getURL(url)
- data = data.replace('!- ','!--')
tree=BeautifulStoneSoup(data, convertEntities=BeautifulStoneSoup.HTML_ENTITIES)
uri = tree.find('link',attrs={'rel':'video_src'})['href'].split('/')[-1]
playuri(uri,referer=url)
(2014-03-19, 23:12)dubwise Wrote: Anyone have any ideas on this one??
(2014-03-07, 00:00)dubwise Wrote: Hey guys, looks like something changed on Spike (TV) again. I can no longer watch Powerblock or PowerNation shows. I'm running the latest beta (plus the fix for Spike that was committed around 1/23/14). Here is the error for both shows. Should be pretty easy to duplicate. Thanks in advance.
(2014-03-19, 23:12)dubwise Wrote: Anyone have any ideas on this one??
(2014-03-07, 00:00)dubwise Wrote: Hey guys, looks like something changed on Spike (TV) again. I can no longer watch Powerblock or PowerNation shows. I'm running the latest beta (plus the fix for Spike that was committed around 1/23/14). Here is the error for both shows. Should be pretty easy to duplicate. Thanks in advance.
Code:start of FREE CABLE plugin
16:13:43 T:2767189056 NOTICE: _connection :: getURL :: url = http://www.spike.com/episodes/cs1lwr/powernation-detroit-muscle-tough-as-nails-trans-am-season-1-ep-006
16:13:55 T:2767189056 NOTICE: _connection :: getRedirect :: url = http://media.mtvnservices.com/mgid:arc:episode:spike.com:9596c9d8-1037-462e-a212-0dfa8ebe4e90
16:13:56 T:2767189056 NOTICE: _connection :: getURL :: url = http://media.mtvnservices.com/pmt/e1/players/mgid:arc:episode:spike.com:/context1/context2/config.xml?uri=mgid:arc:episode:spike.com:9596c9d8-1037-462e-a212-0dfa8ebe4e90&type=network&ref=www.spike.com&geo=US&group=entertainment&network=None&device=Other
16:13:57 T:2767189056 NOTICE: _connection :: getURL :: url =
http://www.spike.com/feeds/mrss/?uri=mgid:arc:episode:spike.com:9596c9d8-1037-462e-a212-0dfa8ebe4e90&ref=www.spike.com
16:13:59 T:2767189056 NOTICE: _connection :: getURL :: url = http://www.spike.com/feeds/mediagen/?uri=mgid:arc:episode:spike.com:187b5a96-903a-47f5-9bc2-07583da3891e&episode=9596c9d8-1037-462e-a212-0dfa8ebe4e90&ref=www.spike.com&device={device}
16:14:01 T:2767189056 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IndexError'>
Error Contents: list index out of range
Traceback (most recent call last):
File "/home/pi/.xbmc/addons/plugin.video.free.cable-beta/default.py", line 63, in <module>
modes()
File "/home/pi/.xbmc/addons/plugin.video.free.cable-beta/default.py", line 60, in modes
exec 'sitemodule.%s()' % _common.args.sitemode
File "<string>", line 1, in <module>
File "/home/pi/.xbmc/addons/plugin.video.free.cable-beta/resources/lib/spike.py", line 191, in play_video
video_url8 = MP4URL + video_url7.split('mtvnorigin')[1]
IndexError: list index out of range
-->End of Python script error report<--
16:14:01 T:3041419904 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
16:14:01 T:2767189056 INFO: Python script stopped
Code:start of FREE CABLE plugin
16:16:28 T:2767189056 NOTICE: _connection :: getURL :: url = http://www.spike.com/episodes/pby6fz/powerblock-search-restore-fabulous-hudson-hornet-part-2-season-5-ep-048
16:16:40 T:2767189056 NOTICE: _connection :: getRedirect :: url = http://media.mtvnservices.com/mgid:arc:episode:spike.com:695a2c57-7817-4192-91b4-ee4f81e8764e
16:16:41 T:2767189056 NOTICE: _connection :: getURL :: url = http://media.mtvnservices.com/pmt/e1/players/mgid:arc:episode:spike.com:/context1/context2/config.xml?uri=mgid:arc:episode:spike.com:695a2c57-7817-4192-91b4-ee4f81e8764e&type=network&ref=www.spike.com&geo=US&group=entertainment&network=None&device=Other
16:16:42 T:2767189056 NOTICE: _connection :: getURL :: url =
http://www.spike.com/feeds/mrss/?uri=mgid:arc:episode:spike.com:695a2c57-7817-4192-91b4-ee4f81e8764e&ref=www.spike.com
16:16:44 T:2767189056 NOTICE: _connection :: getURL :: url = http://www.spike.com/feeds/mediagen/?uri=mgid:arc:episode:spike.com:879d90fa-0bac-44fd-9636-1f7be95b30d2&episode=695a2c57-7817-4192-91b4-ee4f81e8764e&ref=www.spike.com&device={device}
16:16:45 T:2767189056 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IndexError'>
Error Contents: list index out of range
Traceback (most recent call last):
File "/home/pi/.xbmc/addons/plugin.video.free.cable-beta/default.py", line 63, in <module>
modes()
File "/home/pi/.xbmc/addons/plugin.video.free.cable-beta/default.py", line 60, in modes
exec 'sitemodule.%s()' % _common.args.sitemode
File "<string>", line 1, in <module>
File "/home/pi/.xbmc/addons/plugin.video.free.cable-beta/resources/lib/spike.py", line 191, in play_video
video_url8 = MP4URL + video_url7.split('mtvnorigin')[1]
IndexError: list index out of range
-->End of Python script error report<--
16:16:45 T:3041419904 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
16:16:46 T:2767189056 INFO: Python script stopped
if ((datetime.now() - datetime.strptime(episode_item['airdate'], '%Y-%m-%d')).days >= 8)...
(2014-03-21, 03:39)wnhtr Wrote: I think I have a different version of Free Cable (I am on 0.7.6) than you (looks like you are running beta), but I think it is the same issue.
Try editing your spike.py file and replace the part "video_url7.split('mtvnorigin')[1]" in line 191 with "video_url7.split('viacomspikestrm')[2]
After I changed this in my spike.py (line 181), I can now get channels working on Spike again. This should work on the beta version as well.
rtmpurl = mp4_url+rtmpdata.split('mtvorigin')[1]
rtmpurl = mp4_url+rtmpdata.split('viacomspikestrm')[2]
(2014-03-21, 20:21)cloead Wrote:(2014-03-21, 03:39)wnhtr Wrote: I think I have a different version of Free Cable (I am on 0.7.6) than you (looks like you are running beta), but I think it is the same issue.
Try editing your spike.py file and replace the part "video_url7.split('mtvnorigin')[1]" in line 191 with "video_url7.split('viacomspikestrm')[2]
After I changed this in my spike.py (line 181), I can now get channels working on Spike again. This should work on the beta version as well.
dont have that part anywhere in my spike.py file (not running beta)
(2014-03-21, 19:07)elmerohueso Wrote: We may not need to look at show names. It looks like each episode_item has an 'authEndDate' value (in millisecond epoch time), which appears to be the date that the episode will be unlocked. So, we might be able to change that if statement to just compare episode_item['authEndDate'] to datetime.now().