Posts by s3n0

    It is possible that the configuration files are located elsewhere. You can find it by going to Oscam Webif and then to the FILES menu, and in the first item ("oscam.version" file), which is actually an extract from the "oscam --help" command, you will also find the location of the configuration files. It often depends on the IPK installer used. Unfortunately, some IPK installers also modify the location of the configuration files.

    1. you can't ask me what to edit there, because I don't know your service provider or your decoding card (I assume HD04 - that is, the German DVB-S provider)... I have already sent you the link twice where you can find everything about Oscam- I'm here


    2. if you practice your own softcam server + softcam clients at the same time, then it is even more complicated in terms of setting... on the softcam server you have to set the so-called sharing... i.e. create a Cccam or Newcamd server... then create users (accounts)... and finally you still have to set up softcam clients


    3. I don't know... but I think that for HD04 you need an Oscam-Icam and not an ordinary Oscam... as I wrote before... if you have 5 softcams in the set-top-box, remove them all... use only one softcam (eg Oscam)


    If you don't have backup configuration files of the original Oscam, then it is very bad and very difficult for you as an inexperienced user.


    You still haven't written anywhere that you want to set up an external source of the softcam server (proxy), or that you own the HD04 decoding card yourself and want to use it in Oscam, in a set-top box.


    By the way, for connecting the HD04 card in your own set-top box via Oscam, I recommend starting a new topic in a sub-thread in the discussion forum - related to Softcams. You've already made a big mess here :) ... sorry.

    Port 83 was probably set in the "oscam.conf" configuration file, after the package was installed, in a specific installer for a specific Oscam. But that doesn't matter at all. You can check it directly in the "oscam.conf" configuration file. You can also access the files via Oscam Webif, in MENU - Files.

    Where can I find the oscan. Conf?

    I already wrote to you that in Ocam-Webif (via web bowser). You enter the MENU "FILES" and there are all your oscam configuration files. You can also edit them directly there.


    Then you don't need to search for them via FTP connection, in your set-top box, in the appropriate folder and edit them with a text editor (notepad++ is very good for this purpose, for example).

    Port 83 was probably set in the "oscam.conf" configuration file, after the package was installed, in a specific installer for a specific Oscam. But that doesn't matter at all. You can check it directly in the "oscam.conf" configuration file. You can also access the files via Oscam Webif, in MENU - Files.

    Gary1965


    First of all... if you use your own card, use some default setting for HD04 of the German provider. You may also find it on this discussion forum. Try searching more.


    The oscam config should also be on the URL, what I mentioned above in parentheses. Or try this discussion directly:

    I can't advise you, because I don't use the German provider HD04 and I'm not even German.


    Second... if you also use an external connection to external softcam servers, you need data from the server administrator, who dictates the IP address, name, password, protocol for softcam communication, and other important settings.

    The default port is 8888 (predefined in the oscam source code) - i.e. if no other port has been configured by the user. Of course, the port can be changed through the user configuration ("oscam.conf" configuration file).


    OSCam/en/Config/oscam.conf – Streamboard Wiki


    Gary1965 :


    If you forgot to save the previous Oscam configuration... now you have to add it yourself. No one will help you with that. You have to know what and how... what IP addresses... what is the password and loginname... what softcam protocol is used there... etc. . If you haven't backed up the previous configuration files (usually stored here: "/etc/tuxbox/config/oscam/oscam.*"), then that's a problem for you as an inexperienced user.


    Usually the Live LOG, which you can also find in Oscam Webif, tells more about the problem.


    Also, you probably need the Oscam-icam version (Everything you need for ICAM - Sky ITALIA, Sky UK & SKY DE - All Enigma2 Images and Receivers) for German satellite DVB-S providers, because there is a new and complicated coding. Or not ?

    Hi.


    He explained it wrong to you :).


    This Oscam, after successfully installed and started in the set-top box, also uses its own web interface (so-called "Webif"). In it, everything necessary related to Oscam can be configured or checked.


    The condition is that you have a connected computer and your set-top box in the same computer local area network (LAN). Then you can connect via a web browser on your PC to this Oscam Webif. Alternatively, you can also use the web browser on your smartphone if it is connected to the LAN network via a WiFi router, but that is more difficult because it has a small screen.


    So... the first thing you will find out is the IP address of your set-top box in the LAN network. This can be found in the MENU of the set-top box, with the help of the RCU, if you enter the network settings.


    You then enter this IP address in the address bar for the HTTP address in the web browser and add a colon and the port, which is usually 8888. For example:

    http://192.168.1.180:8888


    There you can then set all the necessary data (connection via cccam protocol or newcamd protocol, and much more).


    However, it would be best, in my opinion, to access the set-top box via an FTP connection. You need an FTP client (on your PC) for this purpose. In the FTP client, you enter the IP address of your set-top box + the login name will be "root" and then some password (usually this password is empty, but not always).

    When this happens, check the oscam webinteface to see if the server is online. If its not, you have your answer.

    When the server goes offline and oscam is working its an issue with the server and not oscam.

    If you can`t access the webinterface and oscam is not running then you have found another reason why you get that error.

    When I log into my IP address on my box when I go to web interface it sometimes comes up with error can't connect 111. It is strange. On the web interface do I need. To change some settings maybe I don't know

    Hi.


    Which web interface (Webif) exactly do you mean ?


    You mean Webif for Oscam (abbreviated OscamWebif) or Webif for Enigma2 (OpenWebif plugin) ?

    Hi.


    Surely you didn't forget the volume of your display unit ? It can be an LCD monitor for a PC with additional speakers... or the TV receiver itself... etc. .

    Or there could also be a fault in the automatic volume control, in the case of modern TVs, because some also allow automatic control. And then if the HDMI audio input is however loud, the chipset algorithm in the TV tries to regulate the volume in the TV... so then you have to use the RCU intended for the TV and not for the set-top box. Try checking the audio functions in your SmartTV / LCD monitor / etc. . Maybe there is a problem right there.

    I don't know if this will help to create a screenshot in 4K/UHD resolution. The problem may be at the hardware+software system level. Apparently there is no suitable system tool to get 4K/UHD screenshot from new chipsets (from VideoRAM).


    Or maybe everything depends only on the resolution of the so-called "framebuffer" or on the resolution of the Enigma2 GUI (resolution and SKIN type). But even this would basically be an error / BUG, if it is not possible to create a 4K/UHD screenshot while watching a 4K/UHD channel, and if the maximum screenshot size is always determined only by the resolution of the used SKIN (framebuffer).

    Hi.


    You have to install an additional feed source for Softcams in your OpenATV:


    Then you can find an installer for "ciplushelper".


    Or directly download (valid date: 2023-02-26) is here:

    http://updates.mynonpublic.com/oea/4.4/mips32el/enigma2-plugin-systemplugins-ciplushelper_5.3-r0_all.ipk

    http://updates.mynonpublic.com/oea/4.4/cortexa15hf-neon-vfpv4/enigma2-plugin-systemplugins-ciplushelper_5.3-r0_all.ipk

    http://updates.mynonpublic.com/oea/4.4/sh4/enigma2-plugin-systemplugins-ciplushelper_5.3-r0_all.ipk

    Oh yeah... sorry... I noticed that it is necessary to make another import... in the next file... especially for Python3 and Python2 importing methods.


    It could all be solved if these primitive small classes were simply included in the same file. There is no reason for them to be divided like this if it is a very primitive and very small Class.


    I repeat again that the plugin source code is written very chaotically, outdated and without using standard Python "coding" style. Classes are used completely meaninglessly. Data types like bytes + string + utf-8 (Unicode) are mixed together. I don't know when I should use the "str().decode" method and when a simple conversion to string is sufficient (for example with the str() function or with some string method).


    I recommend contacting the author to write the plugin source code again, not so messy... and... with support for Python3.


    I tried to run it on my Python3 in my set-top box.


    But... unfortunately, I found that it is necessary to literally rewrite a large amount of source code. And I will not do this. Sorry.


    I just wanted to make the code from PY2 to PY3 work. But this is not possible when the source code is written incredibly complex (chaotic). It simply looks as if the programmer of the flood code did not take into account a huge number of things - for example, not taking into account the types of different strings (also applies in Python2 and not only in Python3) or, for example, using iterated objects instead of OOP style (this makes the code unreadable and in that only his author is a flood).


    There is also a lot of completely unnecessary things, such as raising error exceptions or testing completely useless conditions (non-existent file), as Enigma2, but also the Python code itself, manage to report these errors very well... and much better than the algorithm itself, which written by the author of this code. The error message "file not found!" it's completely useless. Because I dont know discovery anything from this basic error message. However, if there was no testing for this specific error in the plugin source code, then Enigma2 would have announced the exact cause of the error + the file-path that the problem concerns + stepping up inherited / parent classes and methods.


    Sorry mate.


    I'm done here. I don't have the nerve for this :-/.


    As I already wrote, I wanted to "convert" the code from PY2 to PY3, but with such chaos, it will not be possible to do it. Only if I sat behind it for several days, only then would I do it.


    Ideally, the original author will write the entire code of the plugin from the beginning and even. However, this can only be done by the person who knows how the plugin algorithm should work properly and what it should actually do as a result :). However, I don't know what the algorithm is supposed to do. I don't even know what this plugin is for in general.

    It will probably be necessary to modify the import method. If we import from our own local directory... so... then instead of:

    from OpenPanel import OpenPanel

    from e2Plugins import e2Plugins

    ...it is necessary to use a dot... so... we will use the following module path (with a dot):

    from .OpenPanel import OpenPanel

    from .e2Plugins import e2Plugins


    Importing from the Enigma2/Python path remains the same (so importing Components and the like remains the same). Only the import from the own directory changes, the same one that also contains the basic plugin.py file.


    The aforementioned modification of the import must be done in the "plugin.py" file.

    Hi.


    Shouldn't "cfg - Zoom" be written together... i.e. as the "cfg-Zoom" ?


    And also starting / stopping the Enigma2, in my opinion, is cleaner with the command "init 4" and then after installation, start again with the command "init 3".


    Or... for stop and start the Enigma2, without "init.d" the following way is more better:

    Code
    #### Enigma2 start:
    [ -d /etc/dpkg ] && systemctl start enigma2 || init 3
    
    #### Enigma2 stop:
    [ -d /etc/dpkg ] && systemctl stop enigma2 || init 4

    OK, so I ran it through the converter and through the Python interpreter in Windows. It should now be complete.


    Also, what I didn't notice, there were errors with the <> comparison operator, which has not been used for a long time. I don't understand why the <> operator is there for the comparison. Namely, the != operator has been used instead in Python for a long time. The sign "is less than or greater than..." is considered an arithmetic (numeric) comparison operator. It is not a logical operator. However != represents a logical comparison and the meaning is "not equal to...". This logical operator != can be applied to numeric values as well as to other data types.


    Try this... and it should work... well... just as the basis of the plugin code you sent. It's probably not a complete plugin, is it ? But it should finally work (both in PY2 and PY3).


    See attachment - V3 archive.

    You should contact the original author to rework it from PY2 to PY3... ideally to support both PY2 and PY3 at the same time.


    By the way, you don't have to redo the IPK and reinstall the plugin every time. It is enough if you copy this .py file to the appropriate folder "\usr\lib\enigma2\python\Plugins\Extensions\OpenPanel\" and then just restart enigma2, for example vie the linux shell: init 4; sleep 5; init 3


    Try this:

    I fixed the indentation you mention again. However, I also see other, probably incorrect, code indents there. Just as bad, this indentation was also in the original code (from you).


    For example, in the file "\usr\lib\enigma2\python\Plugins\Extensions\OpenPanel\OpenPanel.py", from line 155, "spaces" are used instead of "tab" indentation, or even a combination of both. However, this is not allowed. There is also a certain block of code, which seems to be incorrectly indented - that is, it does not make a completely clear sense. "If" is used several times in a row, with the same or similar testing of a condition, so I don't understand at all who wrote this senseless code in PY2. Then it can't be fixed so easily if I don't know how it should be properly embedded in the code ... that is, how that block of the algorithm should work correctly.


    You must supply me FUNCTIONAL python code and not corrupted. I can then convert it from PY2 to PY3.


    I wanted to convert the source code from PY2 to PY3. I don't want to fix some sloppy and poorly written code in PY2. Using "spaces" and "tab" characters for indentation... both types at the same time in the same .py file... is a fundamental mistake.


    Try the last attached attachment. But I'm getting really bored now... fixing indentation in python source code !