ChannelSelection modifications
Re: ChannelSelection modifications #61
Re: ChannelSelection modifications #62
Posted 19 December 2012 - 08:16
This change can not please everyone .
Users will have to get used to it.
And thank you.
GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K
Re: ChannelSelection modifications #63
Re: ChannelSelection modifications #64
Posted 23 December 2012 - 11:54
There was a small problem.I tried it for a few days... and as it goes back to the choosen bouquet I think this was nice... so hold on
class AutoTimerChannelSelection(SimpleChannelSelection): def __init__(self, session, autotimer): SimpleChannelSelection.__init__(self, session, _("Channel Selection")) self.skinName = "SimpleChannelSelection" self.autotimer = autotimer
action -> ChannelSelectBaseActions prevBouquet Traceback (most recent call last): File "/usr/lib/enigma2/python/Components/ActionMap.py", line 66, in action File "/usr/lib/enigma2/python/Components/ActionMap.py", line 46, in action File "/usr/lib/enigma2/python/Screens/ChannelSelection.py", line 1204, in prevBouquet self.changeBouquet(-1) File "/usr/lib/enigma2/python/Screens/ChannelSelection.py", line 1183, in changeBouquet for path in self.history: AttributeError: 'AutoTimerChannelSelection' object has no attribute 'history'
GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K
Re: ChannelSelection modifications #65
Re: ChannelSelection modifications #66
Re: ChannelSelection modifications #67
Re: ChannelSelection modifications #68
Re: ChannelSelection modifications #69
Posted 12 February 2013 - 17:14
GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K
Re: ChannelSelection modifications #70
Re: ChannelSelection modifications #71
Re: ChannelSelection modifications #72
Posted 13 February 2013 - 08:54
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: ChannelSelection modifications #73
Posted 13 February 2013 - 09:18
Thanks, last question.I did not really popup like this before due to the fact within userbouquet the current playing service was focused.
What is this setting(popup), where can be found?
Edited by Dima73, 13 February 2013 - 09:19.
GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K
Re: ChannelSelection modifications #74
Posted 13 February 2013 - 09:29
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: ChannelSelection modifications #75
Posted 6 March 2013 - 12:56
Add button 3 in the channel selector (only favorites) open GraphMultiEPG.
--- a/ChannelSelection.py +++ b/ChannelSelection.py @@ -1178,6 +1178,15 @@ self.setCurrentSelection(service) if self.servicelist.getCurrent() != service: self.servicelist.setCurrent(currentSelectedService) + elif number == 3: + try: + from Plugins.Extensions.GraphMultiEPG.plugin import externalCall + except ImportError: + pass + else: + cur_ref = self.getCurrentSelection() + if cur_ref: + externalCall(self.session, external = cur_ref) def keyAsciiCode(self): unichar = unichr(getPrevAsciiCode()) --- a/GraphMultiEpg.py +++ b/GraphMultiEpg.py @@ -742,9 +742,10 @@ ZAP = 1 - def __init__(self, session, services, zapFunc=None, bouquetChangeCB=None, bouquetname=""): + def __init__(self, session, services, zapFunc=None, bouquetChangeCB=None, bouquetname="", selected_channel=None): Screen.__init__(self, session) self.bouquetChangeCB = bouquetChangeCB + self.selected_channel = selected_channel now = time() - config.epg.histminutes.getValue() * 60 self.ask_time = now - now % int(config.misc.graph_mepg.roundTo.getValue()) self["key_red"] = Button("") @@ -828,6 +829,7 @@ self.onLayoutFinish.append(self.onCreate) self.previousref = self.session.nav.getCurrentlyPlayingServiceOrGroup() + def prevPage(self): self["list"].moveTo(eListbox.pageUp) @@ -962,7 +964,10 @@ self.moveTimeLines() def onCreate(self): - serviceref = self.session.nav.getCurrentlyPlayingServiceOrGroup() + if self.selected_channel is None: + serviceref = self.session.nav.getCurrentlyPlayingServiceOrGroup() + else: + serviceref = self.selected_channel l = self["list"] l.setShowServiceMode(config.misc.graph_mepg.servicetitle_mode.value) self["timeline_text"].setDateFormat(config.misc.graph_mepg.servicetitle_mode.value) --- a/plugin.py +++ b/plugin.py @@ -1,5 +1,6 @@ from Plugins.Plugin import PluginDescriptor from GraphMultiEpg import GraphMultiEPG +from Screens.InfoBar import InfoBar from Screens.ChannelSelection import BouquetSelector from enigma import eServiceCenter, eServiceReference from ServiceReference import ServiceReference @@ -12,6 +13,7 @@ bouquetSel = None epg_bouquet = None epg = None +selected_channel = None class SelectBouquet(Screen): skin = """<screen name="SelectBouquet" position="center,center" size="300,240" title="Select a bouquet"> @@ -105,6 +107,8 @@ epg_bouquet = None global epg epg = None + global selected_channel + selected_channel = None def closed(ret=False): cleanup() @@ -134,17 +138,37 @@ epg_bouquet = Servicelist and Servicelist.getRoot() runGraphMultiEpg() +def externalCall(session, external = None): + if InfoBar and InfoBar.instance and session is not None: + global Session + Session = session + global Servicelist + Servicelist = InfoBar.instance.servicelist + global selected_channel + if external is not None: + try: + if not (external.flags & (eServiceReference.isMarker|eServiceReference.isDirectory)) or (external.flags & eServiceReference.isNumberedMarker): + selected_channel = external + except: + selected_channel = None + global bouquets + bouquets = Servicelist and Servicelist.getBouquetList() + global epg_bouquet + epg_bouquet = Servicelist and Servicelist.getRoot() + runGraphMultiEpg() + def runGraphMultiEpg(): global Servicelist global bouquets global epg_bouquet + global selected_channel if epg_bouquet is not None: if len(bouquets) > 1 : cb = changeBouquetCB else: cb = None services = getBouquetServices(epg_bouquet) - Session.openWithCallback(reopen, GraphMultiEPG, services, zapToService, cb, ServiceReference(epg_bouquet).getServiceName()) + Session.openWithCallback(reopen, GraphMultiEPG, services, zapToService, cb, ServiceReference(epg_bouquet).getServiceName(), selected_channel) def reopen(answer): if answer is None:
GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K
Re: ChannelSelection modifications #76
Posted 12 April 2013 - 08:52
their skins I put three pictures. png
ico_dvb_s-fs8.png
ico_dvb_c-fs8.png
ico_dvb_t-fs8.png
which appeared in the
Attached Files
BlackHole-3.1.0F_DM800 ,Tuner + ALINK DTU & Digital USB DVB-T HDTV TV Tuner Recorder Receiver , HDD TOSHIBA MK2552GSX 250gb,usb 16gb,skins Glamour_X-Infinity mod
Re: ChannelSelection modifications #77
Posted 12 April 2013 - 08:59
Some skinners are making an X-mas tree out if it....
As far I can see this needs patching around in cpp... as the channellist is build from there... (any sources known?)
I would recommend not adding that...
Edited by littlesat, 12 April 2013 - 09:02.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: ChannelSelection modifications #78
Re: ChannelSelection modifications #79
Posted 12 April 2013 - 09:40
Especially when using graphics.... But it will be major to be honest...
But it is always a ballance. Some people want more info and some people less... If it is a stream/satellite/DVB-C/DVB-T you can already see in the standard skin - but only for the selected service/channel.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: ChannelSelection modifications #80
Posted 12 April 2013 - 09:45
it can not be judged if you do not try!
picon channelselection is me
I need to control the plugin "piconload"
because me and kiber12
create project "piconload"
Download and restore picon
BlackHole-3.1.0F_DM800 ,Tuner + ALINK DTU & Digital USB DVB-T HDTV TV Tuner Recorder Receiver , HDD TOSHIBA MK2552GSX 250gb,usb 16gb,skins Glamour_X-Infinity mod
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users