Jump to content


Photo

Foreca plugin


  • Please log in to reply
23 replies to this topic

#1 rantanplan

  • PLi® Contributor
  • 1,804 posts

+83
Good

Posted 26 June 2020 - 20:12

Maybe someone who admins wants to fix the plugin.
There seems to be a solution if you just have to merge from the other branch

 

https://github.com/j...enplugin-Foreca



Re: Foreca plugin #2 WanWizard

  • PLi® Core member
  • 68,559 posts

+1,737
Excellent

Posted 26 June 2020 - 20:14

It would be easier if this person would maintain the original repo, instead of forking it. E2OpenPlugins is open for any maintainer...


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: Foreca plugin #3 FRAP

  • Senior Member
  • 329 posts

+23
Neutral

Posted 26 June 2020 - 20:56

With the address "http://www.foreca.net" this is NOT DEVELOPMENT! The development of the project will be considered only with this address "http://www.foreca.com".

Attached Files


Alcohol for wimps. Strong people enjoy depression.


Re: Foreca plugin #4 rantanplan

  • PLi® Contributor
  • 1,804 posts

+83
Good

Posted 26 June 2020 - 21:08

That nothing can go easy here ...
Was only meant as a hint.

I don't know the user from the git Branch.
The attempted PullRequest unfortunately fails from the foreign git.
You can always merge if you have authorization for the main Branch

 

@FRAP

.The user has changed everything from the git and even more ...



Re: Foreca plugin #5 FRAP

  • Senior Member
  • 329 posts

+23
Neutral

Posted 26 June 2020 - 21:30

All these associations no longer make any sense. (Documents are handed over) This plugin should be created from scratch, completely new code, new picons (icons) and so on ...


Alcohol for wimps. Strong people enjoy depression.


Re: Foreca plugin #6 Dimitrij

  • PLi® Core member
  • 9,994 posts

+338
Excellent

Posted 27 June 2020 - 13:21

Not quite sure about the ipk build, but the plugin is working.

Update according to changes jack2015


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


Re: Foreca plugin #7 rantanplan

  • PLi® Contributor
  • 1,804 posts

+83
Good

Posted 27 June 2020 - 13:50

Thanks for taking over ;-)

Now you would have to activate it again in pli-build.



Re: Foreca plugin #8 WanWizard

  • PLi® Core member
  • 68,559 posts

+1,737
Excellent

Posted 27 June 2020 - 14:13

Done.


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: Foreca plugin #9 georgeflu

  • Senior Member
  • 32 posts

+4
Neutral

Posted 28 June 2020 - 20:03

searching in web, i found a version 4.0 plugin, but only in deb (and dreamos). this version looks (from screens) totaly upgraded...

0.jpg

 1.jpg

2.jpg

 

i took the file, i "broke"  the .deb file , and using an online decompiler, i read the files...

i tried to add them in the existing version, but it crashes

[eDVBSectionReader] ERROR reading section - Value too large for defined data type

[eDVBPESReader] ERROR reading PES (fd=59): Value too large for defined data type
Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Components/ActionMap.py", line 57, in action
  File "/usr/lib/enigma2/python/Screens/PluginBrowser.py", line 144, in save
  File "/usr/lib/enigma2/python/Screens/PluginBrowser.py", line 148, in run
  File "/usr/lib/enigma2/python/Plugins/Extensions/Foreca/plugin.py", line 29, in main
    import ui
  File "/usr/lib/enigma2/python/Plugins/Extensions/Foreca/ui.py", line 18, in <module>
    from skin import TemplatedListFonts, componentSizes
ImportError: cannot import name TemplatedListFonts

and the same happens, using the new versions files.

anyway i didn't saw any license restrictions, so i am uploading this, if someone can use/adapt it...

 

i just remind that the .py files, are decompiled from the .deb file...(and maybe there is something non compatible

Attached Files


Edited by georgeflu, 28 June 2020 - 20:04.


Re: Foreca plugin #10 FRAP

  • Senior Member
  • 329 posts

+23
Neutral

Posted 28 June 2020 - 21:15

deb version works with components for boxes Dreambox
 
You poured diesel into a car that runs on gasoline :)

Attached Files


Alcohol for wimps. Strong people enjoy depression.


Re: Foreca plugin #11 georgeflu

  • Senior Member
  • 32 posts

+4
Neutral

Posted 28 June 2020 - 22:31

i know that...

but the file above isn't a .deb file, but decompiled the content of the .deb file. so the code is available to read and modify (from the right person).

for example, i think i know why there is a part of the crash above, i am not the person to fix.

in the old ui.py , there is

# GUI (Components)
from Components.ActionMap import ActionMap, NumberActionMap, HelpableActionMap
from Components.AVSwitch import AVSwitch
from Components.FileList import FileList
from Components.Label import Label
from Components.Button import Button
from Components.Sources.StaticText import StaticText
from Components.ScrollLabel import ScrollLabel
from Components.MenuList import MenuList
from Components.MultiContent import MultiContentEntryText, MultiContentEntryPixmapAlphaTest
from Components.Pixmap import Pixmap
from Components.PluginComponent import plugins
from Components.Console import Console
from Components.GUIComponent import GUIComponent
from skin import parseFont, parseColor

# Configuration
from Components.config import *
from Components.ConfigList import ConfigList, ConfigListScreen

and in the one in my file, there is

from . import _
from Components.ActionMap import ActionMap, HelpableActionMap
from Components.AVSwitch import AVSwitch
from Components.FileList import FileList
from Components.Label import Label
from Components.Sources.StaticText import StaticText
from Components.Sources.List import List
from Components.MenuList import MenuList
from Components.MultiContent import MultiContentEntryText, MultiContentEntryPixmapAlphaTest
from Components.Pixmap import Pixmap
from skin import TemplatedListFonts, componentSizes
from Components.config import config, ConfigSubList, ConfigInteger, getConfigListEntry, ConfigYesNo, ConfigOnOff, ConfigSelection, ConfigText, configfile
from Components.ConfigList import ConfigListScreen
import os
from enigma import eListboxPythonMultiContent, ePicLoad, eTimer, getDesktop, gFont, RT_HALIGN_RIGHT, RT_HALIGN_LEFT, RT_VALIGN_CENTER, RT_WRAP, RT_HALIGN_CENTER
from Screens.ChoiceBox import ChoiceBox
from Screens.HelpMenu import HelpableScreen
from Screens.Screen import Screen
from Screens.VirtualKeyBoard import VirtualKeyBoard
from Screens.MessageBox import MessageBox
from time import *
from Tools.BoundFunction import boundFunction
from Tools.Directories import resolveFilename, SCOPE_CONFIG, SCOPE_PLUGINS, fileExists
from Tools.LoadPixmap import LoadPixmap
import re, urllib2, urllib
from Components.Language import language
import locale, json
from datetime import datetime
from time import mktime, localtime
from calendar import timegm
from urllib import quote
from twisted.web.client import _makeGetterFactory, HTTPClientFactory, HTTPDownloader
from twisted.internet.ssl import ClientContextFactory
from twisted.internet._sslverify import ClientTLSOptions
from twisted.internet import defer
from OpenSSL import SSL
import ssl

and i think that this

from skin import TemplatedListFonts, componentSizes
is the first part of the crash...

also, i think that after that many other will follow...


Edited by georgeflu, 28 June 2020 - 22:32.


Re: Foreca plugin #12 FRAP

  • Senior Member
  • 329 posts

+23
Neutral

Posted 28 June 2020 - 22:58

In the code there is an output of pictures in svg format and therefore, in any case, our boxes were bad.

 

Attached Files


Alcohol for wimps. Strong people enjoy depression.


Re: Foreca plugin #13 foxbob

  • Senior Member
  • 612 posts

+18
Neutral

Posted 29 June 2020 - 09:14

With format svg support no problem,this can be added.And this-from skin import TemplatedListFonts, componentSizes this is not openpli.


Edited by foxbob, 29 June 2020 - 09:15.


Re: Foreca plugin #14 Scherzkeks

  • New Member
  • 1 posts

+2
Neutral

Posted 29 June 2020 - 16:56

Scherzkeks ak Hilfsbereit from boxpirates.to

 

@georgeflu

You really could have asked if you can also adapt the DreamOS Version 4.0.0 for openPLI? :angry:

 

The Version 3.2.3-r3 of Foreca plugin is End of Life, when Foreca switch all Domains to the new Website.

More and more Websites use svg Pictures. A svg Support in the open Image is the next?


Edited by Scherzkeks, 29 June 2020 - 16:58.


Re: Foreca plugin #15 rantanplan

  • PLi® Contributor
  • 1,804 posts

+83
Good

Posted 29 June 2020 - 20:08

With regard to svg, there would certainly be a few useful approaches to the solution.
But there would have to be some other things that have to be adapted for enigma2.
The two interesting header files for svg would be
nanosvg.h
nanosvgrast.h

So quite impossible, as you mentioned in the neighboring forum, shouldn't be.
But I think most of them are happy with the existing solution.


greetings



Re: Foreca plugin #16 georgeflu

  • Senior Member
  • 32 posts

+4
Neutral

Posted 29 June 2020 - 22:57

Scherzkeks ak Hilfsbereit from boxpirates.to

 

@georgeflu

You really could have asked if you can also adapt the DreamOS Version 4.0.0 for openPLI? :angry:

 

hello...

 

in any case, i am not a developer, so i am not able and i didn't any adaptations...

i just did the easiest thing (that even an not so experienced user can do) ,using an online decompiler..., and i asked that as happened in this file, if it is possible to fix the first version.

also, as i wrotte in above message...

anyway i didn't saw any license restrictions, so i am uploading this, if someone can use/adapt it...

and i am still searching, but not finding a maintainer or a license of this v4.0 file

if there are, i apologize, and please a mod, remove my above file (even if there isn't any meaning of that)
 



Re: Foreca plugin #17 Lost in Space

  • Senior Member
  • 876 posts

+69
Good

Posted 30 June 2020 - 16:54

No License = Full copyright of the author

 

European Union Computer Programs Directive:

The owner of the copyright has the exclusive right to authorise (Art 4):

* the temporary or permanent copying of the program,
  including any copying which may be necessary to load,
  view or run the program
* the translation, adaptation or other alteration to the program
* the distribution of the program to the public by any means
 



Re: Foreca plugin #18 doglover

  • Rytec EPG Team
  • 17,008 posts

+638
Excellent

Posted 1 July 2020 - 08:07

Instead of insulting each other, should we not work to a solution, as the modification to use the .ru version does not seem to work anymore.

 

 

Attached Files


~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: Foreca plugin #19 Lost in Space

  • Senior Member
  • 876 posts

+69
Good

Posted 1 July 2020 - 11:43

If people think that If they don't find a license this is the permission to do whatever they want, then somobody has to tell them that they have missunderstood something.

This is Not insulting ....Just education.

Re: Foreca plugin #20 rantanplan

  • PLi® Contributor
  • 1,804 posts

+83
Good

Posted 1 July 2020 - 12:37

@Lost in Space

where is your constructive contribution here?
Your hobby statements about law don't really help.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users