[mythtv-users] Youtube integration
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
> > video ID from the HTML fails and it cannot then grab the video. If it
> > grabbing the video fine, it could be a codec issue (which you can test
> > 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
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mythtv-users