#90 tv_grab_na_icons broken again

closed
Robert Eden
5
2013-02-02
2013-01-08
Cheetah
No

The zap2it website changed subtly, again.

Trivial patch attached.

Discussion

  • Cheetah
    Cheetah
    2013-01-08

     
  • Robert Eden
    Robert Eden
    2013-02-02

    • assigned_to: nobody --> rmeden
    • status: open --> closed
     
  • Robert Eden
    Robert Eden
    2013-02-02

    looks like they do more than this patch.. all the <img> tags are gone! Hard to find icons without IMG tags. Looks like we may need a new icon source.

     
  • Cheetah
    Cheetah
    2013-02-26

    Indeed, they now use CSS sprites for the channel icons.

    Looking around, it seems like a natural service to leverage might be the services.mythtv.org API. Of course, the mythtv folks should be asked before using that. Also I don't see any official documentation of the API there, though from perusing the pertinent mythtv source code, it looks fairly simple.

    The upside is that I think the MythTV services site has icons for more than just North America, so it could be a very general purpose grabber. Also, it looks like one of the matching fields it has is the xmltv channel id, which is a nice fit here :)