Jump to content


Photo

Alternative channel, error on back

bug alternatives zap

  • Please log in to reply
3 replies to this topic

#1 mpiero

  • Member
  • 11 posts

0
Neutral

Posted 28 May 2014 - 17:06

Hello, i'm mpiero, developer of openSPA TEAM,..., sorry for my english...

i found this bug: when alternative channel is selected and any plugin/utility change playing service (session.nav.playService(reference)) and go back to previous channel.

Code Example:

self.oldService = self.session.nav.getCurrentlyPlayingServiceReference().toString()
...
...
...
self.session.nav.playService(eServiceReference(self.oldService))

The favorite list is changed to another with no alternatives channels.

If I'm in a channel using alternatives and it changes to another (as in EPG download, i.e, or simply, playing a file, plugins channels mosaic, etc.),
next change to previous service is not to alternative list, it searches first entry in services lists, ignoring alternatives.

Following first example:
Let's assume both Antena3HD (from tuner DTT) and Antena3 (from tuner SAT) -alternative group- are in a favourites list called FavoritosMpiero
and I've another favourite list with all DTT services, called TDTMPIERO (including Antena3HD, of course!!, no alternativces).
If I'm watching Antena3HD (tuner DTT) -alternative channel- and I change it using any code system (epg downl... plugins... MediaCenter...)
when it changes again to return to previous service (Antena3HD - DTT - FavoritosMpiero) alternative channel is not find:
enigma goes to first "real" service, in this case, Antena3HD in TDTMPIERO.

I hope I've well explained and you'll understand

Thanks and great, great job...
 



Re: Alternative channel, error on back #2 littlesat

  • PLi® Core member
  • 53,180 posts

+614
Excellent

Posted 28 May 2014 - 17:17

Still do not understand what happens... But the alternatives is still something not recommended to use...
You told this goes bad when using plugins... So I suggest these plugins must be altered to correctly cover alternatives....

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


Re: Alternative channel, error on back #3 Dimitrij

  • PLi® Core member
  • 7,760 posts

+251
Excellent

Posted 28 May 2014 - 20:27

Change in the code plugins ...

self.oldService = self.session.nav.getCurrentlyPlayingServiceReference().toString()
...
...
...
-self.session.nav.playService(eServiceReference(self.oldService))
+self.session.nav.playService(eServiceReference(self.oldService, adjust=False))

Duo 4K/Lunix3-4K/Solo 4K


Re: Alternative channel, error on back #4 littlesat

  • PLi® Core member
  • 53,180 posts

+614
Excellent

Posted 28 May 2014 - 23:20

Dima73... That is indeed the only possible fix...
If we have still plugins with that issue we feel apreciated with help....

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






Also tagged with one or more of these keywords: bug, alternatives, zap

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users