tvgrabbers / tvgrabpyAPI

An xmltv-API for extracting and merging tv programme information from several sources
https://github.com/tvgrabbers/tvgrabpyAPI/releases/latest
GNU General Public License v3.0
27 stars 8 forks source link

Image / Icon for programmes #38

Open mitchellklijs opened 5 years ago

mitchellklijs commented 5 years ago

It would be nice if the tool would also grab images for programmes. A lot of sources include images for programmes. For example horizon.tv, tvgids.nl, tvgids.tv and npo.nl.

According to the XMLTV format, this image should be saved in an icon tag (https://github.com/XMLTV/xmltv/blob/master/xmltv.dtd#L216) and should contain a src attribute (https://github.com/XMLTV/xmltv/blob/master/xmltv.dtd#L336).

I'm not sure how many PVR / DVR / EPG software supports displaying images. I do now for sure that Plex DVR, TVHeadend and Kodi support it.

hikavdh commented 5 years ago

It's worth considering, but not on short notice

kyl416 commented 5 years ago

Some of the sources do provide this, the hard part is the quality isn't consistent from source to source, channel to channel, program to program or episode to episode.

tvgids.nl just has a generic gray image that says "tvgids.nl" if there's no specific image available. Horizon widely varies so we can't always prefer them. Some shows on horizon have good images, others provide a generic image for the genre, others are using highly outdated images instead of something relevant to the current season/episode.

mitchellklijs commented 5 years ago

I don't think generic images or outdated images are that big of a problem. For example, with the current Plex DVR (that is about to be discontinued), the image for an episode is just the poster for that show.

For Dutch and Flemish television shows there just aren't good / consistent quality sources for images.