[mythtv-users] Re:Re:Re:Re:Not recording anything using CVS (7/30)
Trey Stout
phlux at udpviper.com
Wed Aug 6 13:35:31 EDT 2003
>Mind adding some debugging to the code? In
>programs/mythbackend/scheduler.cpp, starting at line 193, I'd like you to
do
>this:
>
>recordingList.sort(comp_proginfo());
>cout << "start: " << QDateTime::currentDateTime().toString("yyyy-MM-dd
>hh:mm:ss") << "\n";
>PrintList();
>MarkKnownInputs();
>PrintList();
>MarkConflicts();
>PrintList();
>PruneList();
>PrintList();
>.....
>
>and so on, adding a PrintList() after every function it calls until the end
of
>that if clause. Then, recompile, and run mythbackend -printsched again.
>
>Isaac
Isaac, I changed the code to what you said. Adding PrintList() calls all the
way down to the return statement for that function. My C skills are rusty at
best, but it compiled fine and I re-ran 'make install'. I then ran the new
mythbackend binary with the -v flag. I used the frontend to schedule 2 shows
in a row on the same channel. Here are the results...
tv mythbackend # mythbackend --printsched
--- print list start ---
Title Chan ChID StartTime S I C -- C R D S Rank
Total
--- print list end ---
--- print list start ---
Title Chan ChID StartTime S I C -- C R D S Rank
Total
--- print list end ---
tv mythbackend # cat /var/log/myth-be.log
Starting up as the master server.
Probed: /dev/video0 - Television
Probed: /dev/video0 - Composite1
Probed: /dev/video0 - S-Video
Probed: /dev/video0 - Composite3
2003-08-06 12:04:33 Verbose mode activated.
--- print list start ---
Title Chan ChID StartTime S I C -- C R D S Rank
Total
--- print list end ---
2003-08-06 12:04:35 Found changes in the todo list.
2003-08-06 12:04:52 MainServer::HandleAnnounce Playback
2003-08-06 12:04:52 adding: tv as a player 1
2003-08-06 12:04:52 MainServer::HandleAnnounce Playback
2003-08-06 12:04:52 adding: tv as a player 0
2003-08-06 12:04:52 MainServer::HandleAnnounce FileTransfer
2003-08-06 12:04:52 adding: tv as a remote file transfer
2003-08-06 12:05:06 MainServer::HandleAnnounce Playback
2003-08-06 12:05:06 adding: tv as a player 0
2003-08-06 12:05:06 MainServer::HandleAnnounce Playback
2003-08-06 12:05:06 adding: tv as a player 0
2003-08-06 12:05:06 adding: tv as a remote ringbuffer
audio volume set to '32768'
strange error flushing buffer ...
Changing from None to WatchingLiveTV
--- print list start ---
Title Chan ChID StartTime S I C -- C R D S Rank
Total
--- print list end ---
2003-08-06 12:05:22 Found changes in the todo list.
Changing from WatchingLiveTV to None
2003-08-06 12:07:07 MainServer::HandleAnnounce Playback
2003-08-06 12:07:07 adding: tv as a player 0
2003-08-06 12:07:07 MainServer::HandleAnnounce FileTransfer
2003-08-06 12:07:07 adding: tv as a remote file transfer
--- print list start ---
Title Chan ChID StartTime S I C -- C R D S Rank
Total
--- print list end ---
2003-08-06 12:07:40 Found changes in the todo list.
--- print list start ---
Title Chan ChID StartTime S I C -- C R D S Rank
Total
--- print list end ---
2003-08-06 12:07:41 Found changes in the todo list.
I guess somehow recordingList.size() is returning something > 0. But the
results can't be used? I am too rusty at C, and unfamiliar with QT to go
digging much further. Any more debugging I can insert? Thanks for the help
so far, it is much appreciated. And BTW Landon, I am using CVS for mythtv,
just about every dependency for it was built with emerge though.
-Trey
More information about the mythtv-users
mailing list