On Fri, Jul 11, 2008 at 11:27 PM, Greg Mischel Smith <<a href="mailto:gregms@gmail.com">gregms@gmail.com</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'm having trouble playing any Youtube video's on MythStream. I'm getting the <font face="Courier New, Courier, monospace">(no
url's found) <span style="font-family: arial,sans-serif;">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?</span><br style="font-family: arial,sans-serif;">
<span style="font-family: arial,sans-serif;">I'm running MythBuntu 8.04.</span><br style="font-family: arial,sans-serif;"><br style="font-family: arial,sans-serif;"><span style="font-family: arial,sans-serif;">Greg Smith</span><br style="font-family: arial,sans-serif;">
<span style="font-family: arial,sans-serif;">KCMO</span><br></font>
</blockquote></div><br><br>Nevermind I figured it out.<br>I was changing the vid.pl file located in /usr/share/mythtv/mythstream/parsers/youtube<br>But it needed to be changed in ~/.mythtv/mythstream/parsers/youtube<br><br>
To be more specific, I changed the line in ~/.mythtv/mythstream/parsers/youtube/youvid.pl from:<br>if ( ($a, $b) = $data =~ /video\_id:'([^']+)'[^t]+t:'([^']+)'/ )<br>to<br>if ( ($a, $b) = $data =~ /,\s*"video\_id":\s*"([^"]+)".*,\s*"t":\s*"([^"]+)"/)<br>
<br>This completely resolved the Youtube problem. I can now play the video's again.<br><br>Greg<br>KCMO<br>