Jump to content


Photo

Vu+ 4K Multiboot


  • Please log in to reply
592 replies to this topic

Re: Vu+ 4K Multiboot #341 Frenske

  • Forum Moderator
    PLi® Core member
  • 27,450 posts

+397
Excellent

Posted 25 April 2023 - 16:43

I am aware that a communication with Littlesat often changes to a non topic communication.  ;) 
@Littlesat. I’m just teasing. :P


Mijn schotel is een T90 met 10 LNB's. Daarnaast voor de fun nog een draaibaar systeem met een Triax TD 78.

Dreamboxen heb ik niet meer echt actief. Verder heb ik ook nog een een VU+ duo2 met 500Gb harddisk + een VU+ Uno, Zero, Solo 4K, Ultimo 4K, Zero 4K, Uno 4Kse. + ook nog een Xtrend ET7x00. Daarnaast heb ik ook nog diverse andere modellen w.o. een Formuler F4, ET8500, ET7500, Mut@nt 2400HD, Xsarius Fusion HD se en verder nog wel het e.e.a. waarmee op verzoek vanalles wordt getest. Iemand moet het tenslotte doen. ;) :)
Los van de eerder genoemde modellen heb ik nog wel een rits aan testsamples als Mut@nt 2400HD, HD60, GB UE4K, GB Trio4K, Maxitec Multibox combo en Twin, Octagon sf8008, sf8008 mini en last but nog least enkele modellen van het Grieks Duitse Edision.

Voor centrale opslag van media gebruik ik een Qnap 219P 
met tweemaal 2 Tb harddisks + een Synology DS414 met 12 Tb Totale opslag.

-------------------------------------------------------------------------------------------
Many answers to your question can be found in our wiki: Just one click away from this "solutioncentre".

Als ik alles al wist hoefde ik ook niets te vragen. If I had all the knowledge I had no questions at all.


Re: Vu+ 4K Multiboot #342 Dimitrij

  • PLi® Core member
  • 10,186 posts

+346
Excellent

Posted 25 April 2023 - 17:04

I know what that is, but you don't honestly expect an end-user to start hacking that?

 

Point is: there was a config item in the GUI to enter my homebuild URI, and that is now gone. Please reinstate it.

Simple

Attached Files


Edited by Dimitrij, 25 April 2023 - 17:07.

GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: Vu+ 4K Multiboot #343 neo

  • PLi® Contributor
  • 715 posts

+48
Good

Posted 25 April 2023 - 17:56

Happy it was ;)

 

I assume this isn't in develop yet? I'll try again tonight after I've build an up to date image.



Re: Vu+ 4K Multiboot #344 Dimitrij

  • PLi® Core member
  • 10,186 posts

+346
Excellent

Posted 25 April 2023 - 18:27

--- a/FlashImage.py
+++ b/FlashImage.py
@@ -49,11 +49,13 @@
 		self.jsonlist = {}
 		self.imagesList = {}
 		self.setIndex = 0
+		self.imageAll = False
 		self.expanded = []
 		self.setTitle(_("Select image"))
 		self["key_red"] = StaticText(_("Cancel"))
 		self["key_green"] = StaticText()
 		self["key_yellow"] = StaticText()
+		self["key_blue"] = StaticText(_("Show more images"))
 		self["description"] = Label()
 		self["list"] = ChoiceList(list=[ChoiceEntryComponent('', ((_("Retrieving image list - Please wait...")), "Waiter"))])
 
@@ -63,6 +65,7 @@
 			"cancel": boundFunction(self.close, None),
 			"red": boundFunction(self.close, None),
 			"green": self.keyOk,
+			"blue": self.toggleAll,
 			"yellow": self.keyDelete,
 			"up": self.keyUp,
 			"down": self.keyDown,
@@ -101,22 +104,20 @@
 					self.jsonlist = dict(json.load(urlopen(url, timeout=15)))
 				except:
 					print("[FlashImage] getImagesList Error: Unable to load json data from URL '%s'!" % url)
-				alternative_imagefeed = config.usage.alternative_imagefeed.value
-				if alternative_imagefeed:
-					if "http" in alternative_imagefeed:
-						url = "%s%s" % (config.usage.alternative_imagefeed.value, model)
+				if config.usage.alternative_imagefeed.value:
+					url = "%s%s" % (config.usage.alternative_imagefeed.value, model)
+					try:
+						self.jsonlist.update(dict(json.load(urlopen(url, timeout=15))))
+					except:
+						print("[FlashImage] getImagesList Error: Unable to load json data from alternative URL '%s'!" % url)
+				if self.imageAll:
+					for link in FEED_URLS:
+						url = "%s%s" % (link[1], model)
 						try:
-							self.jsonlist.update(dict(json.load(urlopen(url, timeout=15))))
+							req = Request(url, None, {"User-agent": "Mozilla/5.0 (Windows; U; Windows NT 5.1; en; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5"})
+							self.jsonlist.update(dict(json.load(urlopen(req, timeout=10))))
 						except:
-							print("[FlashImage] getImagesList Error: Unable to load json data from alternative URL '%s'!" % url)
-					elif alternative_imagefeed == "all":
-							for link in FEED_URLS:
-								url = "%s%s" % (link[1], model)
-								try:
-									req = Request(url, None, {"User-agent": "Mozilla/5.0 (Windows; U; Windows NT 5.1; en; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5"})
-									self.jsonlist.update(dict(json.load(urlopen(req, timeout=10))))
-								except:
-									print("[FlashImage] getImagesList Error: Unable to load json data from %s URL '%s'!" % (link[0], url))
+							print("[FlashImage] getImagesList Error: Unable to load json data from %s URL '%s'!" % (link[0], url))
 
 			self.imagesList = dict(self.jsonlist)
 
@@ -155,6 +156,11 @@
 			self.selectionChanged()
 		else:
 			self.session.openWithCallback(self.close, MessageBox, _("Cannot find images - please try later"), type=MessageBox.TYPE_ERROR, timeout=3)
+
+	def toggleAll(self):
+		self.imageAll = not self.imageAll
+		self["key_blue"].setText(not self.imageAll and _("Show more images") or _("Hide more images"))
+		self.reloadImagesList()
 
 	def keyOk(self):
 		currentSelected = self["list"].l.getCurrentSelection()

 


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: Vu+ 4K Multiboot #345 neo

  • PLi® Contributor
  • 715 posts

+48
Good

Posted 25 April 2023 - 19:52

Works like a charm Dimitrij! :thumbs-up:



Re: Vu+ 4K Multiboot #346 Huevos

  • PLi® Contributor
  • 4,589 posts

+160
Excellent

Posted 26 April 2023 - 08:38

self.jsonlist.update(dict(json.load(urlopen(url, timeout=15))))

Why do you need these long timeouts?



Re: Vu+ 4K Multiboot #347 littlesat

  • PLi® Core member
  • 56,933 posts

+695
Excellent

Posted 26 April 2023 - 11:16

The timeouts could indeed be shorter... and this was almost my idea....

 

Jus tone thing... my idea extend a bit and needs an extra screen. When you enter the flash screen you get 'you home images'... when you select Blue you get a selection list screen of potential images (including the home image) plus what is in the alternate URL when filled in, where you select one... and then it goes back and you only see the selected image + what was already downloaded...

 

Then I think all is set and done.... 

 

So you never see all... just one image familly you selected.... Standard the home image (for us OpenPLi) as it is now... but with Blue you can select foreign images.

 

Plus

 

Feedlist als dictionary

 

self.CurrentImageFamilie = "OpenPLi"  (en then read the list in one thing via the dictionary to get the "URL")

 

 

Bluebutton calls a screen where you can select an image and the feedback returns the image type and then self.CurrentImageFamily is set to it.

(_("Show more images")) -> (_("More images"))

 

One more thing it should also be arranged that you are waiting during the reload.....


Edited by littlesat, 26 April 2023 - 11:22.

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


Re: Vu+ 4K Multiboot #348 neo

  • PLi® Contributor
  • 715 posts

+48
Good

Posted 26 April 2023 - 11:44

I was just about to respond about the lack of feedback after pressing the blue button.

 

It takes 5-10 seconds before the additional images are shown, which left me wondering if the keypress was registered.



Re: Vu+ 4K Multiboot #349 Huevos

  • PLi® Contributor
  • 4,589 posts

+160
Excellent

Posted 26 April 2023 - 11:59

I was just about to respond about the lack of feedback after pressing the blue button.

 

It takes 5-10 seconds before the additional images are shown, which left me wondering if the keypress was registered.

And that is because of all the resources fetched, which is why I suggested showing a screen where the user decides what they are fetching (see the screengrab I posted on the previous page).



Re: Vu+ 4K Multiboot #350 littlesat

  • PLi® Core member
  • 56,933 posts

+695
Excellent

Posted 26 April 2023 - 13:58


It takes 5-10 seconds before the additional images are shown, which left me wondering if the keypress was registered.

 

That is why you should see that the list is loading as soon you press the blue button... I tried to make the code on Monday and I exactly get stuck on this part.

And indeed a timeout of 1 sec or max 5 sec should be sufficiant.
When you go for a submenu where you can choose just one alternative image type then you have max one delay when a feed is offline....!!!


Edited by littlesat, 26 April 2023 - 13:59.

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


Re: Vu+ 4K Multiboot #351 littlesat

  • PLi® Core member
  • 56,933 posts

+695
Excellent

Posted 26 April 2023 - 15:46

With a construction like this you can get the waiter info back while reloading...  And maybe also consider a self.waiterList = [ChoiceEntryComponent('', ((_("Retrieving image list - Please wait...")), "Waiter"))] so you only define this thing once... ;)

 

When I find time this weekend I can add a selection via e.g. MessageBox....

 

And also put the image brand you select in the Title... as a lot of image builders do not understand how the json feed should be made...... Really terrible...

And of course when no images are found for download then do not close the flashimage box after a while... just show the try later with the local discovered images in the list instead.

        def otherImages(self):
                self.allImages = not self.allImages
                self["list"].setList([ChoiceEntryComponent('', ((_("Retrieving image list - Please wait...")), "Waiter"))])
                self["list"].moveToIndex(0)
                self.selectionChanged()
                self.callLater(self.reloadImagesList)

Edited by littlesat, 26 April 2023 - 16:00.

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


Re: Vu+ 4K Multiboot #352 Frenske

  • Forum Moderator
    PLi® Core member
  • 27,450 posts

+397
Excellent

Posted 26 April 2023 - 17:03

Is there a simple way to flash the original image in slot 0?
I am aware that you have to install all images in slot 1-2-3.
As far as I think the only way is ‘simply’ flashing a new image via USB, activate multiboot and start all over again installing the alternative images.

If there is a better procedure please let me know how.

Mijn schotel is een T90 met 10 LNB's. Daarnaast voor de fun nog een draaibaar systeem met een Triax TD 78.

Dreamboxen heb ik niet meer echt actief. Verder heb ik ook nog een een VU+ duo2 met 500Gb harddisk + een VU+ Uno, Zero, Solo 4K, Ultimo 4K, Zero 4K, Uno 4Kse. + ook nog een Xtrend ET7x00. Daarnaast heb ik ook nog diverse andere modellen w.o. een Formuler F4, ET8500, ET7500, Mut@nt 2400HD, Xsarius Fusion HD se en verder nog wel het e.e.a. waarmee op verzoek vanalles wordt getest. Iemand moet het tenslotte doen. ;) :)
Los van de eerder genoemde modellen heb ik nog wel een rits aan testsamples als Mut@nt 2400HD, HD60, GB UE4K, GB Trio4K, Maxitec Multibox combo en Twin, Octagon sf8008, sf8008 mini en last but nog least enkele modellen van het Grieks Duitse Edision.

Voor centrale opslag van media gebruik ik een Qnap 219P 
met tweemaal 2 Tb harddisks + een Synology DS414 met 12 Tb Totale opslag.

-------------------------------------------------------------------------------------------
Many answers to your question can be found in our wiki: Just one click away from this "solutioncentre".

Als ik alles al wist hoefde ik ook niets te vragen. If I had all the knowledge I had no questions at all.


Re: Vu+ 4K Multiboot #353 Huevos

  • PLi® Contributor
  • 4,589 posts

+160
Excellent

Posted 26 April 2023 - 18:00

Is there a simple way to flash the original image in slot 0?
I am aware that you have to install all images in slot 1-2-3.
As far as I think the only way is ‘simply’ flashing a new image via USB, activate multiboot and start all over again installing the alternative images.

If there is a better procedure please let 


Edited by Huevos, 26 April 2023 - 18:02.


Re: Vu+ 4K Multiboot #354 Frenske

  • Forum Moderator
    PLi® Core member
  • 27,450 posts

+397
Excellent

Posted 26 April 2023 - 18:42

@Huevos.
Yes, and ……. ;)

Mijn schotel is een T90 met 10 LNB's. Daarnaast voor de fun nog een draaibaar systeem met een Triax TD 78.

Dreamboxen heb ik niet meer echt actief. Verder heb ik ook nog een een VU+ duo2 met 500Gb harddisk + een VU+ Uno, Zero, Solo 4K, Ultimo 4K, Zero 4K, Uno 4Kse. + ook nog een Xtrend ET7x00. Daarnaast heb ik ook nog diverse andere modellen w.o. een Formuler F4, ET8500, ET7500, Mut@nt 2400HD, Xsarius Fusion HD se en verder nog wel het e.e.a. waarmee op verzoek vanalles wordt getest. Iemand moet het tenslotte doen. ;) :)
Los van de eerder genoemde modellen heb ik nog wel een rits aan testsamples als Mut@nt 2400HD, HD60, GB UE4K, GB Trio4K, Maxitec Multibox combo en Twin, Octagon sf8008, sf8008 mini en last but nog least enkele modellen van het Grieks Duitse Edision.

Voor centrale opslag van media gebruik ik een Qnap 219P 
met tweemaal 2 Tb harddisks + een Synology DS414 met 12 Tb Totale opslag.

-------------------------------------------------------------------------------------------
Many answers to your question can be found in our wiki: Just one click away from this "solutioncentre".

Als ik alles al wist hoefde ik ook niets te vragen. If I had all the knowledge I had no questions at all.


Re: Vu+ 4K Multiboot #355 twol

  • Senior Member
  • 447 posts

+15
Neutral

Posted 26 April 2023 - 19:00

@Huevos.
Yes, and ……. ;)

 

 

Is there a simple way to flash the original image in slot 0?
I am aware that you have to install all images in slot 1-2-3.
As far as I think the only way is ‘simply’ flashing a new image via USB, activate multiboot and start all over again installing the alternative images.

If there is a better procedure please let me know how.

Firstly, slots 1_> 3 are eMMC slots, but other images allow images to be flashed into usb slots.

OpenViX/OpenBH before flashing slot0 ask the user if they want to backup the eMMC slots.
On flashing slot0 these slots(if backed up) will be restored, and also any usb image slots can be reinstated by the user.
There was a lot of effort put in to make Vu Multiboot work efficiently and offer all the facilities of an integrated multiboot solution....so there are options to do what you would like..... they are just not in OpenPli.


Gigablue Quad 4K & UE 4K
.........FBC Tuners:
------------------> DUR-Line DCR 5-1-8-L4 Multiswitch to 1.5M dish(28.2E)
------------------> Spaun SUS 5581/33 NFA Multiswitch to 80 cm dish(19.2E)
.........DVB-S2X into 90cm dish (27.5W)

Octagon sf8008, AX HD61, Edision Osmio 4K+, Zgemma H9Combo using Legacy ports on multiswitches
Zgemma H9twin & Zgemma H9 C/S mode into Giga4K
 


Re: Vu+ 4K Multiboot #356 Frenske

  • Forum Moderator
    PLi® Core member
  • 27,450 posts

+397
Excellent

Posted 26 April 2023 - 19:23

 

@Huevos.
Yes, and ……. ;)

 

 

Is there a simple way to flash the original image in slot 0?
I am aware that you have to install all images in slot 1-2-3.
As far as I think the only way is ‘simply’ flashing a new image via USB, activate multiboot and start all over again installing the alternative images.

If there is a better procedure please let me know how.

.... they are just not in OpenPli.

 

Ok, in that case it’s clear that I didn’t overlook the option. :)


Mijn schotel is een T90 met 10 LNB's. Daarnaast voor de fun nog een draaibaar systeem met een Triax TD 78.

Dreamboxen heb ik niet meer echt actief. Verder heb ik ook nog een een VU+ duo2 met 500Gb harddisk + een VU+ Uno, Zero, Solo 4K, Ultimo 4K, Zero 4K, Uno 4Kse. + ook nog een Xtrend ET7x00. Daarnaast heb ik ook nog diverse andere modellen w.o. een Formuler F4, ET8500, ET7500, Mut@nt 2400HD, Xsarius Fusion HD se en verder nog wel het e.e.a. waarmee op verzoek vanalles wordt getest. Iemand moet het tenslotte doen. ;) :)
Los van de eerder genoemde modellen heb ik nog wel een rits aan testsamples als Mut@nt 2400HD, HD60, GB UE4K, GB Trio4K, Maxitec Multibox combo en Twin, Octagon sf8008, sf8008 mini en last but nog least enkele modellen van het Grieks Duitse Edision.

Voor centrale opslag van media gebruik ik een Qnap 219P 
met tweemaal 2 Tb harddisks + een Synology DS414 met 12 Tb Totale opslag.

-------------------------------------------------------------------------------------------
Many answers to your question can be found in our wiki: Just one click away from this "solutioncentre".

Als ik alles al wist hoefde ik ook niets te vragen. If I had all the knowledge I had no questions at all.


Re: Vu+ 4K Multiboot #357 littlesat

  • PLi® Core member
  • 56,933 posts

+695
Excellent

Posted 26 April 2023 - 20:54

Anyway slot 0 is still the recovery mode slot…. As we do not have a recovery image from vu+ this is the work a round we have.
Having images on usb for openpli should also be possible with openpli when you have a good startup script for it. At least that was actually the idea how it was designed years ago.
Unless this having images on usb or so is something that is not really recommended.. practically 3 or 4 slots are sufficiant.

Edited by littlesat, 26 April 2023 - 20:58.

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


Re: Vu+ 4K Multiboot #358 Huevos

  • PLi® Contributor
  • 4,589 posts

+160
Excellent

Posted 26 April 2023 - 21:24

Just to be clear...

 

In other images (not PLi) if you make a backup of slot 0, you can back up all slots on block so when restored all slots are restored.



Re: Vu+ 4K Multiboot #359 littlesat

  • PLi® Core member
  • 56,933 posts

+695
Excellent

Posted 26 April 2023 - 21:37

Ah that way. It backups the slots as well… that will be a extreme large backup then…
So you backup the complete flash..

Edited by littlesat, 26 April 2023 - 21:38.

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


Re: Vu+ 4K Multiboot #360 neo

  • PLi® Contributor
  • 715 posts

+48
Good

Posted 26 April 2023 - 21:38

Max 4GB before compression ;).




9 user(s) are reading this topic

0 members, 9 guests, 0 anonymous users