kathiedunne / bluecop-xbmc-repo

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

CBS Plugin - Can't retrieve list of episodes with proxy enabled #16

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Enable Proxy in the add-on settings
2. Select a CBS show and try to get a list of episodes (ex. CBS->Primetime->The 
Big Bang Theory->Full Episodes)
3. Fails with the message (Error, Script Failed: Plugin.Video.CBS).  See 
xbmc.log below.

What is the expected output? What do you see instead?
I expect to see the list of episodes for the chosen show.

What version of the product are you using? On what operating system?
XBMC Dharma, CBS plugin v1.3.0, Linux

Please provide any additional information below.
If I disable the proxy, then it can successfully list the episodes, but then I 
can't play any episodes (I'm in Canada).  I am able to stream the actual show 
with the proxy enabled.

In short, I have to disable the proxy to retrieve the list of episodes for a 
show, then enable the proxy to actually stream the show.

Here is the output in the xbmc.log:
                                            start of CBS plugin
15:50:41 T:140112750827280 M:2179129344  NOTICE: CBS--> common.args.mode -- > 
Videos
15:50:41 T:140112750827280 M:2179129344  NOTICE: Using proxy: 
http://208.100.40.34:80
15:50:41 T:140112750827280 M:2179129344  NOTICE: CBS --> common :: postHTTP :: 
url = http://www.cbs.com/video/_process.php
15:50:41 T:140112750827280 M:2179153920  NOTICE: Error reason:
15:50:41 T:140112750827280 M:2179153920   ERROR: Error Type: 
exceptions.AttributeError
15:50:41 T:140112750827280 M:2179153920   ERROR: Error Contents: HTTPError 
instance has no attribute 'reason'
15:50:41 T:140112750827280 M:2179153920   ERROR: Traceback (most recent call 
last):
                                              File "/home/todd/.xbmc/addons/plugin.video.cbs/default.py", line 45, in ?
                                                modes ( )
                                              File "/home/todd/.xbmc/addons/plugin.video.cbs/default.py", line 39, in modes
                                                videolist.Main()
                                              File "/home/todd/.xbmc/addons/plugin.video.cbs/resources/lib/_videolist.py", line 27, in __init__
                                                data = common.getVIDEOS(s,series,page)
                                              File "/home/todd/.xbmc/addons/plugin.video.cbs/resources/lib/common.py", line 81, in getVIDEOS
                                                print 'Error reason: ', e.reason
                                            AttributeError: HTTPError instance has no attribute 'reason'
15:50:41 T:140113476442176 M:2179153920   ERROR: GetDirectory - Error getting 
plugin://plugin.video.cbs/?url="fullep"&mode="Videos"&name="Full+Episodes"&serie
s="the_big_bang_theory"&page="undefined"&updatelist="false"
15:50:41 T:140113476442176 M:2179153920   ERROR: 
CGUIMediaWindow::GetDirectory(plugin://plugin.video.cbs/?url="fullep"&mode="Vide
os"&name="Full+Episodes"&series="the_big_bang_theory"&page="undefined"&updatelis
t="false") failed

Original issue reported on code.google.com by t...@courtnage.ca on 16 Jan 2011 at 10:58

GoogleCodeExporter commented 8 years ago
fixed in current version

Original comment by bluecop...@gmail.com on 20 Jan 2011 at 8:20