Jump to content


JasonM8

Member Since 7 Jan 2017
Offline Last Active 27 Jul 2018 09:38
-----

Topics I've Started

Changing the size and position of the Screen/Widget after creation

4 July 2018 - 17:07

Hello. Is it possible to change the position and size of the screen/widget after it has been created? I am controlling position and size with self.skin variable, but it appears that this is only read during creation.

 

I tried examining screen and widget members, and found Screen.instance.size().setWidth method, but self.instance.size().setWidth(800) did not have any effect.


How to programatically check if recording is active or almost active?

4 July 2018 - 17:04

What methods can I use to check if recording is currently active, or if they are pending N minutes from now? Basically I want to do same check that enigma2 does when starting, to avoid restarting if recordings are active or pending.


Autotimer is no longer working via OpenWebif.

6 June 2018 - 02:22

I am using openpli-6.2-release-vuultimo4k-20180528_usb image and unfortunately Autotimer is no longer working
 
In the OpenWebIf I am getting this error when I go to the autotimer section:
 
html> <head><title>500 - Request did not return a string</title></head> <body> <h1>Request did not return a string</h1> <p>Request: <pre>&lt;GET /autotimer HTTP/1.1&gt;</pre><br />Resource: <pre>&lt;Plugins.Extensions.OpenWebif.controllers.AT.ATController instance at 0x9accc210&gt;</pre><br />Value: <pre>None</pre></p> </body> </html>
 
If I try to add autotimer nothing happens. it adds autotimer with "New Name" for description and match title instead of values I entered, and when I refresh "New name" autotimer disappears.
 
Trying to add autotimer through GUI does not work either, it simply isn't added.
 
Is there a way to resolve this, other than by using an older image (and if that is the only way, what is the newest image that is not effected)?

How to programatically send Exit key?

2 April 2018 - 12:00

How can I programatically simlulate Exit key being pressed on the remote? I found code to simulate key presses, including Menu key (code below), but I couldn't find corresponding keycode for the Exit key.
 
import enigma


FLAG_MAKE = 0
FLAG_BREAK = 1
TYPE_STANDARD = "dreambox remote control (native)"


#press the key with the desired flag
eam.keyPressed(TYPE_STANDARD, 139, FLAG_MAKE) #menu
#Release the key 
eam.keyPressed(TYPE_STANDARD, 139, FLAG_BREAK) #menu
 

mkv file not working, details of the file inside

31 March 2018 - 13:54

I have a mkv file that plays fine on PC but won't play at all on the VU+ receiver. When I try to play it it t shows correct time but displays the timeline as if I am already at the end of the video, and then immediately after it quits. I tried it restarting, it didn't help.

 

My receiver is VU+ Ultimo 4k, it is running OpenPLi 4.0.

 

Info of the file is provided at the bottom.

 

Any help is appreciated.

 

Format : Matroska
Format version : Version 2
Overall bit rate mode : Variable
Overall bit rate : 30.1 Mb/s
Writing application : mkvmerge v5.0.1 ('Es ist Sommer') built on Oct 9 2011 11:55:43
Writing library : libebml v1.2.2 + libmatroska v1.3.0
 
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings : CABAC / 2 Ref Frames
Format settings, CABAC : Yes
Format settings, RefFrames : 2 frames
Format settings, GOP : M=1, N=10
Codec ID : V_MPEG4/ISO/AVC
Bit rate mode : Variable
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Language : English
Default : Yes
Forced : No
 
Audio #1
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Codec ID : A_AC3
Duration : 1 h 52 min
Bit rate mode : Constant
Bit rate : 384 kb/s
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 309 MiB (1%)
Title : DUB R5
Language : Russian
Service kind : Complete Main
Default : Yes
Forced : No
 
Audio #2
ID : 3
Format : DTS
Format/Info : Digital Theater Systems
Format profile : MA / Core
Codec ID : A_DTS
Duration : 1 h 52 min
Bit rate mode : Variable / Constant
Bit rate : Unknown / 1 509 kb/s
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 kHz
Frame rate : 93.750 FPS (512 SPF)
Bit depth : 24 bits
Compression mode : Lossless / Lossy
Title : English DTS-HD Master Audio, 5.1 channels, 24 bits
Language : English
Default : No
Forced : No