Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signal quality check yields quality info for the wrong tuner #316

Open
leo-b opened this issue Dec 27, 2020 · 1 comment
Open

Signal quality check yields quality info for the wrong tuner #316

leo-b opened this issue Dec 27, 2020 · 1 comment

Comments

@leo-b
Copy link

leo-b commented Dec 27, 2020

The addon uses the API call /web/signal to check the current signal quality every second.

On my box (Gigablue UHD UE 4k running OpenAtv and openwebif-1.3.9+git3732+a8eac35-r0), this call yields the signal status of the tuner that the box currently displays on the attached TV, not the status of the current stream that is transferred to kodi. If the box is in standby, /web/signal returns no data, even though a stream is currently playing in kodi:

$ curl http://10.0.0.25/web/signal
<?xml version="1.0" encoding="UTF-8"?>
<e2frontendstatus>
        <e2snrdb> dB</e2snrdb>
        <e2snr> %</e2snr>
        <e2ber></e2ber>
        <e2acg> %</e2acg>
</e2frontendstatus>

This results in three kodi.log error lines every second:

2020-12-27 00:52:30.194 T:125058   ERROR <general>: AddOnLog: pvr.vuplus: pvr.vuplus - GetTunerSignal Could not parse e2ber from result!
2020-12-27 00:52:30.194 T:125058   ERROR <general>: SignalQuality: Add-on 'UHD UE 4K:dream.ms14.kloburg.at' returned an error: server error
2020-12-27 00:52:30.755 T:125058   ERROR <general>: AddOnLog: pvr.vuplus: pvr.vuplus - GetTunerSignal Could not parse e2ber from result!
2020-12-27 00:52:30.755 T:125058   ERROR <general>: SignalQuality: Add-on 'UHD UE 4K:dream.ms14.kloburg.at' returned an error: server error
2020-12-27 00:52:31.337 T:125058   ERROR <general>: AddOnLog: pvr.vuplus: pvr.vuplus - GetTunerSignal Could not parse e2ber from result!
2020-12-27 00:52:31.337 T:125058   ERROR <general>: SignalQuality: Add-on 'UHD UE 4K:dream.ms14.kloburg.at' returned an error: server error
2020-12-27 00:52:31.898 T:125058   ERROR <general>: AddOnLog: pvr.vuplus: pvr.vuplus - GetTunerSignal Could not parse e2ber from result!
2020-12-27 00:52:31.898 T:125058   ERROR <general>: SignalQuality: Add-on 'UHD UE 4K:dream.ms14.kloburg.at' returned an error: server error

Unfortunately I could not find any info how to specify the tuner for which the signal info should be returned using the openwebif API.

P.S.: I am aware that display signal quality can be turned off in kodi PVR settings.

@leo-b leo-b changed the title Signal quality check uses the wrong API call Signal quality check yields quality info for the wrong tuner Dec 27, 2020
@phunkyfish
Copy link
Member

There is no way to specify the tuner I'm afraid. I only realised this after I implemented the feature. I asked the openwebif guys could this be added but they said to it would be very difficult to do this so it would work for all images. It would be need to be supported in the OE core and I didn't think that would ever be implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants