[mythtv] Ticket #10489: recording doesn't record when watching live tv on same tuner

Steven Adeff adeffs.mythtv at gmail.com
Sat Jul 21 12:53:24 UTC 2012


On Thu, Jul 19, 2012 at 11:29 AM,  <noreply at mythtv.org> wrote:
> #10489: recording doesn't record when watching live tv on same tuner
> ------------------------------------+-----------------------------
>  Reporter:  Ronald Frazier <ron@…>  |          Owner:  danielk
>      Type:  Bug Report - General    |         Status:  accepted
>  Priority:  major                   |      Milestone:  0.26
> Component:  MythTV - Recording      |        Version:  Master Head
>  Severity:  medium                  |     Resolution:
>  Keywords:                          |  Ticket locked:  0
> ------------------------------------+-----------------------------
>
> Comment (by Steven Adeff <adeffs.mythtv@…>):
>
>  For 0.25-fixes I had to make some slight changes to the line locations in
>  the patches, but they passed the patch dry-run. I'm compiling now and will
>  try to test them out and tell the housemates to test it as well when
>  they're watching.
>
>  are there any specific scenarios we should look at to verify correct
>  operation?
>
>  thanks!

With this compiled into 0.25-fixes I can no longer enter live tv on
any frontend. recordings see, to be fine.

$ mythbackend --version
Please attach all output as a file in bug reports.
MythTV Version : v0.25.2-3-gf0e2ad8
MythTV Branch : fixes/0.25
Network Protocol : 72
Library API : 0.25.20120506-1

backendlog:
Jul 21 08:50:25 mythbackend mythbackend[27338]: I ProcessRequest
mainserver.cpp:3624 (HandleGetNextFreeRecorder) Getting next free
recorder after : -1
Jul 21 08:50:25 mythbackend mythbackend[27338]: I ProcessRequest
mainserver.cpp:3495 (HandleGetFreeRecorder) Checking card 1. Best card
so far -1
Jul 21 08:50:25 mythbackend mythbackend[27338]: I ProcessRequest
mainserver.cpp:3495 (HandleGetFreeRecorder) Checking card 2. Best card
so far 1
Jul 21 08:50:25 mythbackend mythbackend[27338]: I ProcessRequest
mainserver.cpp:3495 (HandleGetFreeRecorder) Checking card 3. Best card
so far 1
Jul 21 08:50:25 mythbackend mythbackend[27338]: I ProcessRequest
mainserver.cpp:3495 (HandleGetFreeRecorder) Checking card 4. Best card
so far 1
Jul 21 08:50:25 mythbackend mythbackend[27338]: I ProcessRequest
mainserver.cpp:3495 (HandleGetFreeRecorder) Checking card 5. Best card
so far 1
Jul 21 08:50:25 mythbackend mythbackend[27338]: I ProcessRequest
mainserver.cpp:3495 (HandleGetFreeRecorder) Checking card 6. Best card
so far 1
Jul 21 08:50:25 mythbackend mythbackend[27338]: I ProcessRequest
mainserver.cpp:3495 (HandleGetFreeRecorder) Checking card 7. Best card
so far 1
Jul 21 08:50:25 mythbackend mythbackend[27338]: I ProcessRequest
mainserver.cpp:3495 (HandleGetFreeRecorder) Checking card 8. Best card
so far 1
Jul 21 08:50:25 mythbackend mythbackend[27338]: I ProcessRequest
mainserver.cpp:3495 (HandleGetFreeRecorder) Checking card 9. Best card
so far 1
Jul 21 08:50:25 mythbackend mythbackend[27338]: I ProcessRequest
mainserver.cpp:3495 (HandleGetFreeRecorder) Checking card 10. Best
card so far 1
Jul 21 08:50:25 mythbackend mythbackend[27338]: I ProcessRequest
mainserver.cpp:3514 (HandleGetFreeRecorder) Best card is 1
Jul 21 08:50:25 mythbackend mythbackend[27338]: I ProcessRequest
mainserver.cpp:1360 (HandleAnnounce) MainServer::ANN Playback
Jul 21 08:50:25 mythbackend mythbackend[27338]: I ProcessRequest
mainserver.cpp:1362 (HandleAnnounce) adding: mythmini as a client
(events: 0)
Jul 21 08:50:25 mythbackend mythbackend[27338]: I ProcessRequest
tv_rec.cpp:2161 (ShouldSwitchToAnotherCard) TVRec(1): Found channel
(849) on different card(7).
Jul 21 08:50:25 mythbackend mythbackend[27338]: I ProcessRequest
mainserver.cpp:1360 (HandleAnnounce) MainServer::ANN Playback
Jul 21 08:50:25 mythbackend mythbackend[27338]: I ProcessRequest
mainserver.cpp:1362 (HandleAnnounce) adding: mythmini as a client
(events: 0)
Jul 21 08:50:25 mythbackend mythbackend[27338]: I TVRecEvent
tv_rec.cpp:1029 (HandleStateChange) TVRec(7): Changing from None to
WatchingLiveTV
Jul 21 08:50:25 mythbackend mythbackend[27338]: I TVRecEvent
tv_rec.cpp:4186 (ClearFlags) TVRec(7):
ClearFlags(FrontendReady,CancelNextRecording,) ->
RunMainLoop,RingBufferReady,
Jul 21 08:50:25 mythbackend mythbackend[27338]: I TVRecEvent
tv_rec.cpp:3406 (HandleTuning) TVRec(7): HandleTuning Request:
Program(NULL) channel() input() flags(LiveTV,)
Jul 21 08:50:25 mythbackend mythbackend[27338]: I TVRecEvent
channelbase.cpp:95 (Init) ChannelBase(7): Looking for startchannel
'849' on input 'MPEG2TS'
Jul 21 08:50:25 mythbackend mythbackend[27338]: I TVRecEvent
channelbase.cpp:113 (Init) ChannelBase(7): Found startchannel '849' on
input 'MPEG2TS'
Jul 21 08:50:25 mythbackend mythbackend[27338]: I TVRecEvent
tv_rec.cpp:3495 (TuningCheckForHWChange) TVRec(7): HW Tuner: 7->7
Jul 21 08:50:25 mythbackend mythbackend[27338]: I TVRecEvent
tv_rec.cpp:4186 (ClearFlags) TVRec(7): ClearFlags(PENDINGACTIONS,) ->
RunMainLoop,RingBufferReady,
Jul 21 08:50:25 mythbackend mythbackend[27338]: I TVRecEvent
tv_rec.cpp:3428 (HandleTuning) TVRec(7): No recorder yet, calling
TuningFrequency
Jul 21 08:50:25 mythbackend mythbackend[27338]: I TVRecEvent
cetonchannel.cpp:30 (Open) CetonChan(192.168.200.1-0.0): Opening Ceton
channel
Jul 21 08:50:25 mythbackend mythbackend[27338]: I TVRecEvent
dtvchannel.cpp:181 (SetChannelByString) DTVChan(192.168.200.1-0.0):
SetChannelByString(849):
Jul 21 08:50:25 mythbackend mythbackend[27338]: I TVRecEvent
cetonstreamhandler.cpp:534 (TuneVChannel) CetonSH(192.168.200.1-0.0):
TuneVChannel(849)
Jul 21 08:50:25 mythbackend mythbackend[27338]: I TVRecEvent
cetonstreamhandler.cpp:507 (PerformTuneVChannel)
CetonSH(192.168.200.1-0.0): PerformTuneVChannel(849)
Jul 21 08:50:26 mythbackend mythbackend[27338]: I TVRecEvent
dtvchannel.cpp:332 (SetChannelByString) DTVChan(192.168.200.1-0.0):
SetChannelByString(849): success
Jul 21 08:50:26 mythbackend mythbackend[27338]: I TVRecEvent
cetonstreamhandler.cpp:562 (GetProgramNumber)
CetonSH(192.168.200.1-0.0): GetProgramNumber() got 1 on attempt 1
Jul 21 08:50:26 mythbackend mythbackend[27338]: I TVRecEvent
tv_rec.cpp:4391 (CreateLiveTVRingBuffer) TVRec(7):
CreateLiveTVRingBuffer(849)
Jul 21 08:50:26 mythbackend mythbackend[27338]: I TVRecEvent
tv_rec.cpp:4297 (GetProgramRingBufferForLiveTV) TVRec(7):
GetProgramRingBufferForLiveTV()


frontend log:
Jul 21 08:50:25 mythmini mythfrontend[4241]: I CoreContext
tv_play.cpp:987 (TV) TV: Creating TV object
Jul 21 08:50:25 mythmini mythfrontend[4241]: N CoreContext
mythmainwindow.cpp:2586 (PauseIdleTimer) Suspending idle timer
Jul 21 08:50:25 mythmini mythfrontend[4241]: I CoreContext
tv_play.cpp:1206 (Init) TV: Created TvPlayWindow.
Jul 21 08:50:25 mythmini mythfrontend[4241]: I CoreContext
tv_play.cpp:2121 (HandleStateChange) TV: Attempting to change from
None to WatchingLiveTV
Jul 21 08:50:25 mythmini mythfrontend[4241]: I CoreContext
mythcorecontext.cpp:371 (ConnectCommandSocket) MythCoreContext:
Connecting to backend server: 192.168.1.151:6543 (try 1 of 1)
Jul 21 08:50:25 mythmini mythfrontend[4241]: I CoreContext
mythcorecontext.cpp:1178 (CheckProtoVersion) Using protocol version 72
Jul 21 08:50:25 mythmini mythfrontend[4241]: I CoreContext
mythcorecontext.cpp:371 (ConnectCommandSocket) MythCoreContext:
Connecting to backend server: 192.168.1.151:6543 (try 1 of 1)
Jul 21 08:50:25 mythmini mythfrontend[4241]: I CoreContext
mythcorecontext.cpp:1178 (CheckProtoVersion) Using protocol version 72
Jul 21 08:50:25 mythmini mythfrontend[4241]: N CoreContext
tv_play.cpp:2188 (HandleStateChange) TV: Spawning LiveTV Recorder --
begin
Jul 21 08:50:32 mythmini mythfrontend[4241]: E CoreContext
mythsocket.cpp:534 (readStringList) MythSocket(ffffffffac03db20:57):
readStringList: Error, timed out after 7000 ms.
Jul 21 08:50:32 mythmini mythfrontend[4241]: E CoreContext
remoteencoder.cpp:99 (SendReceiveStringList)
RemoteEncoder::SendReceiveStringList(): No response.
Jul 21 08:50:32 mythmini mythfrontend[4241]: N CoreContext
tv_play.cpp:2195 (HandleStateChange) TV: Spawning LiveTV Recorder --
end
Jul 21 08:50:32 mythmini mythfrontend[4241]: E CoreContext
livetvchain.cpp:270 (GetEntryAt) GetEntryAt(-1) failed.
Jul 21 08:50:32 mythmini mythfrontend[4241]: E CoreContext
livetvchain.cpp:277 (GetEntryAt) It appears that your backend may be
misconfigured.  Check your backend logs to determine whether your
capture cards, lineups, channels, or storage configuration are
reporting errors.  This issue is commonly caused by failing to
complete all setup steps properly.  You may wish to review the
documentation for mythtv-setup.
Jul 21 08:50:32 mythmini mythfrontend[4241]: E CoreContext
livetvchain.cpp:294 (EntryToProgram) EntryToProgram(0 at Wed Dec 31
19:00:00 1969) failed to get pginfo
Jul 21 08:50:32 mythmini mythfrontend[4241]: E CoreContext
tv_play.cpp:2200 (HandleStateChange) TV: HandleStateChange(): LiveTV
not successfully started
Jul 21 08:50:32 mythmini mythfrontend[4241]: E CoreContext
tv_play.cpp:2233 (HandleStateChange) TV: LiveTV not successfully
started
Jul 21 08:50:32 mythmini mythfrontend[4241]: I CoreContext
tv_play.cpp:2451 (HandleStateChange) TV: Main UI disabled.
Jul 21 08:50:32 mythmini mythfrontend[4241]: I CoreContext
tv_play.cpp:378 (StartTV) TV: Entering main playback loop.
Jul 21 08:50:32 mythmini mythfrontend[4241]: I CoreContext
tv_play.cpp:380 (StartTV) TV: Exiting main playback loop.
Jul 21 08:50:32 mythmini mythfrontend[4241]: N CoreContext
mythmainwindow.cpp:2591 (PauseIdleTimer) Resuming idle timer



-- 
Steve
http://www.mythtv.org/wiki/User:Steveadeff
Before you ask, read the FAQ!
http://www.mythtv.org/wiki/Frequently_Asked_Questions
then search the Wiki, and this list,
http://www.gossamer-threads.com/lists/mythtv/
Mailinglist etiquette - http://www.mythtv.org/wiki/Mailing_List_etiquette


More information about the mythtv-dev mailing list