Jump to content


Photo

ChannelSelection modifications


  • Please log in to reply
229 replies to this topic

Re: ChannelSelection modifications #61 littlesat

  • PLi® Core member
  • 57,176 posts

+698
Excellent

Posted 18 December 2012 - 22:52

FYI: http://openpli.git.s...a478b1f1aa6aeb0

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: ChannelSelection modifications #62 Dimitrij

  • PLi® Core member
  • 10,328 posts

+350
Excellent

Posted 19 December 2012 - 08:16

FYI: http://openpli.git.s...a478b1f1aa6aeb0

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 littlesat

  • PLi® Core member
  • 57,176 posts

+698
Excellent

Posted 19 December 2012 - 08:21

I tried it for a few days... and as it goes back to the choosen bouquet I think this was nice... so hold on :D

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: ChannelSelection modifications #64 Dimitrij

  • PLi® Core member
  • 10,328 posts

+350
Excellent

Posted 23 December 2012 - 11:54

I tried it for a few days... and as it goes back to the choosen bouquet I think this was nice... so hold on :D

There was a small problem.
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 Dimitrij

  • PLi® Core member
  • 10,328 posts

+350
Excellent

Posted 8 February 2013 - 20:40

Attempt number two...
ChannelSelectionEPG->EPGSelection(single EPG) change bouquets

GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: ChannelSelection modifications #66 littlesat

  • PLi® Core member
  • 57,176 posts

+698
Excellent

Posted 8 February 2013 - 20:43

Can you add some comments why????

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: ChannelSelection modifications #67 Dimitrij

  • PLi® Core member
  • 10,328 posts

+350
Excellent

Posted 8 February 2013 - 20:49

Button P +/P- in single EPG will change bouquets.
Just check.

Edited by Dima73, 8 February 2013 - 20:49.

GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: ChannelSelection modifications #68 littlesat

  • PLi® Core member
  • 57,176 posts

+698
Excellent

Posted 8 February 2013 - 22:46

mmmm... I just make some little changes to the ChannelSelection..... But this might be indeed a good idea...

Edited by littlesat, 8 February 2013 - 22:46.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: ChannelSelection modifications #69 Dimitrij

  • PLi® Core member
  • 10,328 posts

+350
Excellent

Posted 12 February 2013 - 17:14

@littlesat
http://openpli.git.s...f80bdfeab3a33d4
What kind of effect?
Very interesting ...

GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: ChannelSelection modifications #70 hemertje

  • Forum Moderator
    PLi® Core member
  • 33,503 posts

+118
Excellent

Posted 12 February 2013 - 21:41

the unwanted not logical zapping history effect

on the Glassfibre 1GB DVB-C...


Re: ChannelSelection modifications #71 Dimitrij

  • PLi® Core member
  • 10,328 posts

+350
Excellent

Posted 13 February 2013 - 08:01

the unwanted not logical zapping history effect

Sorry, I can not reproduce the error.
How should they look like?

GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: ChannelSelection modifications #72 littlesat

  • PLi® Core member
  • 57,176 posts

+698
Excellent

Posted 13 February 2013 - 08:54

We discussed in our team that the behaviourw feels strange as a side effect. I did not really popup like this before due to the fact within userbouquet the current playing service was focused.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: ChannelSelection modifications #73 Dimitrij

  • PLi® Core member
  • 10,328 posts

+350
Excellent

Posted 13 February 2013 - 09:18

I did not really popup like this before due to the fact within userbouquet the current playing service was focused.

Thanks, last question.
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 littlesat

  • PLi® Core member
  • 57,176 posts

+698
Excellent

Posted 13 February 2013 - 09:29

I one of my last commits I removed the focus to the current played service when changing userbouquets... For satelliet/provider/all lists this is still intact... This bahaviour was also anoying us for a while.... when this was done the bouquet +/- get attention..... so this was also anoying.... and therefore removed

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: ChannelSelection modifications #75 Dimitrij

  • PLi® Core member
  • 10,328 posts

+350
Excellent

Posted 6 March 2013 - 12:56

The idea ...
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 maigais

  • Senior Member
  • 431 posts

+4
Neutral

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 littlesat

  • PLi® Core member
  • 57,176 posts

+698
Excellent

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 ims

  • PLi® Core member
  • 13,785 posts

+214
Excellent

Posted 12 April 2013 - 09:08

All this "important" infos in channelselection making it slower, imho


Kdo nic nedělá, nic nezkazí!

Re: ChannelSelection modifications #79 littlesat

  • PLi® Core member
  • 57,176 posts

+698
Excellent

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 maigais

  • Senior Member
  • 431 posts

+4
Neutral

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

 

http://piconload.ru/


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



5 user(s) are reading this topic

0 members, 5 guests, 0 anonymous users