Jump to content


Photo

ChannelSelection


  • Please log in to reply
142 replies to this topic

#1 Dimitrij

  • PLi® Core member
  • 9,969 posts

+335
Excellent

Posted 27 October 2013 - 20:39

http://sourceforge.n...fe3019386dba82/

In my opinion this is a mistake.
Now when you change the service list not zap to  channel if
channel same service.

 

 

self.session.nav.playService(nref, forceRestart=self.rootChanged)

Edited by Dima73, 27 October 2013 - 20:41.

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


Re: ChannelSelection #2 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 27 October 2013 - 22:50

That code is in between already replaced... and it shoud be ref... als ref includes the new channel number.

In fact the naming ref nref is incorrect here.

But.... it is already replaced and made different and with better naming.


Edited by littlesat, 27 October 2013 - 22:51.

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


Re: ChannelSelection #3 Dimitrij

  • PLi® Core member
  • 9,969 posts

+335
Excellent

Posted 28 October 2013 - 06:18

At the moment it does not work.


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


Re: ChannelSelection #4 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 28 October 2013 - 08:22

Here it works... What doesn't work?

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


Re: ChannelSelection #5 Dimitrij

  • PLi® Core member
  • 9,969 posts

+335
Excellent

Posted 28 October 2013 - 10:41

Here it works... What doesn't work?

not zap to  service if service == service and cur service list != old service list


Edited by Dima73, 28 October 2013 - 10:45.

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


Re: ChannelSelection #6 ims

  • PLi® Core member
  • 13,608 posts

+211
Excellent

Posted 28 October 2013 - 11:21

Tried:  Program1 in bouquet 3 as nr. 127 and same Program1 as nr. 170 in bouquet 5.

Zap to Program1 in bouquet 3, then switch to bouquet 5 and ZAP to Program1 there and all is OK (only is not displayed black for litle time). Nr on Infobar is 170 now.

Worked well, imho.


Kdo nic nedělá, nic nezkazí!

Re: ChannelSelection #7 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 28 October 2013 - 12:10

And there is still work in progress in case you change one to alternatives and back...

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


Re: ChannelSelection #8 Dimitrij

  • PLi® Core member
  • 9,969 posts

+335
Excellent

Posted 28 October 2013 - 13:38

if press ok and ref == ref and cur.root != old.root -->reset root(cur.root)


Edited by Dima73, 28 October 2013 - 13:39.

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


Re: ChannelSelection #9 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 28 October 2013 - 14:09

There is no ref = ref or so... Based on the link to the sources I suggest that you refer to old code.

Otherwise give us a fix so we know what you mean... or how you get this wrong?


Edited by littlesat, 28 October 2013 - 14:10.

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


Re: ChannelSelection #10 Dimitrij

  • PLi® Core member
  • 9,969 posts

+335
Excellent

Posted 28 October 2013 - 18:00

example...

 

CS = ChannelSelection

Service A not in user bouquets

 

open CS --> press key red(all)--> zap to Service A(cur.root=all service)

open CS -->cur service = Service A-->press menu--> add Service A in bouquet 1

press blue(bouquets)-->choose bouquet 1-->choose Service A--->press OK(def zap)-->hide CS

open CS--> cur.root=bouquet 1-->press key exit(def cancel)

open CS-->cur.root=all service ???

 

 



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


Re: ChannelSelection #11 Dimitrij

  • PLi® Core member
  • 9,969 posts

+335
Excellent

Posted 28 October 2013 - 19:17

--- a/ChannelSelection.py
+++ b/ChannelSelection.py
@@ -1549,6 +1549,12 @@
 				self.setCurrentSelection(ref)
 		elif ref is None or ref != nref:
 			Screens.InfoBar.InfoBar.instance.checkTimeshiftRunning(boundFunction(self.zapCheckTimeshiftCallback, enable_pipzap, preview_zap, nref))
+		elif self.rootChanged:
+			if ref is not None and ref == nref:
+				self.saveRoot()
+				config.servicelist.lastmode.save()
+				self.setCurrentSelection(nref)
+				self.rootChanged = False
 
 	def zapCheckTimeshiftCallback(self, enable_pipzap, preview_zap, nref, answer):
 		if answer:

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


Re: ChannelSelection #12 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 28 October 2013 - 22:55

You have indeed a point... ;)


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


Re: ChannelSelection #13 Dimitrij

  • PLi® Core member
  • 9,969 posts

+335
Excellent

Posted 29 October 2013 - 06:46

done

--- a/ChannelSelection.py
+++ b/ChannelSelection.py
@@ -1549,6 +1549,12 @@
 				self.setCurrentSelection(ref)
 		elif ref is None or ref != nref:
 			Screens.InfoBar.InfoBar.instance.checkTimeshiftRunning(boundFunction(self.zapCheckTimeshiftCallback, enable_pipzap, preview_zap, nref))
+		elif self.rootChanged:
+			if ref is not None and ref == nref:
+				self.saveRoot()
+				config.servicelist.lastmode.save()
+				self.setCurrentSelection(nref)
+				if self.startServiceRef is None or nref != self.startServiceRef:
+					self.addToHistory(nref)
+				self.rootChanged = False
 
 	def zapCheckTimeshiftCallback(self, enable_pipzap, preview_zap, nref, answer):
 		if answer:

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


Re: ChannelSelection #14 Dimitrij

  • PLi® Core member
  • 9,969 posts

+335
Excellent

Posted 30 October 2013 - 06:48

littlesat
		elif ref is None or ref != nref:
			Screens.InfoBar.InfoBar.instance.checkTimeshiftRunning(boundFunction(self.zapCheckTimeshiftCallback, enable_pipzap, preview_zap, nref))
+		elif self.rootChanged and not preview_zap:
+			if ref is not None and ref == nref:
+				self.saveRoot()
+				config.servicelist.lastmode.save()
+				self.setCurrentSelection(nref)
+				if self.startServiceRef is None or nref != self.startServiceRef:
+					self.addToHistory(nref)
+				self.rootChanged = False

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


Re: ChannelSelection #15 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 30 October 2013 - 08:31

I could not find yesterday why this was really required. Could you please explain again. Sorry for the inconvenience.... and thanks for your patients


Edited by littlesat, 30 October 2013 - 08:31.

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


Re: ChannelSelection #16 Dimitrij

  • PLi® Core member
  • 9,969 posts

+335
Excellent

Posted 30 October 2013 - 10:40

I could not find yesterday why this was really required. Could you please explain again. Sorry for the inconvenience.... and thanks for your patients

Try to get out of the channel selector button exit if change root and service is same.


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


Re: ChannelSelection #17 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 30 October 2013 - 11:29

Now I understand... Thanks....


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


Re: ChannelSelection #18 ims

  • PLi® Core member
  • 13,608 posts

+211
Excellent

Posted 31 October 2013 - 07:30

little bug when is renamed item in bouquet and is not zapped to program from this same bouquet - after renaming is bouquet closed and is displayed bouquet with current played service.

 

( zap to some program in bouquet X.  Choose some bouquet with Pg+/- (f.eg. bouquet Z) and try rename some item from this bouquet Z. After renaming is Bouquet Z closed and is opened bouquet X )


Kdo nic nedělá, nic nezkazí!

Re: ChannelSelection #19 Dimitrij

  • PLi® Core member
  • 9,969 posts

+335
Excellent

Posted 31 October 2013 - 10:36

little bug when is renamed item in bouquet and is not zapped to program from this same bouquet - after renaming is bouquet closed and is displayed bouquet with current played service.

 

( zap to some program in bouquet X.  Choose some bouquet with Pg+/- (f.eg. bouquet Z) and try rename some item from this bouquet Z. After renaming is Bouquet Z closed and is opened bouquet X )

Confirmed.


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


Re: ChannelSelection #20 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 31 October 2013 - 13:14

Sorry I really do not understand what you exactly are doing.... it is very cryptic here.

 

You said the following:

 

1. zap to bouquet X and channel A and watch channel A

2. go to bouquet Y via the bouquet buttons

3. select that bouquet

4. rename a channel in this bouquet.

5. press exit

 

Then it is indeed intended you stay in bouquet X and keep watching channel A... So this is no fault. In this case it should not go and stay in bouquet Y. (you opened the channel selection not for zapping, but for editing something).

 

Please note that the complete ChannelSelection.py is a "dragon" of a thing...


Edited by littlesat, 31 October 2013 - 13:23.

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



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users