FHEM Forum

FHEM => Anfängerfragen => Thema gestartet von: Klouse am 04 Juni 2015, 21:33:17

Titel: Kodi - Thumbnail am Floorplan platzieren?
Beitrag von: Klouse am 04 Juni 2015, 21:33:17
Hallo,

ich habe per notify,ReadingsVal und dummy nun Infos von Kodi für den Floorplan angelegt.

Leider weiß ich nicht wie ich es schaffe anstatt der Adresse die Grafik anzuzeigen:

define Kodi_thumbnail dummy
attr Kodi_thumbnail fp_FPgPad 898,306,0,,
attr Kodi_thumbnail room Entertainment
define n_Kodi_thumbnail notify Kodi:thumbnail.* { fhem "set Kodi_thumbnail ".ReadingsVal("Kodi","thumbnail",0)","}

Ergibt derzeit nur z.B.:
image://http%3a%2f%2fimage.tmdb.org%2ft%2fp%2foriginal%2ff6yjCwBNzlFLDU7WRtfTd3WMux1.jpg/

Das sieht nicht gut aus :D

Habt ihr eine Idee?
------
Nachtrag, im Kodi wiki entdeckt:
http://<your ip>:<configured port>/image/<url encoded image:// path>
Bsp.: http://kodi:8080/image/http%3a%2f%2fimage.tmdb.org%2ft%2fp%2foriginal%2ff6yjCwBNzlFLDU7WRtfTd3WMux1.jpg

Weiß nur nun nicht wie ich nun eine Grafik mit Adresse: "http://kodi:8080/image/"+"ReadingsVal (ohne image://)" daraus genieren soll.

-----
Danke,

MfG
Klaus



Titel: Antw:Kodi - Thumbnail am Floorplan platzieren?
Beitrag von: Klouse am 07 Juni 2015, 01:25:19
Hallo,

hat sich erübrigt, habe eine für mich schönere Lösung gefunden:

XBMC Chorus Webinterface installiert und per iframe platziert, sehr schick. ;)

MfG
Klaus


Zitat von: Klouse am 04 Juni 2015, 21:33:17
Hallo,

ich habe per notify,ReadingsVal und dummy nun Infos von Kodi für den Floorplan angelegt.

Leider weiß ich nicht wie ich es schaffe anstatt der Adresse die Grafik anzuzeigen:

define Kodi_thumbnail dummy
attr Kodi_thumbnail fp_FPgPad 898,306,0,,
attr Kodi_thumbnail room Entertainment
define n_Kodi_thumbnail notify Kodi:thumbnail.* { fhem "set Kodi_thumbnail ".ReadingsVal("Kodi","thumbnail",0)","}

Ergibt derzeit nur z.B.:
image://http%3a%2f%2fimage.tmdb.org%2ft%2fp%2foriginal%2ff6yjCwBNzlFLDU7WRtfTd3WMux1.jpg/

Das sieht nicht gut aus :D

Habt ihr eine Idee?
------
Nachtrag, im Kodi wiki entdeckt:
http://<your ip>:<configured port>/image/<url encoded image:// path>
Bsp.: http://kodi:8080/image/http%3a%2f%2fimage.tmdb.org%2ft%2fp%2foriginal%2ff6yjCwBNzlFLDU7WRtfTd3WMux1.jpg

Weiß nur nun nicht wie ich nun eine Grafik mit Adresse: "http://kodi:8080/image/"+"ReadingsVal (ohne image://)" daraus genieren soll.

-----
Danke,

MfG
Klaus