Jump to content


Photo

OpenPLi-py3


  • Please log in to reply
1139 replies to this topic

Re: OpenPLi-py3 #521 WanWizard

  • PLi® Core member
  • 68,614 posts

+1,739
Excellent

Posted 22 August 2022 - 13:23

I haven't got access to a box with PLi loaded at the moment. What is the current list of sort options?

Attached Files


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: OpenPLi-py3 #522 Beeker

  • PLi® Contributor
  • 1,477 posts

+198
Excellent

Posted 22 August 2022 - 16:26

We can use option 'default for it'.

 

With this patch recorded files are sorted by date and subdirs alphabetically by name at default.

Other sort options are untouched.

diff --git a/lib/python/Components/MovieList.py b/lib/python/Components/MovieList.py
index 43a540313..aa80bdb9c 100644
--- a/lib/python/Components/MovieList.py
+++ b/lib/python/Components/MovieList.py
@@ -815,7 +815,7 @@ class MovieList(GUIComponent):
 	def buildGroupwiseSortkey(self, x):
 		# Sort recordings by date, sort MP3 and stuff by name
 		ref = x[0]
-		if ref.type >= eServiceReference.idUser:
+		if ref.type >= eServiceReference.idUser or ref.flags & eServiceReference.mustDescent:
 			return self.buildAlphaNumericSortKey(x)
 		else:
 			return self.buildBeginTimeSortKey(x)

Edited by Beeker, 22 August 2022 - 16:26.

Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.


Re: OpenPLi-py3 #523 WanWizard

  • PLi® Core member
  • 68,614 posts

+1,739
Excellent

Posted 22 August 2022 - 16:40

Fine by me. :thumbs-up:


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: OpenPLi-py3 #524 Beeker

  • PLi® Contributor
  • 1,477 posts

+198
Excellent

Posted 22 August 2022 - 17:08

Pushed.

https://github.com/O...c865ba0905d2181

Of course still open for other solution(s).


Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.


Re: OpenPLi-py3 #525 WanWizard

  • PLi® Core member
  • 68,614 posts

+1,739
Excellent

Posted 22 August 2022 - 17:26

Local build is running... ;)


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: OpenPLi-py3 #526 johnny0705

  • Senior Member
  • 244 posts

+2
Neutral

Posted 22 August 2022 - 19:22

Fine by me. :thumbs-up:


For me to, thanks in advance �

Gr. Jan

VU-Ultimo 4K + Zgemma 7Hs OpenPli 8.0


Re: OpenPLi-py3 #527 Abu Baniaz

  • PLi® Contributor
  • 2,440 posts

+62
Good

Posted 23 August 2022 - 23:36

I flashed the python 3 test image on a Zgemma H9 SE. The text was very fuzzy until the videowizard kicked in and automatically changed the output from RCA to HDMI. Console log attached. I sit possible to make the HDMI output the default please?

 

Also:

Activating language English
Error in activating language!
 
Not sure if these are not in the python 2 image 
[Skin] Error in screen 'InstallWizardOpkgUpdater'
[Skin] Error in screen 'LanguageWizard'
[Skin] Error in screen 'StartWizard'
[Skin] Error in screen 'VideoWizard' widget '
 
 

 

   

Attached Files



Re: OpenPLi-py3 #528 littlesat

  • PLi® Core member
  • 56,273 posts

+691
Excellent

Posted 24 August 2022 - 12:48

We may indeed consider to go for HDMI first... this is indeed the most time used way!


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: OpenPLi-py3 #529 Beeker

  • PLi® Contributor
  • 1,477 posts

+198
Excellent

Posted 24 August 2022 - 18:32

@littlesat

 

Fix for skin.Review

diff --git a/usr/share/enigma2/PLi-FullNightHD/skin.xml b/usr/share/enigma2/PLi-FullNightHD/skin.xml
index 7e6d0c3..3be3f20 100644
--- a/usr/share/enigma2/PLi-FullNightHD/skin.xml
+++ b/usr/share/enigma2/PLi-FullNightHD/skin.xml
@@ -1351,8 +1351,8 @@
 	<screen name="WizardMarginsTemplate">
 		<panel position="left" size="10%,*"/>
 		<panel position="right" size="8%,*"/>
-		<panel position="top" size="8%,*"/>
-		<panel position="bottom" size="10%,*"/>
+		<panel position="top" size="*,8%"/>
+		<panel position="bottom" size="*,10%"/>
 	</screen>
 	<!-- Start Wizard -->
 	<screen name="RemoteControlTemplate">

Attached Files

  • Attached File  skin.xml   153.99KB   1 downloads

Edited by Beeker, 24 August 2022 - 18:36.

Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.


Re: OpenPLi-py3 #530 ricki

  • Senior Member
  • 571 posts

+3
Neutral

Posted 24 August 2022 - 20:08

GS timer recording

Attached Files



Re: OpenPLi-py3 #531 Beeker

  • PLi® Contributor
  • 1,477 posts

+198
Excellent

Posted 24 August 2022 - 20:20

https://github.com/O...a137f45f3ffc7d3

https://github.com/O...a9798ba4f00a4aa


Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.


Re: OpenPLi-py3 #532 marto

  • Senior Member
  • 120 posts

+7
Neutral

Posted 1 September 2022 - 15:29

Hello!

Today I've flashed the latest py3 version via the "flash image" option from the menu keeping the settings from 8.2 version.

All went fine, but i noticed that while trying to access my internal HDD recordings via the dedicated button on the remote (VU+ Ultimo 4K) i get GSOD.

Log is attached. Any help to fix this will be much appreciated.

Attached Files


Edited by marto, 1 September 2022 - 15:29.

VU+ Ultimo 4K; Clarke-Tech et9000


Re: OpenPLi-py3 #533 littlesat

  • PLi® Core member
  • 56,273 posts

+691
Excellent

Posted 1 September 2022 - 16:18

Wierd here with hdd it is working fine in same kind of box and the crashlog does not contain much information beside a segfault. How is the hdd formatted can you access it via putty/telnet?

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: OpenPLi-py3 #534 WanWizard

  • PLi® Core member
  • 68,614 posts

+1,739
Excellent

Posted 1 September 2022 - 16:36

All went fine, but i noticed that while trying to access my internal HDD recordings via the dedicated button on the remote (VU+ Ultimo 4K) i get GSOD.

 

Can you explain what you exactly did, from where, which buttons, what happens exactly?

 

Also, what kind of files are in the default folder (recordings, downloads, etc?), and of something else than recordings, copied there from a Windows environment? Any files with accented characters?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: OpenPLi-py3 #535 marto

  • Senior Member
  • 120 posts

+7
Neutral

Posted 1 September 2022 - 18:08

It is very weird as the problem is now fixed by itself.

Here is a bit more info as requested... The HDD is formatted in EXT4 and during the problem was accessible via FTP, DCC_E2 program for example. The button on remote which was causing the GSOD is the one just above the "Play" button. In webinterface RC is called "List", just next to "Home" button. Both of them were causing the error. At the same time HDD was accessible from the Media Player and Picture Browser plugins. Just after the first opening of Picture Browser plugin and going to a folder with thousands of pictures it froze for a second, and then showed the same GSOD. With the second try, everything already loaded correctly without crash. Then i tried again the button on the remote which was causing GSOD and this time it showed all recorded files and folders properly.

 

PS. I just checked and looks like when the HDD goes to sleep mode and then i try to open the folder with those thousands pictures and files, i get the same crash again... There are some files with Cyrillic characters, but this should not be a problem.  

       There was no such issue with OpenPLi 8.2 or previous versions with same HDD(files in it). It looks like here if the receiver can't show all files in the folder within some period of time (due to huge amount of them), then comes the GSOD.


VU+ Ultimo 4K; Clarke-Tech et9000


Re: OpenPLi-py3 #536 scriptmelvin †

  • PLi® Contributor
  • 720 posts

+46
Good

Posted 2 September 2022 - 01:45

OpenWebIf EPG not working.

Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/twisted/protocols/basic.py", line 548, in dataReceived
  File "/usr/lib/python3.9/site-packages/twisted/web/http.py", line 2155, in lineReceived
  File "/usr/lib/python3.9/site-packages/twisted/web/http.py", line 2281, in allContentReceived
  File "/usr/lib/python3.9/site-packages/twisted/web/http.py", line 1005, in requestReceived
--- <exception caught here> ---
  File "/usr/lib/python3.9/site-packages/twisted/web/server.py", line 229, in process
  File "/usr/lib/python3.9/site-packages/twisted/web/server.py", line 294, in render
  File "/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/base.py", line 209, in render
  File "/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/ajax.py", line 86, in P_channels
  File "/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/models/services.py", line 473, in getChannels
  File "/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/epg.py", line 278, in getMultiChannelNowNextEvents
  File "/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/epg.py", line 184, in _queryEPG
  File "/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/epg.py", line 184, in <listcomp>
  File "/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/epg.py", line 174, in _transformEventData
  File "/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/epgevent.py", line 258, in __init__
  File "/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/epgevent.py", line 111, in getCustomTimeFormats
  File "/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/epgevent.py", line 96, in getDisplayday
  File "/usr/lib/enigma2/python/Components/config.py", line 1757, in __getattr__
builtins.AttributeError: date

Sorry to inform you this member, my brother, passed away.

Re: OpenPLi-py3 #537 WanWizard

  • PLi® Core member
  • 68,614 posts

+1,739
Excellent

Posted 2 September 2022 - 13:29

Has already been fixed.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: OpenPLi-py3 #538 scriptmelvin †

  • PLi® Contributor
  • 720 posts

+46
Good

Posted 2 September 2022 - 13:44

Yes I noticed. Thanks.


Sorry to inform you this member, my brother, passed away.

Re: OpenPLi-py3 #539 foxbob

  • Senior Member
  • 612 posts

+18
Neutral

Posted 2 September 2022 - 14:10

Good afternoon.Ultimo4k.Please check the plugin lcd4linux.It installs from the feed, but I can't log in through the web interface.

 

2022-09-02 15:48:05+0300 [-] [LCD4linux] libusb found :-) 2022-08-25-python3
2022-09-02 15:48:05+0300 [-] [LCD4linux] dpflib-Error
 
2022-09-02 15:48:40+0300 [-] [Skin] Processing screen 'LCDdisplayConfig', position=(0, 0), size=(1920 x 1080) for module 'LCDdisplayConfig'.
2022-09-02 15:48:40+0300 [-] [Skin] Error: [Skin] {PLi-FullHD/skin.xml}: Pixmap file 'infobar/scrollbar.svg' not found!  Please contact the skin's author!
2022-09-02 15:48:40+0300 [-] [Skin] Error: [Skin] {PLi-FullHD/skin.xml}: Pixmap file 'infobar/scrlbr.svg' not found!  Please contact the skin's author!
 

2022-09-02 15:49:46+0300 [-] [OpenWebif] page 'b'/lcd4linux/config'' not found

Attached Files


Edited by foxbob, 2 September 2022 - 14:11.


Re: OpenPLi-py3 #540 foxbob

  • Senior Member
  • 612 posts

+18
Neutral

Posted 2 September 2022 - 17:05

Python 3. There is no image on duo4k, there is only sound. There are no errors in the logs.

Python 2 has no problem.

Maybe it's just me.

18:43:23.5178 [eDVBFrontend1] tuning to 1530 mhz
18:43:23.5178 [eDVBChannel] OURSTATE: tuning
18:43:23.5179 [eDVBServicePMTHandler] allocate Channel: res 0
18:43:23.5179 [eDVBCIInterfaces] addPMTHandler 1:0:1:1A18:10:55:310000:0:0:0:
18:43:23.5180 [eDVBChannel] getDemux cap=00
18:43:23.5180 [eDVBResourceManager] allocate demux cap=00
18:43:23.5180 [eDVBResourceManager] allocating demux adapter=0, demux=0, source=1 fesource=1
18:43:23.5187 [eDVBFrontend1] set static current limiting
18:43:23.5189 [eDVBFrontend1] setVoltage 1
18:43:23.5189 [eDVBFrontend1] setVoltage FE_ENABLE_HIGH_LNB_VOLTAGE 0 FE_SET_VOLTAGE 0
18:43:23.5318 [eDVBFrontend1] sleep 10ms
18:43:23.5420 [eDVBFrontend1] set sequence pos 3
18:43:23.5422 [eDVBFrontend1] update current switch params
18:43:23.5423 [eDVBFrontend1] startTuneTimeout 5000
18:43:23.5423 [eDVBFrontend1] setFrontend 1
18:43:23.5423 [eDVBFrontend1] setting frontend
18:43:23.6034 [eDVBFrontend1] fe event: status 0, inversion off, m_tuning 1
18:43:23.6212 [eDVBFrontend1] sleep 500ms
18:43:23.6977 [eDVBFrontend1] fe event: status 1f, inversion off, m_tuning 2
18:43:23.6978 [eDVBChannel] OURSTATE: ok
18:43:23.6978 [eDVBLocalTimerHandler] channel 0xddd9e8 running
18:43:23.6978 [eEPGTransponderDataReader] channel 0xddd9e8 running
18:43:23.6979 [eDVBChannel] getDemux cap=00
18:43:23.6981 [eDVBResourceManager] stop release channel timer
18:43:23.6981 [eEPGChannelData] next update in 2 sec
18:43:23.6981 [eDVBChannel] getDemux cap=01
18:43:23.6982 [eDVBResourceManager] allocate demux cap=01
18:43:23.6982 [eDVBResourceManager] allocating shared demux adapter=0, demux=0, source=1
18:43:23.6982 [eDVBServicePMTHandler] ok ... now we start!!
18:43:23.6983 [eDVBServicePlay] eventNewProgramInfo timeshift_enabled=0 timeshift_active=0
18:43:23.6983 [eDVBServicePlay] have 1 video stream(s) (1a19), and 1 audio stream(s) (1a1a), and the pcr pid is 1a19, and the text pid is ffffffff
18:43:23.6984 [eDVBChannel] getDemux cap=01
18:43:23.7002 [eTSMPEGDecoder] decoder state: play, vpid=1a19, apid=1a1a
18:43:23.7003 [eDVBPCR0] DMX_SET_PES_FILTER pid=0x1a19 ok
18:43:23.7004 [eDVBPCR0] DEMUX_START ok
18:43:23.7045 [eDVBAudio0] DMX_SET_PES_FILTER pid=0x1a1a ok
18:43:23.7046 [eDVBAudio0] DEMUX_START ok
18:43:23.7046 [eDVBAudio0] AUDIO_SET_BYPASS bypass=1 ok
18:43:23.7127 [eDVBAudio0] AUDIO_PAUSE ok
18:43:23.7160 [eDVBAudio0] AUDIO_PLAY ok
18:43:23.7296 [eDVBVideo] Video Device: /dev/dvb/adapter0/video0
18:43:23.7296 [eDVBVideo] demux device: /dev/dvb/adapter0/demux0
18:43:23.7339 [eDVBVideo0] VIDEO_SET_STREAMTYPE 0 - ok
18:43:23.7381 [eDVBVideo0] DMX_SET_PES_FILTER pid=0x1a19 ok
18:43:23.7381 [eDVBVideo0] DEMUX_START ok
18:43:23.7381 [eDVBVideo0] VIDEO_FREEZE ok
18:43:23.7417 [eDVBVideo0] VIDEO_PLAY ok
18:43:23.7584 [eDVBVideo0] VIDEO_SLOWMOTION 0 ok
18:43:23.7626 [eDVBVideo0] VIDEO_FAST_FORWARD 0 ok
18:43:23.7671 [eDVBVideo0] VIDEO_CONTINUE ok
18:43:23.7710 [eDVBAudio0] AUDIO_CONTINUE ok
18:43:23.7788 [eDVBTeletextParser] Starting!
18:43:23.7788 [eDVBTeletextParser] disable teletext subtitles page ffffffffffffffff (und)
18:43:23.7788 [eDVBPESReader] Created. Opening demux
18:43:23.7789 [eDVBTeletextParser] created teletext subtitle PES reader!
18:43:23.7789 [eDVBPESReader] Created. Opening demux
18:43:23.7790 [eDVBTeletextParser] starting PES reader on pid=ffffffff
18:43:23.7793 [eDVBServicePlay] timeshift
18:43:23.7805 [eDVBServicePlay] timeshift
18:43:23.7814 [eDVBServicePlay] timeshift
18:43:23.8364 [eDVBCAService] new service 1:0:1:1A18:10:55:310000:0:0:0:
18:43:23.8365 [eDVBCAService] add demux 0 to slot 0 service 1:0:1:1A18:10:55:310000:0:0:0:
18:43:24.1213 [eDVBFrontend1] set dynamic current limiting
18:43:24.1598 [eDVBServicePMTHandler] PATready
18:43:24.1598 [eDVBServicePMTHandler] use pmtpid 1a18 for service_id 1a18
18:43:24.3122 [eDVBServicePMTHandler] sdt update done!
18:43:24.3342 [eDVBServicePlay] eventNewProgramInfo timeshift_enabled=0 timeshift_active=0
18:43:24.3347 [eDVBServicePlay] have 1 video stream(s) (1a19), and 1 audio stream(s) (1a1a), and the pcr pid is 1a19, and the text pid is ffffffff
18:43:24.3349 [eTSMPEGDecoder] decoder state: play, vpid=1a19, apid=1a1a
18:43:24.3349 [eDVBVideo0] VIDEO_SLOWMOTION 0 ok
18:43:24.3391 [eDVBVideo0] VIDEO_FAST_FORWARD 0 ok
18:43:24.3437 [eDVBVideo0] VIDEO_CONTINUE ok
18:43:24.3476 [eDVBAudio0] AUDIO_CONTINUE ok
18:43:24.4027 [eDVBCIInterfaces] gotPMT
18:43:24.4028 [eDVBCAService] don't build/send the same CA PMT twice

Edited by foxbob, 2 September 2022 - 17:05.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users