Duplicated SID's in oscam.srvid and oscam.services
In some cases we can find duplicated SID on different channels. For example polish providers (Cyfrowy Polsat and nc+) have this:
oscam.srvid:
1803,1861:0001|Cyfrowy Polsat|MTV Live HD|TV|
1803,1861:0001|Cyfrowy Polsat|Universal Polska|TV|
1803,1861:0002|Cyfrowy Polsat|MTV Polska|TV|
1803,1861:0002|Cyfrowy Polsat|Sci-Fi Eastern Europe|TV|
0100,1813,0B01:0001|nc+|MTV Live HD|TV|
0100,1813,0B01:0001|nc+|Universal Polska|TV|
0100,1813,0B01:0002|nc+|MTV Polska|TV|
0100,1813,0B01:0002|nc+|Sci-Fi Eastern Europe|TV|
... and so on...
You can easly check clicking here: http://pl.kingofsat.net/packages.php?&id=25&standard=All&ordre=sid&filtre=no and here: http://pl.kingofsat.net/packages.php?&id=126&standard=All&ordre=sid&filtre=no
So, in oscam.services we define:
[cp]
caid = 1803
provid = 000000
srvid = 0001,0001,0002,0002,...and so on...
[ncplus]
caid = 0100,1813,0B01
provid = 000000,000068
srvid = 0001,0001,0002,0002,...and so on...
Opening webif, and clicking 'Services', then 'cp' or 'ncplus' services, it shows:
0001 : MTV Live HD
0001 : MTV Live HD
0002 : MTV
0002 : MTV
We can find some more examples of duplicated SIDs:
# 75E - ABS-1
### Raduga TV
...
0500,0652:012C|Raduga TV|ESP Russian|TV|
0634,0652:012C|Raduga TV|Russkij illuzion|TV|
...
0652:0190|Raduga TV|CTC+2|TV|
0500,0652:0190|Raduga TV|ESP2 Russian|TV|
0634,0652:0190|Raduga TV|illuzion +|TV|
...
0634,0652:01F4|Raduga TV|NAT GEO|TV|
0634,0652:01F4|Raduga TV|Zoo|TV|
...
0634,0652:03E8|Raduga TV|Discovery Channel Russia|TV|
0634,0652:03E8|Raduga TV|Russkiy Extream|TV|
0634,0652:044C|Raduga TV|Animal Planet Russia|TV|
0634,0652:044C|Raduga TV|HCT|TV|
...
0634,0652:0514|Raduga TV|Eurokino|TV|
0634,0652:0514|Raduga TV|Fox Life|TV|
So it seems webif gets first matched srvid, and doubles it on another same sid. It would be nice to fix it :)