<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 15/03/2013 00:19, Jonatan Lindblad
      wrote:<br>
    </div>
    <blockquote cite="mid:51424D09.6000402@comhem.se" type="cite">On
      2013-03-14 21:28, Jongi wrote:
      <br>
      <blockquote type="cite">On 14/03/2013 00:58, Jonatan Lindblad
        wrote:
        <br>
        <blockquote type="cite">On 2013-03-13 14:44, Dan Wilga wrote:
          <br>
          <blockquote type="cite">After trying (and failing) to use
            MythNetvision some time ago, I decided
            <br>
            to try again last night. Here's what I found, after much
            digging and
            <br>
            debugging:
            <br>
            <br>
            - thewb.py works fine.
            <br>
          </blockquote>
          <br>
          Good :)
          <br>
          <br>
          <blockquote type="cite">- comedycentral.py fails, due to 404s.
            I assume the search mechanism and
            <br>
            RSS feed locations have moved within the site.
            <br>
            - mtv.py fails, but silently. If you view the XML returned
            by their API,
            <br>
            it says the API being used has been deprecated.
            <br>
          </blockquote>
          <br>
          Not much you can do about these I guess.
          <br>
          <br>
          <blockquote type="cite">- pbs.py complains that there are "No
            Xslt results" for a whole bunch of
            <br>
            URLs, even though these URLs do return feeds. Perhaps the
            script is
            <br>
            using the wrong DTD or something.
            <br>
          </blockquote>
          <br>
          This should be possible to fix.
          <br>
          <br>
          <blockquote type="cite">- hulu.py fails, also due to 404s.
            <br>
          </blockquote>
          <br>
          Can you try the attached patch and see if at least search
          starts working?
          <br>
          <br>
          <blockquote type="cite">I have searched trac and master on
            git, but nobody seems to be working
            <br>
            on this plugin. I can't believe nobody has noticed these
            problems
            <br>
            before, though. Did I just miss something, or should I try
            to fix the
            <br>
            scripts myself?
            <br>
          </blockquote>
          <br>
          I'm only using the YouTube grabber and won't notice if the
          others break.
          <br>
          <br>
          --
          <br>
          Jonatan
          <br>
          <br>
        </blockquote>
        Hi,
        <br>
        <br>
        How would I go about applying this patch?
        <br>
      </blockquote>
      <br>
      You could for example go to /usr/share/mythtv (or wherever your
      internetcontent directory is located) on your master backend and
      execute
      <br>
      <br>
      sudo patch -p 4 &lt; ~/hulu.patch
      <br>
      <br>
      You can add the -b option if you want to back up the original
      files.
      <br>
      <br>
      --
      <br>
      Jonatan
      <br>
      _______________________________________________
      <br>
      mythtv-users mailing list
      <br>
      <a class="moz-txt-link-abbreviated" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
      <br>
      <a class="moz-txt-link-freetext" href="http://www.mythtv.org/mailman/listinfo/mythtv-users">http://www.mythtv.org/mailman/listinfo/mythtv-users</a>
      <br>
    </blockquote>
    <font size="-1"><font face="DejaVu Sans"><font size="-1">Thanks. I
          had just posted <font size="-1">when I saw this. <br>
            <br>
            <font size="-1">The patch worked:<br>
              <br>
              <font size="-1">/usr/share/mythtv# patch -p4 &lt;
                hulu.patch <br>
                patching file
                internetcontent/nv_python_libs/configs/XML/hulu_config.xml<br>
                patching file
                internetcontent/nv_python_libs/hulu/hulu_api.py<br>
                <br>
                <font size="-1">But I think I have a sep<font size="-1">a</font>rate
                  issue</font>:<br>
                <br>
                <font size="-1">$
                  /usr/share/mythtv/internetcontent/hulu.py -T<br>
                  ! Error: The URL
                  (<a class="moz-txt-link-freetext" href="http://www.hulu.com/feed/recent/movies">http://www.hulu.com/feed/recent/movies</a>) cause the
                  exception error (Error reading file
                  '<a class="moz-txt-link-freetext" href="http://www.hulu.com/feed/recent/movies">http://www.hulu.com/feed/recent/movies</a>': failed to
                  load HTTP resource)<br>
                  ! Error: The URL
                  (<a class="moz-txt-link-freetext" href="http://www.hulu.com/feed/highest_rated/videos">http://www.hulu.com/feed/highest_rated/videos</a>) cause
                  the exception error (Error reading file
                  '<a class="moz-txt-link-freetext" href="http://www.hulu.com/feed/highest_rated/videos">http://www.hulu.com/feed/highest_rated/videos</a>':
                  failed to load HTTP resource)<br>
                  ! Error: The URL
                  (<a class="moz-txt-link-freetext" href="http://www.hulu.com/feed/recent/shows">http://www.hulu.com/feed/recent/shows</a>) cause the
                  exception error (Error reading file
                  '<a class="moz-txt-link-freetext" href="http://www.hulu.com/feed/recent/shows">http://www.hulu.com/feed/recent/shows</a>': failed to
                  load HTTP resource)<br>
                  ! Error: The URL
                  (<a class="moz-txt-link-freetext" href="http://www.hulu.com/feed/expiring/videos">http://www.hulu.com/feed/expiring/videos</a>) cause the
                  exception error (Error reading file
                  '<a class="moz-txt-link-freetext" href="http://www.hulu.com/feed/expiring/videos">http://www.hulu.com/feed/expiring/videos</a>': failed to
                  load HTTP resource)<br>
                  ! Error: The URL
                  (<a class="moz-txt-link-freetext" href="http://www.hulu.com/feed/recent/videos">http://www.hulu.com/feed/recent/videos</a>) cause the
                  exception error (Error reading file
                  '<a class="moz-txt-link-freetext" href="http://www.hulu.com/feed/recent/videos">http://www.hulu.com/feed/recent/videos</a>': failed to
                  load HTTP resource)<br>
                  Traceback (most recent call last):<br>
                  &nbsp; File "/usr/share/mythtv/internetcontent/hulu.py",
                  line 277, in &lt;module&gt;<br>
                  &nbsp;&nbsp;&nbsp; main.main()<br>
                  &nbsp; File
                  "/usr/share/mythtv/internetcontent/nv_python_libs/mainProcess.py",
                  line 458, in main<br>
                  &nbsp;&nbsp;&nbsp; Queries.displayTreeView()<br>
                  &nbsp; File
                  "/usr/share/mythtv/internetcontent/nv_python_libs/mainProcess.py",
                  line 265, in displayTreeView<br>
                  &nbsp;&nbsp;&nbsp; data_sets =
                  self.config['target'].displayTreeView()<br>
                  &nbsp; File
                  "/usr/share/mythtv/internetcontent/nv_python_libs/hulu/hulu_api.py",
                  line 622, in displayTreeView<br>
                  &nbsp;&nbsp;&nbsp; for e in descFilter2(description)[1]:<br>
                  IndexError: list index out of range<br>
                  <br>
                  <font size="-1">Thanks for helping nonetheless.<br>
                    <br>
                    <font size="-1">Kind regards,<br>
                      <font size="-1">Yalusa<br>
                        <br>
                      </font></font></font></font><br>
              </font></font></font></font></font></font>
  </body>
</html>