Project

General

Profile

Bug #4420

add to API possibility grab EPG pictures ...

Added by piotr galek over 7 years ago. Updated over 7 years ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
Category:
API
Target version:
-
Start date:
2017-06-09
Due date:
% Done:

0%

Estimated time:
Found in version:
latest
Affected Versions:

Description

XMLTV providers delivery in EPG picutures/screenshot from EPG events

Which are visible on WebUI of tvheadend.

my friend working on skin but htsp client in kodi is very limited that why he created addon service to grab more information from TVH over API

Now he want make better EPG preview, channel list etc. and want use EPG images for events ...

something like that

and in other locations in skin
(is prepared little skin for that - now we waiting for some API changes)

Thanks for any help in this case or direction how to get over API pictures from EPG if this is possible already


Files

output.mp4 (5.63 MB) output.mp4 test GUI piotr galek, 2017-06-09 21:26

History

#1

Updated by Jaroslav Kysela over 7 years ago

I don't understand the question. The HTTP API for EPG contains the 'image' field in the EPG event structure. Same for the HTSP API.

#2

Updated by piotr galek over 7 years ago

Ok sorry yes there is image field, (but there is usual url of picture so when we call in GUI and we will fast scroll channel list there will a lot of downloading process)

we wonder becuase tvheadend caching images from epg, picons etc. in own cache - how to use from cache images to call over API ... how hash or epg id is connected with pictures in cache ? how to call them from there ?
#3

Updated by Jaroslav Kysela over 7 years ago

  • Status changed from New to Invalid

If imagecache is activated (configured), images are served directly using the build-in tvheadend server (the image URL is local - starting with /imagecache), otherwise the external unmodified URLs are given to the client. In short, there's no other way to download images. Just handle standard contents fetching in the client using the URL given in the EPG event info.

I'm closing this now.

#4

Updated by piotr galek over 7 years ago

thx all clear ;)

Also available in: Atom PDF