Jump to content


Photo

Hello all

enigma2 gui modification

  • Please log in to reply
1 reply to this topic

#1 manuxio

  • Member
  • 1 posts

0
Neutral

Posted 20 January 2012 - 14:18

First of all, hello you all.

I have 2 ideas I want to do.

1)
Modify the behaviour of enigma2 to simulate the channel navigation of a skybox.
Specifically I want the UP/DOWN arrow to show a lightpanel (not the channel list) and allow for channel switching (this already exists via some plugin)
I also want to add the ability to move (LEFT/RIGHT) along the EPG.
I suppose this all can be done via a python plugin. Am I correct?

2) (this is harder...)
I want some sort of permanent timeshift that adds a user configurable delay (say 500/1000 ms).
But i want this timeshift to behave very differently from usual timeshift.
When looking at a crypted stream, timeshift decodes the data as soon as it arrives, and stores the decrypted data.
I want the new timeshift to introduce a gap between audio+video stream and ecm stream.
The goal for this is to have the ecm decoded before they're really needed.
Let me explain better with an example.

a) Data arrives
b ) audio+video is separated from ecm
c) audio+video is delayed by 1000ms
d) ecm is sent immediately to the camd.socket
e) enigma2 makes a buffer of last cam's results, and knows the gap between the audio+video and the ecm
f) when the delay ( c ) is over, audio+video is played
g) at the same time, the result of the correct ecm is sent to the ca

by decoupling audio+video and ecm you're allowing a longer time for the card to decode the ecm
This will allow slow cards to be on time.

Any suggestion of how to correctly do this?

Thanks,
manuele

Edited by manuxio, 20 January 2012 - 14:19.


Re: Hello all #2 awx

  • Senior Member
  • 297 posts

+17
Neutral

Posted 25 January 2012 - 12:30

First of all, hello you all.

I have 2 ideas I want to do.

1)
Modify the behaviour of enigma2 to simulate the channel navigation of a skybox.
Specifically I want the UP/DOWN arrow to show a lightpanel (not the channel list) and allow for channel switching (this already exists via some plugin)
I also want to add the ability to move (LEFT/RIGHT) along the EPG.
I suppose this all can be done via a python plugin. Am I correct?

2) (this is harder...)
I want some sort of permanent timeshift that adds a user configurable delay (say 500/1000 ms).
But i want this timeshift to behave very differently from usual timeshift.
When looking at a crypted stream, timeshift decodes the data as soon as it arrives, and stores the decrypted data.
I want the new timeshift to introduce a gap between audio+video stream and ecm stream.
The goal for this is to have the ecm decoded before they're really needed.
Let me explain better with an example.

a) Data arrives
b ) audio+video is separated from ecm
c) audio+video is delayed by 1000ms
d) ecm is sent immediately to the camd.socket
e) enigma2 makes a buffer of last cam's results, and knows the gap between the audio+video and the ecm
f) when the delay ( c ) is over, audio+video is played
g) at the same time, the result of the correct ecm is sent to the ca

by decoupling audio+video and ecm you're allowing a longer time for the card to decode the ecm
This will allow slow cards to be on time.

Any suggestion of how to correctly do this?

Thanks,
manuele

For 1 I think you can use a python plugin, interfacing with the InfoBar or InfoBar generics screen and using a solution like in quick button for overwritting the functions.
For up/down is this not just a skin change that is needed?

For 2, I am not sure I guess looking at the permanent timeshift plugin would help, for change other things about how the process is done, you may need to change the native layer and for this I think you need to look at the files in lib/service



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users