hi again.. thanks for the explaination.. :-)
i tried your new code, and it's better but we are not there yet..
Heres what i observed.. only single channels get updated which is cool and much snappier, though the EPG does not match to the channel..
in belows log i started xbmc and tuned to channel 2 (ZDF), but it seems channel 46 got updated in the EPG ( kabel eins )
17:44:56 T:139682518918912 DEBUG: PVRFile - Open - playback has started on filename pvr://channels/tv/Alle TV-Kanäle/1.pvr
17:44:56 T:139682518918912 DEBUG: CFileCache::Open - opening <chlist/0002> using cache
17:44:56 T:139682518918912 DEBUG: CurlFile::Open(0x7f0a480011b0)
http://192.168.1.9:8080/chlist/0002
17:44:59 T:139683732117312 DEBUG: ------ Window Deinit (Pointer.xml) ------
17:45:01 T:139683732117312 INFO: LIRC Initialize: using: /dev/lircd
<removed decoder output>
17:45:02 T:139683621443328 DEBUG: CSoftAE::InternalOpenSink - Using speaker layout: 2.0
17:45:02 T:139683621443328 DEBUG: CSoftAE::InternalOpenSink - Internal Buffer Size: 4096
17:45:02 T:139683732117312 DEBUG: CLinuxRendererGL::UploadVAAPITexture - creating vaapi surface for texture 1
17:45:02 T:139683621443328 DEBUG: AERemap: Downmix normalization is disabled
17:45:02 T:139683621443328 DEBUG: Previous line repeats 3 times.
17:45:02 T:139683621443328 DEBUG: CSoftAEStream::CSoftAEStream - Converting from AE_FMT_S16NE to AE_FMT_FLOAT
17:45:02 T:139682100786944 DEBUG: CDVDPlayerAudio:: synctype set to 0: clock feedback
17:45:02 T:139682518918912 DEBUG: CDVDPlayer::SetCaching - caching state 0
17:45:02 T:139682518918912 DEBUG: CDVDPlayer::HandleMessages - player started 2
17:45:02 T:139682518918912 DEBUG: CDVDPlayer::HandleMessages - player started 1
17:45:02 T:139682100786944 ERROR: ffmpeg[45FFB700]: [ac3] frame sync error
17:45:02 T:139682100786944 ERROR: CDVDPlayerAudio:
ecodeFrame - Decode Error. Skipping audio packet
17:45:02 T:139682100786944 DEBUG: CDVDPlayerAudio:
rocess - Decode Error
17:45:02 T:139682100786944 DEBUG: CDVDPlayerAudio:: Discontinuity1 - was:1216420.262336, should be:401636.414115, error:-814783.848221
17:45:02 T:139682100786944 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
17:45:02 T:139683621443328 DEBUG: CSoftAE::Run - Sink restart flagged
17:45:02 T:139683621443328 INFO: CSoftAE::InternalOpenSink - keeping old sink with : AE_FMT_FLOAT, FL,FR, 48000hz
17:45:02 T:139683621443328 DEBUG: CSoftAE::InternalOpenSink - Using speaker layout: 2.0
17:45:02 T:139683621443328 DEBUG: CSoftAE::InternalOpenSink - Internal Buffer Size: 4096
17:45:02 T:139682100786944 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
17:45:02 T:139683732117312 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
17:45:02 T:139683732117312 DEBUG: ------ Window Deinit (DialogSeekBar.xml) ------
17:45:02 T:139683732117312 INFO: CheckIdle - Closing session to
http://feeds.xbmc.org (easy=0x7f0a64000ca0, multi=0x7f0a64009990)
17:45:02 T:139682100786944 DEBUG: CDVDPlayerAudio:: Discontinuity1 - was:636065.044115, should be:1306474.952109, error:670409.907993
17:45:02 T:139682100786944 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
17:45:02 T:139683732117312 WARNING: Previous line repeats 1 times.
17:45:02 T:139683732117312 DEBUG: CLinuxRendererGL::UploadVAAPITexture - creating vaapi surface for texture 0
17:45:02 T:139682100786944 DEBUG: CDVDPlayerAudio:: Discontinuity1 - was:1601923.788109, should be:1369265.629114, error:-232658.158994
17:45:02 T:139682100786944 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
17:45:03 T:139682100786944 DEBUG: CDVDPlayerAudio:: Discontinuity1 - was:1675293.198114, should be:1521211.444445, error:-154081.753670
17:45:03 T:139682100786944 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
17:45:03 T:139682100786944 WARNING: Previous line repeats 1 times.
17:45:03 T:139682100786944 DEBUG: CDVDPlayerAudio:: Discontinuity1 - was:1836475.535445, should be:1702557.109781, error:-133918.425664
17:45:03 T:139682100786944 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
17:45:03 T:139682109179648 WARNING: Previous line repeats 2 times.
17:45:03 T:139682109179648 DEBUG: ffmpeg[467FC700]: [h264] Increasing reorder buffer to 2
17:45:03 T:139682100786944 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
17:45:06 T:139682109179648 WARNING: Previous line repeats 14 times.
17:45:06 T:139682109179648 DEBUG: CPullupCorrection: detected pattern of length 1: 20000.00, frameduration: 20000.000000
17:45:06 T:139682100786944 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
17:45:06 T:139682537010944 DEBUG: AddOnLog: Njoy N7 PVR Client: GetEPGData Fetching EPG Data from N7 backend!
17:45:06 T:139682537010944 DEBUG: CFileCache::Open - opening <n7chepg.xml> using cache
17:45:06 T:139682537010944 DEBUG: CurlFile::Open(0x7f0a58000b80)
http://192.168.1.9:80/n7chepg.xml
17:45:06 T:139682537010944 INFO: easy_aquire - Created session to
http://192.168.1.9
17:45:06 T:139682100786944 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
17:45:06 T:139682078844672 WARNING: Previous line repeats 1 times.
17:45:06 T:139682078844672 NOTICE: Thread CFileCache start, auto delete: false
17:45:06 T:139682100786944 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
17:45:06 T:139682078844672 INFO: CFileCache:
rocess - Hit eof.
17:45:06 T:139682078844672 DEBUG: Thread CFileCache 139682078844672 terminating
17:45:06 T:139682537010944 DEBUG: AddOnLog: Njoy N7 PVR Client: GetEPGData Fetched XML, length:69085
17:45:06 T:139682100786944 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
17:45:06 T:139682537010944 DEBUG: AddOnLog: Njoy N7 PVR Client: GetUniqueChannelId Fetching UniqueChannelId for BackendChannelId '43'
17:45:06 T:139682537010944 DEBUG: AddOnLog: Njoy N7 PVR Client: GetUniqueChannelId Found UniqueChannelId '46' for BackendChannelId
17:45:06 T:139682537010944 DEBUG: AddOnLog: Njoy N7 PVR Client: GetEPGData - Parsing EPG for channel:'46'
17:45:06 T:139682537010944 DEBUG: AddOnLog: Njoy N7 PVR Client: GetEPGData: Programme string: 20130403164000+0100;20130403170000+0100;43;25d4
17:45:06 T:139682537010944 DEBUG: AddOnLog: Njoy N7 PVR Client: Start: GetInfoFromProgrammeString Y:2013, M:4, D:3, H:16, M:40, S:0 (20130403164000+0100) time_t(1365003600)
17:45:06 T:139682537010944 DEBUG: AddOnLog: Njoy N7 PVR Client: Stop: GetInfoFromProgrammeString Y:2013, M:4, D:3, H:17, M:0, S:0 (20130403170000+0100) time_t(1365004800)
17:45:06 T:139682537010944 DEBUG: AddOnLog: Njoy N7 PVR Client: GetEPGData - EPG Title:'Leute heute ', ChannelNumber:'46', Start:1365003600, End:1365004800, ID:0
17:45:06 T:139682537010944 DEBUG: AddOnLog: Njoy N7 PVR Client: GetEPGData: Programme string: 20130403170000+0100;20130403175000+0100;43;25d5
17:45:06 T:139682537010944 DEBUG: AddOnLog: Njoy N7 PVR Client: Start: GetInfoFromProgrammeString Y:2013, M:4, D:3, H:17, M:0, S:0 (20130403170000+0100) time_t(1365004800)
17:45:06 T:139682537010944 DEBUG: AddOnLog: Njoy N7 PVR Client: Stop: GetInfoFromProgrammeString Y:2013, M:4, D:3, H:17, M:50, S:0 (20130403175000+0100) time_t(1365007800)
17:45:06 T:139682537010944 DEBUG: AddOnLog: Njoy N7 PVR Client: GetEPGData - EPG Title:'SOKO Wismar ', ChannelNumber:'46', Start:1365004800, End:1365007800, ID:0