mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 15:58:31 +00:00
align tuner number (starting internally with 0) with VDR numbering (starting with 1)
This commit is contained in:
@@ -326,7 +326,7 @@ bool cVeDevices::Parse(bool forced) {
|
||||
if (!device || !device->NumProvidedSystems()) {
|
||||
continue;
|
||||
}
|
||||
tokenContainer->AddLoopToken(devicesIndex, i, (int)eDevicesLT::num, *cString::sprintf("%d", i));
|
||||
tokenContainer->AddLoopToken(devicesIndex, i, (int)eDevicesLT::num, *cString::sprintf("%d", i + 1));
|
||||
tokenContainer->AddLoopToken(devicesIndex, i, (int)eDevicesLT::type, *(device->DeviceType()));
|
||||
|
||||
cCamSlot *camSlot = device->CamSlot();
|
||||
@@ -538,4 +538,4 @@ bool cVeVolume::Parse(bool forced) {
|
||||
changed = false;
|
||||
SetDirty();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user