Thanks, merged.
File Commander OpenATV
Re: File Commander OpenATV #101
Posted 29 August 2019 - 16:03
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (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: File Commander OpenATV #102
Re: File Commander OpenATV #103
Posted 29 August 2019 - 19:39
Thanks was my mistake
No worries we all are losing our eyes
Thank you for your great new changes.
Open Vision sources: https://github.com/OpenVisionE2
Re: File Commander OpenATV #104
Re: File Commander OpenATV #105
Re: File Commander OpenATV #106
Posted 7 November 2019 - 20:19
Hi,
Plugin works very good - thanks guys.
it is also skínned for full-hd but not complete i think, here a picture;
msg-19795-0-72560700-1572991980.jpg 58.77KB 3 downloads
it's the screen in that you can install a *.ipk package
testet with PLI-7.2rc from date 05.11.2019
regards
Pike
Edited by Pike_Bishop, 7 November 2019 - 20:20.
Receiver: VU Ultimo 4K, Octagon SF8008 4K, Gigablue Quad 4K
Image: OpenPLI-8.3
Re: File Commander OpenATV #107
Posted 6 September 2020 - 15:43
small improvement cause code already in Picture Player (preinstalled in all E2 images)
--- key_actions_old.py Wed Sep 02 18:44:32 2020 +++ key_actions_new.py Sun Sep 06 11:12:52 2020 @@ -708,14 +708,17 @@ self.session.openWithCallback(self.onFileActionCB, UnzipMenuScreen, self.SOURCELIST, self.TARGETLIST) elif filetype in IMAGE_EXTENSIONS: if self.SOURCELIST.getSelectionIndex() != 0: - self.session.openWithCallback( - self.cbShowPicture, - ImageViewer, - self.SOURCELIST.getFileList(), - self.SOURCELIST.getSelectionIndex(), - self.SOURCELIST.getCurrentDirectory(), - filename - ) + try: + from Plugins.Extensions.PicturePlayer import ui + self.session.openWithCallback( + self.cbShowPicture, + ui.Pic_Full_View, + self.SOURCELIST.getFileList(), + self.SOURCELIST.getSelectionIndex(), + self.SOURCELIST.getCurrentDirectory()) + except Exception, ex: + print "[File Commander] Pictue Player not installed", str(ex) + return elif filetype in (".sh", ".py", ".pyo"): self.run_script(self.SOURCELIST, self.TARGETLIST) elif filetype == ".mvi": @@ -776,7 +779,12 @@ self.show() if os.path.isfile(self.tmp_file): filename = self.tmp_file.split('/')[-1] - self.session.open(ImageViewer, [((filename,''),'')],0, self.tmp_file.replace(filename,''), filename) + try: + from Plugins.Extensions.PicturePlayer import ui + self.session.open(ui.Pic_Full_View, [((filename,''),'')],0, self.tmp_file.replace(filename,''), filename) + except Exception, ex: + print "[File Commander] Pictue Player not installed", str(ex) + return else: self.session.open(MessageBox, _("File not found: %s") %self.tmp_file, type=MessageBox.TYPE_ERROR, simple=True) else:
I tested the first replacement of ImageViewer in def onFileAction, works ok, regarding second replacement in def saveCB, I don´t know how to test it, well it compiles ok, class ImageViewer in type_utils is no longer needed, can be removed, as well def keyYellow, it is now on Info key as part of Pic_Full_View
Re: File Commander OpenATV #108
Posted 6 May 2021 - 21:56
while playing movie files with FileCommander you can´t exit with "exit", the messagebox pops up without any effect, you can only exit with "stop" without any confirmition, this diff resolves the problem
--- type_utils.py Thu Jul 23 14:23:44 2020 +++ type_utils.py Thu May 06 19:09:08 2021 @@ -46,17 +46,18 @@ def leavePlayer(self): self.is_closing = True - self.close() + self.session.openWithCallback(self.leavePlayerConfirmed, MessageBox, _("Exit movie player?")) def leavePlayerConfirmed(self, answer): - pass + if answer: + self.close() def doEofInternal(self, playing): if not self.execing: return if not playing: return - self.leavePlayer() + self.close() def showMovies(self): self.WithoutStopClose = True
Re: File Commander OpenATV #109
Posted 4 October 2023 - 14:45
I made it both py2/py3 compatible, it is not the latest code from here
e2openplugin-FileCommander/plugin at master · E2OpenPlugins/e2openplugin-FileCommander · GitHub
some (private) version between, not extensively tested on py3
Attached Files
Re: File Commander OpenATV #110
Posted 8 October 2023 - 20:21
I´ve updated the latest code from here to py3, the plugin is working fine except I get an error on watching inside archive and I don´t know how to fix it, any idea
e2openplugin-FileCommander/plugin at master · E2OpenPlugins/e2openplugin-FileCommander · GitHub
[ArchiverMenuScreen] unpackPopen ('unzip', '-l', '/tmp/wildcard.zip') Traceback (most recent call last): File "/usr/lib/enigma2/python/Plugins/Extensions/FileCommander/addons/unarchiver.py", line 118, in ok self.unpackModus(self.selectId) File "/usr/lib/enigma2/python/Plugins/Extensions/FileCommander/addons/unzip.py", line 41, in unpackModus self.unpackPopen(cmd, UnpackInfoScreen) File "/usr/lib/enigma2/python/Plugins/Extensions/FileCommander/addons/unarchiver.py", line 147, in unpackPopen output = list(map(str.splitlines, p.communicate())) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: descriptor 'splitlines' for 'str' objects doesn't apply to a 'bytes' object
adapting this to OpenPLi
enigma2/lib/python/Plugins/Extensions/FileCommander at 7.3 · openatv/enigma2 · GitHub
could be challenging
Re: File Commander OpenATV #111
Re: File Commander OpenATV #112
Posted 11 October 2023 - 17:49
I couldn´t fix the error, I can´t remember the last time I viewed the content of an archive, it is not that important, should be fixed anyway before putting on git, I made small changes, if deleting files choose first No then Yes, avoids accidentally deleting of files and I got rid of InputBox replacing it with VirtualKeyboard, I hope successfully
Attached Files
Re: File Commander OpenATV #113
Re: File Commander OpenATV #114
Posted 5 September 2024 - 16:07
open Plugins, green for Download plugins, extensions, filecommander
this will download it to /tmp
root@h7:/tmp# opkg download enigma2-plugin-extensions-filecommander Downloading http://downloads.openpli.org/feeds/openpli-8-release/cortexa15hf-neon-vfpv4/enigma2-plugin-extensions-filecommander_2.0+git177+b73f12b-r1.1_cortexa15hf-neon-vfpv4.ipk. Downloaded enigma2-plugin-extensions-filecommander as enigma2-plugin-extensions-filecommander_2.0+git177+b73f12b-r1.1_cortexa15hf-neon-vfpv4.ipk.
Edited by mrvica, 5 September 2024 - 16:12.
Re: File Commander OpenATV #115
Posted 7 September 2024 - 14:07
open Plugins, green for Download plugins, extensions, filecommander
this will download it to /tmp
root@h7:/tmp# opkg download enigma2-plugin-extensions-filecommander Downloading http://downloads.openpli.org/feeds/openpli-8-release/cortexa15hf-neon-vfpv4/enigma2-plugin-extensions-filecommander_2.0+git177+b73f12b-r1.1_cortexa15hf-neon-vfpv4.ipk. Downloaded enigma2-plugin-extensions-filecommander as enigma2-plugin-extensions-filecommander_2.0+git177+b73f12b-r1.1_cortexa15hf-neon-vfpv4.ipk.thanks for reply. my problem is that LAN isn't working. Downloaded IPK file to USB and still no joy -"0 packages installed, 0 packages updated"
Re: File Commander OpenATV #116
Re: File Commander OpenATV #117
Posted 8 September 2024 - 15:51
Hope this one helps
Attached Files
Hardware: Vu+ Uno 4K SE - Vu+ Duo 4K - Fuba 78 cm - Tripleblock LNB Quad 19.2/23.5/28.2 - DS918+
Software : OpenPLi - OSCam - Settings van Hans - Autotimer - EPGImport
---------------------------------------------------------------------------------------------------------------------------------------
Remember: Upvote with the button for any user/post you find to be helpful, informative, or deserving of recognition!
---------------------------------------------------------------------------------------------------------------------------------------
Many answers to your question can be found in our new and improved wiki
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users