[mythtv-commits] mythtv commit: r22114 by shane

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Tue Sep 29 18:53:42 UTC 2009


      Author: shane
        Date: 2009-09-29 18:53:41 +0000 (Tue, 29 Sep 2009)
New Revision: 22114
   Changeset: http://cvs.mythtv.org/trac/changeset/22114

Modified:

   trunk/mythtv/programs/mythbackend/mainserver.cpp

Log:

Fixes #7123. Do Input Group checks for the GET_*FREE_RECORDER backend queries.

These need to do the igrp checking and return tuners with at least one
available input:

void MainServer::HandleGetFreeRecorder(PlaybackSock *pbs)
void MainServer::HandleGetFreeRecorderCount(PlaybackSock *pbs)
void MainServer::HandleGetNextFreeRecorder(QStringList &slist, PlaybackSock *pbs)

For this function, the igrp checking is already done by the caller (eg. tv_play).
It returns a list of non-IsBusy() tuners.

void MainServer::HandleGetFreeRecorderList(PlaybackSock *pbs)

NOTE: GetFreeInputs() does an IsBusy() check.




More information about the mythtv-commits mailing list