Nice catch... please try...
for (key, val) in sorted(topickle.items(), key=lambda x: x[0].lower()):
This should sort the dict case insensitive....
I think this should be there 10 years ago....
Edited by littlesat, 16 December 2016 - 11:07.
Posted 16 December 2016 - 11:03
Nice catch... please try...
for (key, val) in sorted(topickle.items(), key=lambda x: x[0].lower()):
This should sort the dict case insensitive....
I think this should be there 10 years ago....
Edited by littlesat, 16 December 2016 - 11:07.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Posted 16 December 2016 - 11:22
Posted 16 December 2016 - 11:34
Applied.
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Posted 16 December 2016 - 11:36
Thanks.... my code tested by others before I could test it and it is already committed, pushed and merged... and a simple thing with added value
Edited by littlesat, 16 December 2016 - 11:36.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Posted 16 December 2016 - 11:39
So we needed a custom sorting function after all
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Posted 16 December 2016 - 13:28
@Eragon,
Just a question regarding your tests.
Did you test with the SKY Pro box and the Duo2 on the same cable, or did you use separate cables between box and switch? And if so, could you repeat the same test, but with both boxes on the same cable (tuned into the same channel, or diffferent channels)?
We're wondering if SKY SCR's and standard SCR's can be used on a single cable.
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Posted 16 December 2016 - 13:49
@ Eragon,
Just to confirm, is your SKY Q system using the UK standard or the continental standard, as they seem to differ?
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Posted 16 December 2016 - 15:02
Probably another small "one-liner" improvement regarding the setting file sorting (I just saw it here at my work....)
-for (key, val) in sorted(topickle.items(), key=lambda x: x[0].lower()):
+for (key, val) in sorted(topickle.items(), key=lambda x: int(x[0]) if x[0].isdigit() else x[0].lower()):
As we have it know numbers are sorted like this... [1, 11, 2, 22, 3, 33]
With this change it will be [1,2,3,11,22,33]
Edited by littlesat, 16 December 2016 - 15:04.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Posted 16 December 2016 - 15:08
My Unitron-Johansson dCSS multiswitch has 2 independent outputs, each one providing 16 user bands.
http://unitrongroup.....html#downloads
This multiswitch is "autosensing" and adapts its user bands according to the connected receiver (JESS or Sky UK)
It provides 4 EN50494 user bands (1 to 4) and 12 EN50607 user bands (5 to 16).
When connected to a SkyQ UK it provides 16 dCSS user bands (SKY UK standard)
The Unitron-Johansson multiswitch series has been selected by Sky Italy.
Actually my Sky+ Pro is connected to the second multiswitch output and is completely separated from the cable connected to the Vu+ Duo2.
I'm one of the first Italian beta tester of the new Sky+ Pro, which is not yet available to the normal Italian Sky customers.
At the moment this receiver is still using 2 of the 4 old Unicable I EN50494 user bands.
A new firmware is expected soon that will enable all its 8 sat tuners and the full allocation of the 16 dCSS user bands
Edited by Eragon, 16 December 2016 - 15:10.
Posted 16 December 2016 - 15:15
Simple.... you can not use it with Sky-UK en E2 on one cable... But you can use it with one cable on SKY-box and the other on E2 box... (event the scr frequencies are slightly different in Sky-UK mode)....
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Posted 16 December 2016 - 15:21
@Eragon
This is comparable to the JESS switches we have been testing with, they also have two completely independent outputs, all user bands are available on both outputs. So it's TCR not SCR (Two Cable Reception ).
The rest of what you say complies with my expectations. According to whether a Sky or SCR command is received, one set of user bands or the other is selected.
Now two questions remain to be answered:
- What happens if you connect both a SKY and non-SKY receiver to one cable, and very importantly, configure user bands from the SKY set and that are definitely not being used by other equipment! Does that work?
- Are the lowest four (1 - 4) user bands Unicable only, or are they JESS + legacy compatibility? I suspect the last, which means you can simply configure your switch as JESS with user bands 1 - 16.
@Littlesat, there is nothing yet to confirm nor reject that theory, we'll have to wait for testing.
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Posted 16 December 2016 - 15:27
About the possibility to share user bands between a Sky+ Pro or Sky Q and a standard JESS receiver, IMHO this unfortunately wouldn't happen, at least if the new Sky environment is going to be used (I mean the wireless Sky Q Mini connected to the main receiver).
For this reason, when installing the new Sky+ Pro for this beta testing, Sky Italy is also replacing LNB or multiswitches with their new dCSS hardware, requiring that the sat cable coming from these replaced devices should be connected exclusively to their receiver.
And also for this reason, in my apartment I upgraded the original Sky-provided Unitron-Johansson multiswitch (model dCSS-41) having only 1 output, with the better Unitron-Johansson model 9732 which has 2 independent outputs.
Posted 16 December 2016 - 15:34
- Are the lowest four (1 - 4) user bands Unicable only, or are they JESS + legacy compatibility? I suspect the last, which means you can simply configure your switch as JESS with user bands 1 - 16.
This what is printed in the manual:
CSS Mode
ONLY EN50494/SCR standard
For Installation with Legacy STB and PVR/MySKYHD SCR compatible:
Max 4 User Bands (UB1 to UB4) available (as in the LNB SCR)
Signalling DiSEqC 1.0
ONLY EN50607/dCSS standard
For NEW Installation of HMG:
12 User Bands for HMG in the range from UB5 to UB16
Signalling DiSEqC 1.0 or 2.0
CONCURRENT EN50494/EN50607 standards
For existing MULTIVISION installations (Legacy STB/PVR SCR compatible), with main STB
upgraded to Next Gen PVR/HMG:
Max 4 User Bands (UB1 to UB4) available for current STB/PVR
12 User Bands for HMG in the range from UB5 to UB16
Signalling DiSEqC 1.0 + signalling DiSEqC 2.0 in the same cable from LNB to apartment
SKY UK standard
For Installations with SKY Q-Box :
16 User bands in SCR mode
Signalling DiSEqC 1.0 or 2.0
http://unitrongroup....?lang=en&id=662
As it appears there, the first 4 should be only EN50494.
But this should not limit the possibility to have 16 tuners in use, only 4 of them will need to be configured to use 1 to 4 user band in EN50494 (Unicable I)
Edited by Eragon, 16 December 2016 - 15:38.
Posted 16 December 2016 - 16:39
you can simply configure your switch as JESS with user bands 1 - 16..
Reconsidering your statement, I suspect you too are afraid that we're going to face a problem in using the unicable.xml file...
Reason: that ideal situation (JESS 1 to 16) is not always possible at least with a multiswitch or LNB like those from Unitron-Johansson.
As you can see, in these cases user bands 1 to 4 wouldn't work with the JESS/EN50607 standard, and this is what I discovered when trying to use them and the lines
config.Nims.1.advanced.lnb.1.format=jess
and
config.Nims.0.advanced.lnb.1.format=jess
were left over in my settings file from previous JESS tuner configurations, so I had to manually remove them.
Well, considering my previously proposed addition to the unicable.xml file, I now believe that for each model not a single line should exist in the file, but 2 lines!
for example:
<product name="9732" positions="1" format="jess" scrs="1210,1420,1680,2040,985,1050,1115,1275,1340,1485,1550,1615,1745,1810,1875,1940"/>
should be split in:
<product name="9732 Unicable I EN50494" positions="1" scrs="1210,1420,1680,2040"/> <product name="9732 JESS EN50607" positions="1" format="jess" scrs="985,1050,1115,1275,1340,1485,1550,1615,1745,1810,1875,1940"/>
but now a problem arises...
how could be signaled in the unicable.xml file that for the "9732 JESS EN50607" mode the SCR user bands must start from 5 and not from 1 when showed in the tuner settings screen???
Normally these user bands would be indicated starting with SCR 1...
Posted 16 December 2016 - 16:57
I would go for... But why would you want to use it in Unicable mode???
<product name="9732 (in Unicable mode)" positions="1" scrs="1210,1420,1680,2040"/>
<product name="9732 (in JESS mode)" positions="1" format="jess" scrs="985,1050,1115,1275,1340,1485,1550,1615,1745,1810,1875,1940"/>
Edited by littlesat, 16 December 2016 - 16:57.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Posted 16 December 2016 - 17:08
I would go for... But why would you want to use it in Unicable mode???
<product name="9732 (in Unicable mode)" positions="1" scrs="1210,1420,1680,2040"/>
<product name="9732 (in JESS mode)" positions="1" format="jess" scrs="985,1050,1115,1275,1340,1485,1550,1615,1745,1810,1875,1940"/>
If not configuring as old Unicable one to four of the tuners connected to the same cable, you wiil be able to use only 12 tuners in JESS standard.
User bands 1 to 4 cannot be used in JESS standard, they are incompatible at least in this multiswitch series.
In my case, I have others receivers that in the future will be connected to the same cable, first of all my Solo4K (that is in use of my family and for now can't be used for testing;)) which has 8 tuners.
Anyway, for the "9732 (in JESS mode)" the problem to start the SCR list on screen with the number 5 instead of with the number 1, would still remain...
Posted 16 December 2016 - 17:29
Posted 16 December 2016 - 17:38
Sky+ Pro is probably different from Sky Q (I can't get one of them...), anyway it has 8 tuners, it will have something like the wireless Sky Q Mini satellites, and Sky Italy installs a LNB (or a multiswitch) with concurrent compatibility with the EN50494 and EN50607 standards.
So there are jess-only devices but also not-jess-only devices..
Edited by Eragon, 16 December 2016 - 17:39.
0 members, 21 guests, 0 anonymous users