- September 1, 2008
- 21,578
- 8,227
- Home Country
- New Zealand
- Thread starter
- #491
Thanks, that's helpful.Tried it. Seems to be working!
Thanks, that's helpful.Tried it. Seems to be working!
I don't know if I get to it today, probably not, but I will try it at the weekend for sure!This can be changed. For anybody that wants to, just try this code:
https://github.com/MediaPortal/Medi.../CustomDevices/Turbosight/Turbosight.cs#L1234
// Check whether a CI slot is present.
_isCiSlotPresent = false;
int ciAccessProperty = (int)BdaExtensionProperty.CiAccess;
if (_isUsb)
{
ciAccessProperty = (int)UsbBdaExtensionProperty.CiAccess;
}
KSPropertySupport support;
int hr = _propertySet.QuerySupported(_propertySetGuid, ciAccessProperty, out support);
if (hr != (int)HResult.Severity.Success || support == 0)
{
this.LogDebug("Turbosight: device doesn't have a CI slot");
return false;
}
_isCiSlotPresent = true;
By the way, why is this public?! should be private to my thinking... anyway I have something to do related to programmingpublic bool IsCiSlotPresent()
{
TvLibrary.Log.Log.Debug("Turbosight: is CI slot present", new object[0]);
string filterName = FilterGraphTools.GetFilterName(this._tunerFilter);
bool flag = false;
for (int i = 0; i < TunersWithCiSlots.Length; i++)
{
if (filterName.Equals(TunersWithCiSlots))
{
flag = true;
break;
}
}
TvLibrary.Log.Log.Debug("Turbosight: result = {0}", new object[] { flag });
return flag;
}
You are rightSo your attached TVLibrary.dll should be used instead of the one in tbs.rar (linked above)?
FreakyJ, rebuilt my MP 1.5 TV Server, installed your patch shortly after you released it and after extensive usage over the Christmas holidays I am pleased to report that all seems to be working well. Thank you for this Christmas present . As you know, this is the first time I've got a working MP1 setup since I purchased my 1x TBS 5280 and 2x TBS 5980! I will provide more detailed feedback when I've got time. Thanks again!Please test an report back