Ticket #12453: tv_play.cpp.2.patch
File tv_play.cpp.2.patch, 906 bytes (added by , 9 years ago) |
---|
-
/usr/local/src/mythtv/mythtv/mythtv/libs/libmythtv/tv_play.cpp
old new 326 326 bool playCompleted = false; 327 327 ProgramInfo *curProgram = NULL; 328 328 bool startSysEventSent = false; 329 bool startLivetvEventSent = false; 329 330 330 331 if (tvrec) 331 332 { … … 385 386 else if (!startSysEventSent) 386 387 { 387 388 startSysEventSent = true; 389 startLivetvEventSent = true; 388 390 gCoreContext->SendSystemEvent("LIVETV_STARTED"); 389 391 } 390 392 … … 495 497 } 496 498 497 499 GetMythMainWindow()->PauseIdleTimer(false); 498 500 if (startLivetvEventSent) 501 gCoreContext->SendSystemEvent("LIVETV_ENDED"); 499 502 LOG(VB_PLAYBACK, LOG_INFO, LOC + "StartTV -- end"); 500 503 501 504 return playCompleted;