[mythtv-users] Mythstream parsers

Greg Mischel Smith gregms at gmail.com
Sat Jul 12 04:47:55 UTC 2008


On Fri, Jul 11, 2008 at 11:27 PM, Greg Mischel Smith <gregms at gmail.com>
wrote:

> I'm having trouble playing any Youtube video's on MythStream. I'm getting
> the (no url's found) message after it brings up all the videos from either
> a person or from something like 'Top Viewed'. I following the steps from the
> previous thread (seen above) and restarted the frontend, but it didn't do
> any good. Has Youtube changed something else since this was posted?
> I'm running MythBuntu 8.04.
>
> Greg Smith
> KCMO
>


Nevermind I figured it out.
I was changing the vid.pl file located in
/usr/share/mythtv/mythstream/parsers/youtube
But it needed to be changed in ~/.mythtv/mythstream/parsers/youtube

To be more specific, I changed the line in
~/.mythtv/mythstream/parsers/youtube/youvid.pl from:
if ( ($a, $b) = $data =~ /video\_id:'([^']+)'[^t]+t:'([^']+)'/ )
to
if ( ($a, $b) = $data =~
/,\s*"video\_id":\s*"([^"]+)".*,\s*"t":\s*"([^"]+)"/)

This completely resolved the Youtube problem. I can now play the video's
again.

Greg
KCMO
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20080711/4a35e4d8/attachment.htm 


More information about the mythtv-users mailing list