[mythtv-users] Youtube integration

Kevin Kuphal kuphal at dls.net
Fri Jan 11 19:33:35 UTC 2008


On Jan 11, 2008 5:15 AM, Adam Egger <mythtv2008 at bdam.de> wrote:

> On Jan 10, 2008 7:24 PM, Kevin Kuphal <kuphal at dls.net> wrote:
>
> > It is entirely possible that the YouTube HTML changed and the parsing of
> the
> > video ID from the HTML fails and it cannot then grab the video.  If it
> is
> > grabbing the video fine, it could be a codec issue (which you can test
> by
> > downloading it yourself and playing it with the internal player).
>
> Thanks Kevin for the answer.
> I just realized that the Google Video feeds stopped working here in
> MythNews as well. It looks like the way MythNews parses feeds for the
> video ID isn't the most reliable one.
> Now MythNews tries to play an xml file it gets from google video
> where's only one tag inside: Internal Server error.
>
> Could you point me to the place in the code where the parsing happens?\


In trunk/SVN code, it is at line 918 of mythnews.cpp
http://svn.mythtv.org/trac/browser/trunk/mythplugins/mythnews/mythnews/mythnews.cpp

I would start by just commenting that out.  I think after Google acquired
YouTube they updated their RSS feeds to be compliant so the standard
processing will work.  If that doesn't work, then you can probably look on
the YouTube developer site to see how Google's tags differ from what we are
parsing for at line 275 of newsengine.cpp

Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20080111/68bf3add/attachment.htm 


More information about the mythtv-users mailing list