[mythtv-users] got my Prime!

Don Lewis dl-mythtv at catspoiler.org
Tue Aug 2 03:01:20 UTC 2011


On  1 Aug, Raymond Wagner wrote:
> On Mon, 1 Aug 2011 18:54:23 -0700 (PDT), Don Lewis
> <dl-mythtv at catspoiler.org> wrote:
>> In libmythtv, HDHomeRunConfigurationGroup::FillDeviceList() has a built
>> in assumption that there are two tuners.
> 
> SiliconDust made changes to our code around 15 months ago to remove that
> limitation.  What version are you running?  The logs you posted earlier
> didn't indicate much other than you weren't running trunk.

# mythbackend --version
Please attach all output as a file in bug reports.
MythTV Version   : v0.24.1-4-gc321ee6
MythTV Branch    : fixes/0.24
Network Protocol : 63
Library API      : 0.24.20110505-1
QT Version       : 4.7.2
Options compiled in:
 linux release using_alsa using_jack using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_crystalhd using_dvb using_firewire using_frontend using_hdhomerun using_hdpvr using_iptv using_ivtv using_joystick_menu using_libfftw3 using_lirc using_mheg using_opengl_video using_opengl_vsync using_qtdbus using_qtwebkit using_v4l using_x11 using_xrandr using_xv using_xvmc using_xvmc_vld using_xvmcw using_bindings_perl using_bindings_python using_mythtranscode using_opengl using_vdpau using_ffmpeg_threads using_live using_mheg

installed using ATRPMS packages.

This is where FillDeviceList hardwires two tuners:

    for (it = devs.begin(); it != devs.end(); ++it)
    {
        QString dev = *it;
        QStringList devinfo = dev.split(" ");
        QString devid = devinfo.first();
        QString devip = devinfo.last();

        HDHomeRunDevice tmpdevice;
        tmpdevice.deviceid   = devid;
        tmpdevice.desc       = CardUtil::GetHDHRdesc(devid);
        tmpdevice.cardip     = devip;
        tmpdevice.inuse      = false;
        tmpdevice.discovered = true;

        tmpdevice.cardtuner = "0";
        tmpdevice.mythdeviceid =
            tmpdevice.deviceid + "-" + tmpdevice.cardtuner;
        devicelist[tmpdevice.mythdeviceid] = tmpdevice;

        tmpdevice.cardtuner = "1";
        tmpdevice.mythdeviceid =
            tmpdevice.deviceid + "-" + tmpdevice.cardtuner;
        devicelist[tmpdevice.mythdeviceid] = tmpdevice;
    }




More information about the mythtv-users mailing list