kodi-pvr / pvr.vuplus

Kodi's Enigma2 client add-on
GNU General Public License v2.0
56 stars 55 forks source link

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

Open leo-b opened 3 years ago

leo-b commented 3 years ago

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.

phunkyfish commented 3 years ago

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.