TV program calc begin and end time

Begonnen von kroonen, 21 Oktober 2021, 21:12:13

Vorheriges Thema - Nächstes Thema

kroonen

Hi,

I have a sony bravia TV and want in the state topic the start and end time in the state. I get the following values


     2021-10-21 20:29:04   channel  Veronica HD / Disney XD
     2021-10-21 20:29:04   ci_durationSec  10800
     2021-10-21 20:29:04   ci_startDateTime 2021-10-21T18:00:00+0200
     2021-10-21 20:29:04   ci_tripletStr   1536.2100.19442
     2021-10-19 19:30:17   country         NLD
     2021-10-21 19:17:53   currentMedia    tv
     2021-10-21 20:29:04   currentTitle    UEFA Conference League


I want to create the state format with the currentTittle, with the begin en end time. The start time is here 18:00 and the end time is 21:00) So the ci_durationSec is 10800 and is 3 hours.

I want to have some code to get this in stateformat

Veronica HD / Disney XD / UEFA Conference League [18:00-21:00]