Jump to content


Photo

File Commander OpenATV


  • Please log in to reply
111 replies to this topic

Re: File Commander OpenATV #61 Pike_Bishop

  • Senior Member
  • 1,120 posts

+72
Good

Posted 6 August 2019 - 21:30

Hi Frenske,

 

look at this what i attach in this post - it can help you :)

it's the dutch (nl.po) from openatv, and in this file you can find the complete translations to filecommander plugin, because openatv translated their plugins in the

general locale for e2 (in the nl.po in this case)

 

Attached File  nl.po.zip   180.17KB   5 downloads

 

you can search in this file for the original filecommander to translate code with notepad++ and compare it with your .po in poedit

 

 

regards

Pike


Receiver: VU Ultimo 4K, Octagon SF8008 4K, Gigablue Quad 4K

Image: OpenPLI-8.3


Re: File Commander OpenATV #62 Frenske

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

+393
Excellent

Posted 7 August 2019 - 08:15

Hi Pike,

I already have a proper FileCommander.po and already started with the Dutch translation. But thanks anyway. I will take a look at your posted zip.
For some translations you need the full sentence to understand how it should be translated properly.
I will continue my translation today.

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: File Commander OpenATV #63 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 7 August 2019 - 09:55

And did someone in between get rid of the os.system calls?


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


Re: File Commander OpenATV #64 MCelliotG

  • Senior Member
  • 443 posts

+35
Good

Posted 7 August 2019 - 11:15

The po files are in full LC_MESSAGES folders rather than a single locale folder. In order to push a new language I'd have to create the same folder structure as there was not a ready to go single folder. Maybe I got lazy with some extra steps required if I forked the repo but honestly I've translated a ton of stuff and never seen this structure before.
Either way thanks for pushing!

Here's the Greek translation for this plugin, easy task since it was already fully translated for OpenATV...
please merge into Github, the structure over there for this plugin is a bit strange to pull the request directly!
attachicon.gifFileCommander - el.zip


Thanks the translation is now pushed.
By the way this plugin as the same structure as other plugin in this repository so there is nothing strange in it.

Στάλθηκε από το Redmi Note 5 μου χρησιμοποιώντας Tapatalk

Re: File Commander OpenATV #65 Pike_Bishop

  • Senior Member
  • 1,120 posts

+72
Good

Posted 7 August 2019 - 21:15

Hi Frenske,

 

 

For some translations you need the full sentence to understand how it should be translated properly.

 

yes sure - that's correct, but also sure the .zip which i have posted for you can help you thereby to understand.

 

 

regards

Pike


Receiver: VU Ultimo 4K, Octagon SF8008 4K, Gigablue Quad 4K

Image: OpenPLI-8.3


Re: File Commander OpenATV #66 Pike_Bishop

  • Senior Member
  • 1,120 posts

+72
Good

Posted 7 August 2019 - 21:38

@littlesat,

 

 

And did someone in between get rid of the os.system calls?

 

this can only do someone with knowledge (dev), myself can't.

if i had the knowledge i should do it immediately.

 

 

regards

Pike


Receiver: VU Ultimo 4K, Octagon SF8008 4K, Gigablue Quad 4K

Image: OpenPLI-8.3


Re: File Commander OpenATV #67 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 7 August 2019 - 22:37

Earlier is this thread I gave Some suggestions...

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


Re: File Commander OpenATV #68 mrvica

  • Senior Member
  • 1,218 posts

+80
Good

Posted 7 August 2019 - 23:25

ok, I´ll make the beginning with the addons/key_actions.py

 

def do_change_mod(self, answer):
		answer = answer and answer[1]
		# sourceDir = dirsource.getCurrentDirectory() #self.SOURCELIST.getCurrentDirectory()
		if answer == "CHMOD644":
			#os.system("chmod 644 " + self.longname)
			cmd = "chmod 644 '%s'" %self.longname
			console().ePopen(cmd)
		elif answer == "CHMOD755":
			#os.system("chmod 755 " + self.longname)
			cmd = "chmod 755 '%s'" %self.longname
			console().ePopen(cmd)
		self.doRefresh()

Edited by mrvica, 7 August 2019 - 23:28.


Re: File Commander OpenATV #69 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 8 August 2019 - 06:49

You need to put the doRefresh as second parameter in ePopen here...
console().ePopen(cmd, self.doRefresh)
So the refresh is performer after the command was executed.
I hope you understand
I have to type this on iPhone now...
Then in def Refresh you need to add Some extra parameters as it also returns data and error as string...
def deRefresh(self, data=“”, error=“”)

Then another research is needed. Now doRefresh is alsways executed. Then only when a command is executed. Do we also need doRefresh in case no command was executed? If so we also have to arrange that by leaving the orriginal doRefresh call behind an extra else. When it is not required we can remove it
You see more complicated then os.system but os.system is expensive in performance as it forks the memory used by e2.

Edited by littlesat, 8 August 2019 - 07:00.

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


Re: File Commander OpenATV #70 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 8 August 2019 - 08:34

Something like this...? (were the two last lines are likely not required)... (see also how you can simplify it)

 

def do_change_mod(self, answer):
  answer = answer and answer[1]
  if answer in ("CHMOD644", "CHMOD755"):
    console().ePopen("chmod %s '%s'" % (answer[5:8], self.longname), self.doRefresh)
  else: #likely not required
    self.doRefresh() #likely not required

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


Re: File Commander OpenATV #71 Frenske

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

+393
Excellent

Posted 8 August 2019 - 08:42

Here is the Dutch translation for this plug-in, although I think it still needs some finetuning.

Tech and I did our best but, as we say in Dutch, Cologne and Achen aren’t build in one day. ;)

One or two screens need some adjustments IMHO. I'll post the screenshots later.

Attached Files


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: File Commander OpenATV #72 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 8 August 2019 - 08:43

Sounds like I'm also misleaded... This can be made much much more easy... Totally no os.system or ePopen required here. 

 

Sounds like the creator of the plugin wasn't aware os.chmod exists...

def do_change_mod(self, answer):
  if answer and answer[1] in ("CHMOD644", "CHMOD755"):
    os.chmod(self.longname, int(answer[1][5:]))
  self.doRefresh()

Edited by littlesat, 8 August 2019 - 08:48.

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


Re: File Commander OpenATV #73 Tech

  • Forum Moderator
    PLi® Core member
  • 14,598 posts

+458
Excellent

Posted 8 August 2019 - 12:33

 

Here is the Dutch translation for this plug-in, although I think it still needs some finetuning.

Tech and I did our best but, as we say in Dutch, Cologne and Achen aren’t build in one day. ;)

One or two screens need some adjustments IMHO. I'll post the screenshots later.

 

I pushed the changes, so the dutch language should be available after the next build.


Aan de rand van de afgrond is een stap voorwaarts niet altijd vooruitgang....

 

On the edge of the abyss, a step forward is not always progress....


Re: File Commander OpenATV #74 FRAP

  • Senior Member
  • 329 posts

+23
Neutral

Posted 8 August 2019 - 16:30

Hello! In the menu under the green button I didn't find this plugin, is it possible to download the ipk package?


Alcohol for wimps. Strong people enjoy depression.


Re: File Commander OpenATV #75 Pike_Bishop

  • Senior Member
  • 1,120 posts

+72
Good

Posted 8 August 2019 - 18:11

Hi FRAP;

 

i think at this moment no, but you can download here;

https://github.com/E...n-FileCommander

the master package as .zip.

 

then extract it on your pc, and rename the directory in it with name plugin to FileCommander, and this directory FileCommander

you can copy on your box with ftp to;

/usr/lib/enigma2/python/Plugins/Extensions

 

at last you need a gui (enigma2) restart and then it works.

 

 

regards

Pike


Receiver: VU Ultimo 4K, Octagon SF8008 4K, Gigablue Quad 4K

Image: OpenPLI-8.3


Re: File Commander OpenATV #76 Frenske

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

+393
Excellent

Posted 8 August 2019 - 18:55

AFAIK the plugin in in the feed from today‘s build.

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: File Commander OpenATV #77 FRAP

  • Senior Member
  • 329 posts

+23
Neutral

Posted 8 August 2019 - 19:04

Pike_Bishop

 

Frenske

Thank you so much for providing me with this information!


Alcohol for wimps. Strong people enjoy depression.


Re: File Commander OpenATV #78 Frenske

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

+393
Excellent

Posted 8 August 2019 - 19:12

Pike_Bishop
 

Frenske
Thank you so much for providing me with this information!

You‘re welcome. ;)

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: File Commander OpenATV #79 foxbob

  • Senior Member
  • 612 posts

+18
Neutral

Posted 10 August 2019 - 10:28

Thank you very much. Now everything works.

Attached Files



Re: File Commander OpenATV #80 Frenske

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

+393
Excellent

Posted 10 August 2019 - 17:01

There is still some work to be done but that is ‘just‘ skin related. ;)

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.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users