Channel numbers among different bouquets
Re: Channel numbers among different bouquets #21
Re: Channel numbers among different bouquets #22
Re: Channel numbers among different bouquets #23
Posted 24 July 2012 - 10:02
I have a single bouquet configuration, with multiple alternative channel lists in it (among regular channels, of course). Some of them have channels with the same name, others have channels with different names (different spacing most of the time).
With latest changes to the ChannelNumber.py I never get a channel number when I select the "alternatives element" from bouquet list. It used to work before changes (I got the alternatives list position as the channel number). Now it is always "---".
Maybe it is not a problem with ChannelNumber.py but a general problem how enigma2 handles alternatives channel list handling. The streaming via web of the alternatives do not work either. But that is stated in another thread.
Edited by macnuts, 24 July 2012 - 10:04.
Re: Channel numbers among different bouquets #24
Re: Channel numbers among different bouquets #25
Posted 24 July 2012 - 10:07
It can be suggested that I have to revert the commit from Ims... which was still done based on a good idea (having the numbering on service reference).
Regards the not numbering on the OSD from streams is likelu caused that the type for streams (4097) is not included here....services = serviceHandler.list(eServiceReference('1:7:1:0:0:0:0:0:0:0:(type == 1) || (type == 17) || (type == 195) || (type == 25) FROM BOUQUET "bouquets.tv" ORDER BY bouquet'))
Edited by littlesat, 24 July 2012 - 10:11.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: Channel numbers among different bouquets #26
Re: Channel numbers among different bouquets #27
Re: Channel numbers among different bouquets #28
Posted 24 July 2012 - 10:22
Numbering on service reference is less wrong, imho
Re: Channel numbers among different bouquets #29
Re: Channel numbers among different bouquets #30
Re: Channel numbers among different bouquets #31
Re: Channel numbers among different bouquets #32
Posted 24 July 2012 - 10:39
a kind of "sub-bouquet" that is treated as single entity (single channel). That "sub-bouquet" is supposed to contain the same channel but from different providers. I have the DM8000 with 2xDVBS2 + 1xDVBT. There are 3 multiplexes in DVBT, so having single DVBT card, I created alternative channel list for all the DVBT channels that contains the corresponding DVBS(2) "copies" of them. As the DVBT copy is of better quality here, I have configured in settings the preffered order "DVBT/DVBS/DVBC". And it all works like a charm (except channel numbering):
When I zap to the alternatives channel list, I got the service from DVBT. When some recording starts of another alternatives list, it is recorded from DVBS (if DVBT "primary" entry is on different multiplex).
Regards.
Re: Channel numbers among different bouquets #33
Re: Channel numbers among different bouquets #34
Posted 25 July 2012 - 22:33
Bouquet 1: 1.Channel A, 2.Channel B, 3.Channel C
Bouquet 2: 4.Channel D, 5.Channel E, 6.Channel F
Bouquet 3: 7.Channel G, 8.Channel E, 9.Channel H
Bouquet 4: 10.Channel I, 11.Channel J, 12.Channel H
If I am flicking through Bouquet 3, instead of seeing channel number 8, I see number 5, and if I am flicking through Bouquet 4, instead of seeing channel number 12, I see number 9.
Do I understand correctly that this problem has been fixed in the latest builds?
ET9000, OpenPLi 4.0, 13E, 19E
HD51, OpenPLi 6.2, 75E - 30W
Re: Channel numbers among different bouquets #35
Posted 26 July 2012 - 11:53
Standard zipping works ok, but when I use the [<<] and [>>] on my DM8000 remote to zap through the "last seen services history", the channel numbers are "shifted" like in the example:
([x] -> #a, #b; where [x] is a remote button to press, the #a is the channel number on OSD and #b is channel number being played actually)
[1] -> #1, #1, OK
[2] -> #2, #2, OK
[3] -> #3, #3, OK
[<<] -> #3, #2, WRONG (should be #2, #2)
[<<] -> #2, #1, WRONG (should be #1, #1)
[>>] -> #1, #2, WRONG (should be #2, #2)
The code I use is up to http://openpli.git.s...d8441773196520c (latest as of writing).
Regards.
Re: Channel numbers among different bouquets #36
Posted 26 July 2012 - 12:12
But I'm scared this will possibly not be an easy fix... as I guess the playlist selected is likely the history playlist......
But it also looks like something is not upgraded probably.... and the numbers are one behind.
Could you try for me without the when event checks?? (remove these four lines)
This gets really mad.....!!!
hopefully you can help me to debug this one....
from Components.VariableText import VariableText from enigma import eLabel, eServiceCenter, iPlayableService from Renderer import Renderer from Screens.InfoBar import InfoBar firstChannelNumberClass = True text = "" class ChannelNumber(Renderer, VariableText): def __init__(self): Renderer.__init__(self) VariableText.__init__(self) self.text = "---" global firstChannelNumberClass self.firstChannelNumberClass = firstChannelNumberClass firstChannelNumberClass = False GUI_WIDGET = eLabel def changed(self, what): global text - if what[0] != self.CHANGED_SPECIFIC: - return - if what[1] != iPlayableService.evStart: - return if not self.firstChannelNumberClass: self.text = text return self.text = "---" service = self.source.service if service and service.info(): serviceHandler = eServiceCenter.getInstance() CurrentServiceList = InfoBar.instance.servicelist root = CurrentServiceList.servicelist.getRoot() if 'userbouquet.' in root.toCompareString(): services = serviceHandler.list(root) channels = services and services.getContent("SN", True) channelIndex = CurrentServiceList.servicelist.l.lookupService(CurrentServiceList.servicelist.getCurrent()) markersCounter = 0 for i in range(channelIndex): if channels[i][0].startswith("1:64:"): markersCounter = markersCounter + 1 self.text = str(CurrentServiceList.getBouquetNumOffset(root)+channelIndex+1-markersCounter) text = self.text
Edited by littlesat, 26 July 2012 - 12:46.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: Channel numbers among different bouquets #37
Posted 26 July 2012 - 13:10
Some elements on infobar are updated with small delay on infobar during zap operation (SD, HD, TXT icons, etc.). Now, the channel number update is also delayed, but only when zapping using the "history zap buttons". No delay on direct channel zapping (by number or next/prev).
Regards.
Re: Channel numbers among different bouquets #38
Posted 26 July 2012 - 14:00
You mean that the numbers displayed when zipping with "history zap buttons" are from some kind of temporary history playlist with items numbered with the order# as they were zapped? Well, it may look from my example but it is not so, it just follows the "one behind" pattern. (The sequence in example was 1,2,3; for "1 -> 12 -> 55 -> 3" you get << 3 << 55 << 12 instead of << 55 << 12 << 1)....
But I'm scared this will possibly not be an easy fix... as I guess the playlist selected is likely the history playlist......
...
Regards.
Edited by macnuts, 26 July 2012 - 14:04.
Re: Channel numbers among different bouquets #39
Posted 26 July 2012 - 14:03
When you put e.g.
print "--------------------------------------------------------------------------->",when
after e.g. the row with global text and run enigma2 via the console (telnet/putty/ssh) after a init 4 then you could help me with debugging... What do you see then? Probably I have to find a better "trigger" type to start calculating the zap number....
I tried to avoid that it was calculated several times per zap.... as this is waste of resources...
Edited by littlesat, 26 July 2012 - 14:04.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: Channel numbers among different bouquets #40
Posted 26 July 2012 - 14:14
if what[1] != iPlayableService.evStart and if what[1] != iPlayableService.evEnd:
might help also... (just by head)
of not what[1] in (iPlayableService.evStart, iPlayableService.evEnd):
But still this needs to be debugged....
Edited by littlesat, 26 July 2012 - 14:15.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users