akukic1 / bluecop-xbmc-repo

Automatically exported from code.google.com/p/bluecop-xbmc-repo
0 stars 0 forks source link

ABC will not list episodes #217

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Select Free Cable
2. Select ABC
3. Select any show
4. Crashes when attempting to list episodes.

What is the expected output? What do you see instead?
Expected: list of episodes
Result "Plugin failed"

What version of the product are you using? On what operating system?
XBMC, FC15, latest version of plugin

Please provide any additional information below.

                                            start of FREE CABLE plugin
17:51:08 T:2895096640  NOTICE: FREE CABLE --> common :: getURL :: url = 
http://abc.go.com/watch/boston-med/SH5570013?rfr=rss
17:51:10 T:2895096640   ERROR: Error Type: <type 'exceptions.IndexError'>
17:51:10 T:2895096640   ERROR: Error Contents: list index out of range
17:51:10 T:2895096640   ERROR: Traceback (most recent call last):
                                              File "/home/xmbc/.xbmc/addons/plugin.video.free.cable/default.py", line 68, in <module>
                                                modes ( )
                                              File "/home/xmbc/.xbmc/addons/plugin.video.free.cable/default.py", line 64, in modes
                                                exec 'sitemodule.%s()' % common.args.sitemode
                                              File "<string>", line 1, in <module>
                                              File "/home/xmbc/.xbmc/addons/plugin.video.free.cable/resources/lib/abc.py", line 48, in seasons
                                                tabs_set = makeDict(re.compile('tabs.set\(\{(.+?)\}\);').findall(data)[0])
                                              File "/home/xmbc/.xbmc/addons/plugin.video.free.cable/resources/lib/abc.py", line 91, in makeDict
                                                season_dict[split[0].strip()]=split[1].strip()
                                            IndexError: list index out of range
17:51:10 T:3076655040   ERROR: GetDirectory - Error getting 
plugin://plugin.video.free.cable/?url="http%3A%2F%2Fabc.go.com%2Fwatch%2Fboston-
med%2FSH5570013%3Frfr%3Drss"&mode="abc"&sitemode="seasons"&thumb="http%3A%2F%2Ft
hetvdb.com%2Fbanners%2Fgraphical%2F171811-g.jpg"&tvdb_id="171811"&fanart="http%3
A%2F%2Fthetvdb.com%2Fbanners%2Ffanart%2Foriginal%2F171811-1.jpg"&poster="http%3A
%2F%2Fthetvdb.com%2Fbanners%2Fposters%2F171811-1.jpg"&name="Boston+Med"
17:51:10 T:3076655040   ERROR: 
CGUIMediaWindow::GetDirectory(plugin://plugin.video.free.cable/?url="http%3A%2F%
2Fabc.go.com%2Fwatch%2Fboston-med%2FSH5570013%3Frfr%3Drss"&mode="abc"&sitemode="
seasons"&thumb="http%3A%2F%2Fthetvdb.com%2Fbanners%2Fgraphical%2F171811-g.jpg"&t
vdb_id="171811"&fanart="http%3A%2F%2Fthetvdb.com%2Fbanners%2Ffanart%2Foriginal%2
F171811-1.jpg"&poster="http%3A%2F%2Fthetvdb.com%2Fbanners%2Fposters%2F171811-1.j
pg"&name="Boston+Med") failed

                                            start of FREE CABLE plugin
18:00:32 T:2895096640  NOTICE: FREE CABLE --> common :: getURL :: url = 
http://abc.go.com/watch/celebrity-wife-swap/SH55157026?rfr=rss
18:00:33 T:2895096640   ERROR: Error Type: <type 'exceptions.IndexError'>
18:00:33 T:2895096640   ERROR: Error Contents: list index out of range
18:00:33 T:2895096640   ERROR: Traceback (most recent call last):
                                              File "/home/xmbc/.xbmc/addons/plugin.video.free.cable/default.py", line 68, in <module>
                                                modes ( )
                                              File "/home/xmbc/.xbmc/addons/plugin.video.free.cable/default.py", line 64, in modes
                                                exec 'sitemodule.%s()' % common.args.sitemode
                                              File "<string>", line 1, in <module>
                                              File "/home/xmbc/.xbmc/addons/plugin.video.free.cable/resources/lib/abc.py", line 48, in seasons
                                                tabs_set = makeDict(re.compile('tabs.set\(\{(.+?)\}\);').findall(data)[0])
                                              File "/home/xmbc/.xbmc/addons/plugin.video.free.cable/resources/lib/abc.py", line 91, in makeDict
                                                season_dict[split[0].strip()]=split[1].strip()
                                            IndexError: list index out of range
18:00:33 T:3076655040   ERROR: GetDirectory - Error getting 
plugin://plugin.video.free.cable/?url="http%3A%2F%2Fabc.go.com%2Fwatch%2Fcelebri
ty-wife-swap%2FSH55157026%3Frfr%3Drss"&mode="abc"&sitemode="seasons"&thumb="%2Fh
ome%2Fxmbc%2F.xbmc%2Faddons%2Fplugin.video.free.cable%2Fresources%2Fimages%2Fabc
.png"&tvdb_id="254524"&name="Celebrity+Wife+Swap"
18:00:33 T:3076655040   ERROR: 
CGUIMediaWindow::GetDirectory(plugin://plugin.video.free.cable/?url="http%3A%2F%
2Fabc.go.com%2Fwatch%2Fcelebrity-wife-swap%2FSH55157026%3Frfr%3Drss"&mode="abc"&
sitemode="seasons"&thumb="%2Fhome%2Fxmbc%2F.xbmc%2Faddons%2Fplugin.video.free.ca
ble%2Fresources%2Fimages%2Fabc.png"&tvdb_id="254524"&name="Celebrity+Wife+Swap")
 failed

Original issue reported on code.google.com by chris.a....@gmail.com on 13 Mar 2013 at 10:29