mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
changed devices list, device numbers start with 0
This commit is contained in:
parent
52d9280c66
commit
2129df34cb
2
HISTORY
2
HISTORY
@ -36,6 +36,8 @@ Version 0.0.2
|
|||||||
- using default menu list in case an invalid MenuCategory is set
|
- using default menu list in case an invalid MenuCategory is set
|
||||||
- added device info in displaychannel, example in metrixHD
|
- added device info in displaychannel, example in metrixHD
|
||||||
- improved menu icon display, additionally using menu cat
|
- improved menu icon display, additionally using menu cat
|
||||||
|
- changed devices list, device numbers start with 0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -74,10 +74,11 @@ bool cViewHelpers::SetDevices(bool initial, map<string,int> *intTokens, vector<m
|
|||||||
if (!device || !device->NumProvidedSystems()) {
|
if (!device || !device->NumProvidedSystems()) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
actualNumDevices++;
|
|
||||||
map< string, string > deviceVals;
|
map< string, string > deviceVals;
|
||||||
stringstream strNum;
|
stringstream strNum;
|
||||||
strNum << actualNumDevices;
|
strNum << actualNumDevices;
|
||||||
|
actualNumDevices++;
|
||||||
deviceVals.insert(pair< string, string >("devices[num]", strNum.str()));
|
deviceVals.insert(pair< string, string >("devices[num]", strNum.str()));
|
||||||
deviceVals.insert(pair< string, string >("devices[type]", *(device->DeviceType())));
|
deviceVals.insert(pair< string, string >("devices[type]", *(device->DeviceType())));
|
||||||
cCamSlot *camSlot = device->CamSlot();
|
cCamSlot *camSlot = device->CamSlot();
|
||||||
|
Loading…
Reference in New Issue
Block a user