Giter Site home page Giter Site logo

channel retune issue about vdr-plugin-satip HOT 20 OPEN

rofafor avatar rofafor commented on August 29, 2024
channel retune issue

from vdr-plugin-satip.

Comments (20)

REELcoder avatar REELcoder commented on August 29, 2024 1

It was intended to prevent from unnecessary retuning if you switch between channels on the same transponder. But I see no problem to remove this in the meantime. I will check what is missing that it works with invalid channel as well.

from vdr-plugin-satip.

9000h avatar 9000h commented on August 29, 2024

did the check in case of a retune make sense here?

vdr-plugin-satip/tuner.c

Lines 224 to 227 in 826dea4

if (!strcmp(*streamParamM, *lastParamM)) {
debug1("%s Identical parameters [device %d]", __PRETTY_FUNCTION__, deviceIdM);
return true;
}

from vdr-plugin-satip.

9000h avatar 9000h commented on August 29, 2024

there is another issue in tsSet the UpdatePids is not needed here as it's done later on in tsLocked

UpdatePids(true);

if (!UpdatePids()) {

from vdr-plugin-satip.

9000h avatar 9000h commented on August 29, 2024

I see one of the issues come from the latest commit, so may @REELcoder can explain how this makes sense in case of re-tune as it did not work here with as single server dvb-s2/c/t2.

vdr-plugin-satip/tuner.c

Lines 224 to 227 in 826dea4

if (!strcmp(*streamParamM, *lastParamM)) {
debug1("%s Identical parameters [device %d]", __PRETTY_FUNCTION__, deviceIdM);
return true;
}

from vdr-plugin-satip.

REELcoder avatar REELcoder commented on August 29, 2024

The idea is, that no re-tuning is needed, if you switch from to channel on the same transponder/frequency. But the two channels you mention, are not on the same transponder.

Please activate more satip loging.

from vdr-plugin-satip.

9000h avatar 9000h commented on August 29, 2024

if I comment this part out all is fine, as it's happen with minisatip and digibit r1 it should be also happen on a octonet. Can you please try as written in the first post.

from vdr-plugin-satip.

REELcoder avatar REELcoder commented on August 29, 2024

Same effect here. Only with fast switches. If you wait on the 20s tuning timeout on the invalid channel, the valid will be tuned.

Seems to be a limitation on the ::Action() state machine. Can have a lock into that. Does it happen only with invalid channels?

from vdr-plugin-satip.

9000h avatar 9000h commented on August 29, 2024

I do only notice this with invalid channels, and with multiple sat pos. and VDR you have every time some in the channels.conf. I may heart also the background eit/epg scan but the logs are grow so fast with a higher level.
But as I wrote the code is may not needed and I see no drawback without.

from vdr-plugin-satip.

REELcoder avatar REELcoder commented on August 29, 2024

My commit 8d84938 should fix this.

The problem was, that that lastParamM was not updated when you switch to crypted invalid channel.

from vdr-plugin-satip.

9000h avatar 9000h commented on August 29, 2024

thanks, still testing but looks like without it's still better

from vdr-plugin-satip.

REELcoder avatar REELcoder commented on August 29, 2024

Does ist work? If you see problems, please send a TRAC 0x0009 log.

from vdr-plugin-satip.

9000h avatar 9000h commented on August 29, 2024

unfortunately not, on the last switch to chan 1 there is no picture
sorry was the wrong log before
syslog.txt

from vdr-plugin-satip.

REELcoder avatar REELcoder commented on August 29, 2024

Strange. It is hanging in tsTunned at 22:45:34 when you switch the channel. In tsTunned hasLockM should be false and the "Identical parameters" branch should not get hit in Connect(). But it's happening in your case. Cann you try to add more debug code in Connect() to find out what is happening with hasLockM

from vdr-plugin-satip.

9000h avatar 9000h commented on August 29, 2024

it a matter of time here, if you switch with in vdr with key 0 you should be able to reproduce it.

from vdr-plugin-satip.

9000h avatar 9000h commented on August 29, 2024

I like to bring this up again as with vdr-2.5.1 and git from today the issue is still happen here
I do have to comment out the "return true" to fix it.

return true;

from vdr-plugin-satip.

rofafor avatar rofafor commented on August 29, 2024

Could you try the latest master commit whether it helps?

from vdr-plugin-satip.

9000h avatar 9000h commented on August 29, 2024

will do

from vdr-plugin-satip.

9000h avatar 9000h commented on August 29, 2024

looks like if frontend reuse is disabled it works as expected, but not with frontend reuse enabled (also not with comment the return mentioned above)

from vdr-plugin-satip.

9000h avatar 9000h commented on August 29, 2024

need to correct me
looks like if frontend reuse is disabled it works as expected when the "return" is commented, with frontend reuse the issue is still there

from vdr-plugin-satip.

rofafor avatar rofafor commented on August 29, 2024

When looking at your latest log, there's no Identical parameters within the last zap, so commenting the return true; shouldn't have any effect as that code block isn't even executed. IMO, channel switches and retuning goes as it should. There's one identical parameters message when properly re-tuning the channel 1 at 21:11:25.

Please, run the satip plugin with one device only and remove all additional plugins like hbbtv that affects devices. Mark into logs when channel isn't visible although it should. Also capture (e.g. tcpdump) port 544 traffic from the same time duration. Running the plugin with one device only makes debugging much easier.

from vdr-plugin-satip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.