[mythtv-users] MythNetvision grabbers needing update

Jonatan Lindblad mythtv at comhem.se
Thu Mar 14 22:46:15 UTC 2013


On 2013-03-14 23:32, Jongi wrote:
> On 15/03/2013 00:19, Jonatan Lindblad wrote:
>> On 2013-03-14 21:28, Jongi wrote:
>>> On 14/03/2013 00:58, Jonatan Lindblad wrote:
>>>> On 2013-03-13 14:44, Dan Wilga wrote:

<snip>

>>>>> - hulu.py fails, also due to 404s.
>>>>
>>>> Can you try the attached patch and see if at least search starts
>>>> working?
>>>>
>>>>> I have searched trac and master on git, but nobody seems to be working
>>>>> on this plugin. I can't believe nobody has noticed these problems
>>>>> before, though. Did I just miss something, or should I try to fix the
>>>>> scripts myself?
>>>>
>>>> I'm only using the YouTube grabber and won't notice if the others
>>>> break.
>>>>
>>> Hi,
>>>
>>> How would I go about applying this patch?
>>
>> You could for example go to /usr/share/mythtv (or wherever your
>> internetcontent directory is located) on your master backend and execute
>>
>> sudo patch -p 4 < ~/hulu.patch
>>
>> You can add the -b option if you want to back up the original files.
>
> Thanks. I had just posted when I saw this.
>
> The patch worked:
>
> /usr/share/mythtv# patch -p4 < hulu.patch
> patching file internetcontent/nv_python_libs/configs/XML/hulu_config.xml
> patching file internetcontent/nv_python_libs/hulu/hulu_api.py
>
> But I think I have a separate issue:
>
> $ /usr/share/mythtv/internetcontent/hulu.py -T
> ! Error: The URL (http://www.hulu.com/feed/recent/movies) cause the
> exception error (Error reading file
> 'http://www.hulu.com/feed/recent/movies': failed to load HTTP resource)
> ! Error: The URL (http://www.hulu.com/feed/highest_rated/videos) cause
> the exception error (Error reading file
> 'http://www.hulu.com/feed/highest_rated/videos': failed to load HTTP
> resource)
> ! Error: The URL (http://www.hulu.com/feed/recent/shows) cause the
> exception error (Error reading file
> 'http://www.hulu.com/feed/recent/shows': failed to load HTTP resource)
> ! Error: The URL (http://www.hulu.com/feed/expiring/videos) cause the
> exception error (Error reading file
> 'http://www.hulu.com/feed/expiring/videos': failed to load HTTP resource)
> ! Error: The URL (http://www.hulu.com/feed/recent/videos) cause the
> exception error (Error reading file
> 'http://www.hulu.com/feed/recent/videos': failed to load HTTP resource)
> Traceback (most recent call last):
>    File "/usr/share/mythtv/internetcontent/hulu.py", line 277, in <module>
>      main.main()
>    File
> "/usr/share/mythtv/internetcontent/nv_python_libs/mainProcess.py", line
> 458, in main
>      Queries.displayTreeView()
>    File
> "/usr/share/mythtv/internetcontent/nv_python_libs/mainProcess.py", line
> 265, in displayTreeView
>      data_sets = self.config['target'].displayTreeView()
>    File
> "/usr/share/mythtv/internetcontent/nv_python_libs/hulu/hulu_api.py",
> line 622, in displayTreeView
>      for e in descFilter2(description)[1]:
> IndexError: list index out of range
>
> Thanks for helping nonetheless.
>
> Kind regards,
> Yalusa

I only had time to touch the search part so those errors are still expected.

--
Jonatan


More information about the mythtv-users mailing list