Transcoding with BlackHole in Uno4K SE

Hello,

I've found that OpenWebIf in Uno4K SE doesn't show transcoding options.

I've investigated the problem, discovering that OpenWebIf /api/deviceinfo is showing transcoding:false !

This is due to the OpenWebIf checks to decide if the device has transcoding are using a model name that is not correct. My device model name is "Uno 4K SE", however the checks for transcoding are testing for "Uno4Kse".

This are the exact lines I've modified to make transcoding options appear:

/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/models/info.py
This part of the code decides if transcoding=true based on model. So if this fails there is no transcoding.
line 495:
if (info['model'] in ("Duo4K", "Uno4Kse", "Uno4K", "Ultimo4K" ...
change:
if (info['model'] in ("Duo4K", "Uno4K SE", "Uno4Kse", "Uno4K", "Ultimo4K" ...


/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/models/stream.py
This change is made so the correct streaming port is detected (otherwise the m3u fallback to port 8001 and there is not transcoding)
line 68:
if model in ("Duo4K", "Uno4Kse", "Uno4K", "Ultimo4K" ...
change:
if model in ("Duo4K", "Uno4K SE", "Uno4Kse", "Uno4K", "Ultimo4K" ...

line 157:
if model in ("Duo4K", "Uno4Kse", "Uno4K", "Ultimo4K" ...
change:
if model in ("Duo4K", "Uno4K SE", "Uno4Kse", "Uno4K", "Ultimo4K" ...


I would like to know where should I sent this info, so it is read by devs and the problem is patched in next versions!
 

AlexWilMac

Moderator
???? What kind of discovery of the hot water is this? I've always used the transcoding, as well as every other users of BH (and OBH). Or do you really think there wouldn't be hundreds of messages about that?
Have you checked your System customization? There's an option about that that must be enabled to allow transcoding server side.
 
???? What kind of discovery of the hot water is this? I've always used the transcoding, as well as every other users of BH (and OBH). Or do you really think there wouldn't be hundreds of messages about that?
Have you checked your System customization? There's an option about that that must be enabled to allow transcoding server side.

Maybe I have not explained well. I had transcoding (enabled in the BlackHole GUI, with port 8002 active and working when I change the port 8001 to 8002 by hand) but OpenWebIf was not showing any transcoding icon (that mobile phone icon) and in /api/deviceinfo it appeared as transcoding:false. I didnt event know this icons should be appearing so I bet other users havent even noticed this was happening. That Icon I rounded in green only appeared after patching the files, it had never appeared before.

z4OPGzB.png




And the cause was simple as in the OpenWebIf python files there are conditions to enable transcoding:true based on the device model. Along with other models it has the Uno4K SE listed with model "Uno4Kse", however my stb has model "Uno4K SE".

This is a problem only related to the Uno4K SE, and maybe not all units are announcing as "Uno4K SE", but "Uno4Kse" as its written on the python if's and it should be for a reason. Maybe it is something that has been changed in new Uno4K SE as mine is relative new one (bough in jan 2020).

The point is that blackhole's openwebif is enabling transcoding ui only if a model name condition is met. And with my device it would never met unless the python files I indicated in the first message are patched.
 

AlexWilMac

Moderator
OK, then. Having it both in Solo4K and in Duo2 (and for both OBH and BH and other images too) and, above all, as no other users (if my remembering is good) had talked about that so far, I supposed it was active for every models.
But, at this point, it would be interesting and useful to have reports from other Uno4Kse users, and only them...
Anyone out there to check if you have the transcoding icon in OWIF?
 

pear

Vu+ Newbie
OK, then. Having it both in Solo4K and in Duo2 (and for both OBH and BH and other images too) and, above all, as no other users (if my remembering is good) had talked about that so far, I supposed it was active for every models.
But, at this point, it would be interesting and useful to have reports from other Uno4Kse users, and only them...
Anyone out there to check if you have the transcoding icon in OWIF?

hello @Alexwilmac

it is exactly as @Alejandro Alvarez described
model needs to be changed to "Uno4K SE" and then is transcoding using OWIF working correctly
tested on BH 3.1
@Alejandro Alvarez thank you for solving this
 

gallegus62

Vu+ Newbie
Hello,

I've found that OpenWebIf in Uno4K SE doesn't show transcoding options.

I've investigated the problem, discovering that OpenWebIf /api/deviceinfo is showing transcoding:false !

This is due to the OpenWebIf checks to decide if the device has transcoding are using a model name that is not correct. My device model name is "Uno 4K SE", however the checks for transcoding are testing for "Uno4Kse".

This are the exact lines I've modified to make transcoding options appear:

/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/models/info.py
This part of the code decides if transcoding=true based on model. So if this fails there is no transcoding.
line 495:
if (info['model'] in ("Duo4K", "Uno4Kse", "Uno4K", "Ultimo4K" ...
change:
if (info['model'] in ("Duo4K", "Uno4K SE", "Uno4Kse", "Uno4K", "Ultimo4K" ...


/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/models/stream.py
This change is made so the correct streaming port is detected (otherwise the m3u fallback to port 8001 and there is not transcoding)
line 68:
if model in ("Duo4K", "Uno4Kse", "Uno4K", "Ultimo4K" ...
change:
if model in ("Duo4K", "Uno4K SE", "Uno4Kse", "Uno4K", "Ultimo4K" ...

line 157:
if model in ("Duo4K", "Uno4Kse", "Uno4K", "Ultimo4K" ...
change:
if model in ("Duo4K", "Uno4K SE", "Uno4Kse", "Uno4K", "Ultimo4K" ...


I would like to know where should I sent this info, so it is read by devs and the problem is patched in next versions!


-------------------------------

Thanks for input. I had been searching for two days until I found the solution.
I added "Duo4K SE" as you indicate and it works perfect. Now the icon appears.
Make & Model: Vu + Duo4K SE
Processor: 7444s
Total memory: 1443336 kB free / 1619288 kB total
Decoder Operation: 5:33
software
OE system: 3.0
Firmware version: BlackHole 3.1.0.F (2021-03-19-master)
Kernel Version / Driver Date: 4.1.45 / 20200903.r0

Hopefully in the following updates it will be solved
 

p.rodrigues

Vu+ User
Yes there is this bug in the plugin:

3vjmC8t.png

However transcoding, without editing, is possible for a smartphone using, for example, the tiMote.

I did the file edition only on line 495 not editing the others (68 and 157). In this line I added "Uno4K SE" and I eliminated "Uno4Kse":

w6G4Y4w.png

i0Bbyza.png

@gallegus62 maybe you'll just edit "Duo4Kse" to "Duo4K SE"....
 
Top