align tuner number (starting internally with 0) with VDR numbering (starting with 1)

This commit is contained in:
Peter Bieringer 2021-01-27 20:34:30 +01:00 committed by kamel5
parent 4500b62b5c
commit 83c85870fb
2 changed files with 5 additions and 2 deletions

View File

@ -468,3 +468,6 @@ Version 1.2.10
- [pbiering] expose to displaymenurecordings: recchannelname, recchannelid - [pbiering] expose to displaymenurecordings: recchannelname, recchannelid
- [pbiering] retrieve ChannelName from 'info' and fallback via ChannelID from active channel list - [pbiering] retrieve ChannelName from 'info' and fallback via ChannelID from active channel list
- [kamel5] Update skin estuary4vdr - [kamel5] Update skin estuary4vdr
Version 1.2.10+
- [pbiering] align displayed tuner number (0,1,2 -> 1,2,3)

View File

@ -326,7 +326,7 @@ bool cVeDevices::Parse(bool forced) {
if (!device || !device->NumProvidedSystems()) { if (!device || !device->NumProvidedSystems()) {
continue; 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())); tokenContainer->AddLoopToken(devicesIndex, i, (int)eDevicesLT::type, *(device->DeviceType()));
cCamSlot *camSlot = device->CamSlot(); cCamSlot *camSlot = device->CamSlot();