[mythtv-users] Mythstream parsers
Paul Bender
pebender at san.rr.com
Sun Apr 6 22:53:30 UTC 2008
Teet Niin wrote:
> I'm having same problem(no url's found).
> Shoutcast works fine!
> Yahoo, youtube, retrotv... everything gives me no url's found(i have
> latest parsers from mythstream website).
> It happend some weeks ago, since then i haven't found way how to make it
> work again :(
I do not use the other parsers, but for youtube a minor change to the
youtube/vid.pl parser fixed it for me. Below is the fixed line. It
should be obvious which line it replaces. It appears that they added
more parameters, which broke the previous parsing. This parsing should
be somewhat more robust.
if ( ($a, $b) = $data =~
/,\s*"video\_id":\s*"([^"]+)".*,\s*"t":\s*"([^"]+)"/)
More information about the mythtv-users
mailing list