Posts by Lululla

    try your self..


    usr\lib\enigma2\python\Plugins\Extensions\NGsetting\Moduli

    file date

    change for eg.


    AutoTimer = 1

    NameSat = Vhannibal Hot Bird 13°E

    Data = 250504

    Type = 1

    Personal = 0

    DowDate = 07/05/25 @ 16:16:39


    to


    AutoTimer = 1

    NameSat = Vhannibal Hot Bird 13°E

    Data = 250304

    Type = 1

    Personal = 0

    DowDate = 07/03/25 @ 16:16:39

    What is the difference between this one and the one on the official homepage?

    Just want to know or curious

    this



    * Ensured compatibility with both Python 2 and Python 3.

    * Replaced deprecated `str.decode()` and `unicode()` usage (where applicable).


    * Integrated a **custom logger** (`logger`, `logger.debug`, `logger.info`, `logger.error`, `logger.exception`) instead of `print()` for all outputs.

    * Added context-aware log messages for all important actions (e.g., downloads, loading, errors).

    * Grouped all imports by **type and source**:

    * Enigma2 components

    * Enigma2 screens

    * Python standard libraries (e.g., `os`, `sys`, `time`, `codecs`)

    * Plugin internal modules (e.g., `Moduli.Config`, `Moduli.Lcn`)

    * Removed or flagged unused imports when confirmed.

    --

    * Removed the use of `BeautifulSoup` as requested (HTML parsing replaced or avoided).

    * Converted the `DownloadSetting` function to use only standard parsing logic.

    * Implemented fallback/error handling on invalid/missing links (`No schema supplied` fix).

    * Created/rewritten `ConverDate()` and `ConverDate_noyear()` to return only string-formatted dates.

    * Ensured that `datetime` objects are never concatenated directly to strings.

    * Wrapped all `self.session.open(...)` calls with `if self.session:` to prevent `NoneType` exceptions in background updates.

    * Added logging when the session is missing to trace the issue during background executions.

    * Added `os.system('rm -rf ...')` with proper placement **after** success confirmation of the setting download.

    * Ensured cleanup does not interfere with plugin flow.

    * Aggressively enforced **PEP8 compliance**:

    * Removed trailing whitespace

    * Split long lines with parentheses

    * Grouped logically related code

    * Meaningful naming conventions and variable simplification

    * Avoided excessive inline comments unless necessary for clarity

    * Improved user-facing messages using `_()` for translation compatibility.

    * Used proper string concatenation and safety checks when formatting text for the UI.

    * Added general exception handling with `logger.exception()` for detailed tracebacks.

    * Avoided any external dependencies unless explicitly required.

    try for test..


    add logging /tmp/ngsetting

    any choice put logging here


    pasted-from-clipboard.png



    pasted-from-clipboard.png




    pasted-from-clipboard.png




    I thought you can make a log, if there are errors maybe we can try to fix them. I need to know which epgimport you use.

    Which version, where did you download it from or if you give me the EpgImport folder that you find in this path

    usr\lib\enigma2\python\Plugins\Extensions\EPGImport


    open telnet and type these commands

    Code
    init 4
    killall -9 enigma2
    ENIGMA_DEBUG_LVL=4 enigma2.sh > /tmp/debug.log 2>&1 &


    then open epgimport and do a manual download and let it finish and give me the log that you find in

    /tmp/epgimport.log


    GENRE with Epg integration from .json



    FOR SKIN USE:


    Code
    <widget render="AgpGenreX"
        source="session.Event_Now"
        position="44,370"
        size="160,45"
        zPosition="22"
        transparent="1" />


    ***THE PHOTOS WERE TAKEN DURING THE TEST



    Screenshot_5-5-2025_0247_192.168.1.78.jpegScreenshot_5-5-2025_0258_192.168.1.78.jpegScreenshot_5-5-2025_0312_192.168.1.78.jpegScreenshot_5-5-2025_0323_192.168.1.78.jpeg




    pasted-from-clipboard.png


    pasted-from-clipboard (1).png