Kodi Community Forum

Full Version: VDR with epgd & epg2vdr
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've installed epgd on my tv-server and have compiled vdr with live-plugin and epg2vdr-plugin...
In live it looks cool with images...
is it possible to grap the additional infos with vnsi to show the image in kodi EPG?

Image
Could you please post this question in the general pvr section
I got an answer in a other pvr-section..
So it looks like the fuction was merged (look here) into Kodi 15... I tried last nightly but it did'nd work...
I dont know enough the pvr addon so that I could see if its supported by vnsi-client or not...


(2015-01-14, 11:26)scarecrow420 Wrote: [ -> ]Well my fix makes sure they are stored in the Kodi database and shown in confluence skin, so as long as your pvr addon populates the correct strIconPath field on Epg items it should work

You can always try a helix 15.0 alpha nightly build and see for yourself
Nice. How should vnsi know where those EPG images are stored?
I thought vdr respectively epgd and epg3vdr merged the images into the epg.data or refered a event-id to a symlink for
the image... so that vnsi knows what image match to the "epg-event"
I think epgd stored all infomation in a sql-db and epg2vdr writes this infos back to the epg.data...

but as I told, I don't much about pvr...
have a look at cEvent which is an EPG entry: http://projects.vdr-developer.org/git/vd...tree/epg.h
that's what I can get from VDR.
I've talked to louis, he is one of the developer of epgd...
he explained me that vdr2epg stored the epgimages in a db with the name that will mach to the event-ID.
so it will be possible to find a image for a event-id.

if it would be interesting to implement this in vnsi, he would explain in details....
pvr accepts a path to the image, not the image itself. assume you have a remote backend, how should pvr access the image?
on my backend the images are stored in /var/cache/vdr/epgimages/images...
in /var/cache/vdr/epgimages are the symlinks for the images names with event-id's

Code:
rwxrwxrwx 1 root root     59 Jan 15 08:00 75021_0.jpg -> ./images/die-chaosfamilie-38301cb2cf59dd75170f692885973.jpg
lrwxrwxrwx 1 root root     59 Jan 15 08:00 75022_0.jpg -> ./images/once-upon-a-time-es-war-einmal-53ea1dbc89cb31d.jpg
lrwxrwxrwx 1 root root     59 Jan 15 08:00 75023_0.jpg -> ./images/melrose-place-e1619d8c0654b97de4809e0f71967a87.jpg
lrwxrwxrwx 1 root root     58 Jan 15 08:00 75024_0.jpg -> ./images/glee-0a1f8231c3284b9409d35192652c0569388f2ffd.jpg
lrwxrwxrwx 1 root root     58 Jan 15 08:00 75025_0.jpg -> ./images/glee-fab8708327fdad17e42befe47a807e645a92384a.jpg
lrwxrwxrwx 1 root root     59 Jan 15 08:00 75026_0.jpg -> ./images/arctic-air-2b989d9c52a6ece0ace9d0890ff593a8374.jpg
lrwxrwxrwx 1 root root     59 Jan 15 08:00 75028_0.jpg -> ./images/gute-zeiten-schlechte-zeiten-0e89dbae5c9c3ff29.jpg
lrwxrwxrwx 1 root root     59 Jan 15 08:00 75030_0.jpg -> ./images/alles-was-zaehlt-1eed3af488ba365478fe09d70e358.jpg
lrwxrwxrwx 1 root root     59 Jan 15 08:00 75031_0.jpg -> ./images/arctic-air-2b989d9c52a6ece0ace9d0890ff593a8374.jpg
lrwxrwxrwx 1 root root     59 Jan 15 08:00 75033_0.jpg -> ./images/almost-famous-fast-beruehmt-1d164845a19b63bcd4.jpg

I don't know if this help...
the problem is that Kodi can't access this images if the backend is remote.
so if i understand you right, Kodi can't accsess if i run vdr on a headless tv-server and the client
is on a second computer ot what remote mean...
correct. assume a user runs Kodi on a Windows machine and vdr on some other Linux box. Sure, you can make this work somehow by using a webserver or samba but this is kind of ugly.
I am just thinking loud. Maybe somebody has a good idea.
I talked again to louis.
he thought: on the Tv-Server must rum VDR with vnsi-Server-plugin and epg2vdr-plugin.
the pvr-vnsi-client must pickup the images via vnsi-server and chach them on the local machine (like it is with the epg.db)
so the vnsi-server-plugin allways has acces to the images because they are on the same machine and pvr-vnsi-client has
"contact" with the vnsi-server-plugin...

on the other hand, I have stored the channel-icons on my Tv-Server and set the path on every kodi to the server folder...
I know for this you need samba. But if I've changes I only had to to this one time for all clients...
I think if somebody wants to have the images in kodi, he can do in this way like it is with channel-icons...
Interesting discussion.

from the event the vnsi-plugin inside vdr could provide path's to images to the client inside kodi. EPG-Images are stored locally (from vdr's perspective) - so the plugin inside vdr has acess to it.
Either it passes the path to kodi's vnsi-plugin - then kodi needs to have access to the path given or it passes binary structures with the image inside.
Both would require protocol change i guess.