jtaylor154 / bluecop-xbmc-repo

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

SciFi portion of the NBC Universal fails. #34

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Looking at the code for the Scifi.py the video player for Scifi is pointing to 
a page that no longer exist.  I think you need to change the reference to 
scifi.com to syfy.com

Original issue reported on code.google.com by hol...@gmail.com on 7 Apr 2011 at 2:23

GoogleCodeExporter commented 8 years ago
I'm getting the same problems. Here is my log:
                                             entering NBC TV
14:28:05 T:133320704 M:102408192  NOTICE: 

                                             adding seasons
14:28:05 T:133320704 M:102408192  NOTICE: NBC Universal --> common :: getHTML 
:: url = http://www.nbc.com/The_Office/video/
14:28:06 T:133320704 M:102408192    INFO: -->Python script returned the 
following error<--
14:28:06 T:133320704 M:102408192   ERROR: Error Type: <type 
'exceptions.NameError'>
14:28:06 T:133320704 M:102408192   ERROR: Error Contents: global name 'null' is 
not defined
14:28:06 T:133320704 M:102391808   ERROR: Traceback (most recent call last):
                                              File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.nbc.universal/default.py", line 60, in <module>
                                                modes ( )
                                              File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.nbc.universal/default.py", line 40, in modes
                                                tv.Main()
                                              File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.nbc.universal/resources/lib/nbc_tv.py", line 28, in __init__
                                                self.addSeasonList()
                                              File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.nbc.universal/resources/lib/nbc_tv.py", line 90, in addSeasonList
                                                common.addDirectory(name, common.NBC_BASE_URL + seasonURL, 'TV_Episodes_nbc', null)
                                            NameError: global name 'null' is not defined
14:28:06 T:133320704 M:102391808    INFO: -->End of Python script error 
report<--

Hope this helps. Hope there is a solution

Original comment by bgunte...@gmail.com on 8 Apr 2011 at 6:59

GoogleCodeExporter commented 8 years ago
after further investigating... it's not as simple as switching from scifi -> 
syfy.

i tried that, but the xml file that the script is looking for is not there. 
i've tried a couple of url sniffers to find the corresponding xml file, but 
it's all flash and javascript now, and all i've been able to come up with is 
this xml file:

http://video.syfy.com/global/xml/header.xml?rand=1302625531126

but that just gives links to corresponding pages. 

As for the NBC script, I'm still trying to figure out why that's not working. 
the xml file is still accessible (for now). i'm not versed in python... but i'm 
starting to piece things together.

Hope that BlueCop is still around, and not overwhelmed by all of this. :-)

Original comment by bgunte...@gmail.com on 12 Apr 2011 at 4:36