Posts by Lululla

    to reproduce the same scenario I need you to go to telnet and give this command

    then pass me the file you find in tmp -> oaweather_config.txt



    grep "^config.plugins.OAWeather" /etc/enigma2/settings > /tmp/oaweather_config.txt

    oe2.0.png


    Lululla Plugins



    Acherone Script Command wget -q --no-check-certificate https://raw.githubusercontent.com/Belfagor2005/acherone-script/main/installer.sh -O - | /bin/sh
    Advanced Screeshots wget -q --no-check-certificate https://raw.githubusercontent.com/Belfagor2005/AdvancedScreenshot/main/installer.sh -O - | /bin/sh
    Apod wget -q --no-check-certificate https://raw.githubusercontent.com/Belfagor2005/apod/main/installer.sh -O - | /bin/sh
    Apsattv wget -q --no-check-certificate https://raw.githubusercontent.com/Belfagor2005/Apsattv/main/installer.sh -O - | /bin/sh
    Archimede M3u Converter wget -q --no-check-certificate https://raw.githubusercontent.com/Belfagor2005/Archimede-M3UConverter/main/installer.sh -O - | /bin/sh
    Calendar wget -q --no-check-certificate https://raw.githubusercontent.com/Belfagor2005/Calendar/main/installer.sh -O - | /bin/sh
    Command Center wget -q --no-check-certificate https://raw.githubusercontent.com/OwnerPlugins/CommandCenter/main/installer.sh -O - | /bin/sh
    DDRSS Reader wget -q --no-check-certificate https://raw.githubusercontent.com/Belfagor2005/DDRSSReader/main/installer.sh -O - | /bin/sh
    EPGImport 99 wget -q --no-check-certificate https://raw.githubusercontent.com/Belfagor2005/EPGImport-99/main/installer_source.sh -O - | /bin/bash
    EPGImport Source wget -q --no-check-certificate "https://raw.githubusercontent.com/Belfagor2005/EPGImport-99/main/installer_source.sh?inline=false" -O - | /bin/sh
    Filmon wget -q --no-check-certificate https://raw.githubusercontent.com/Belfagor2005/Filmon/main/installer.sh -O - | /bin/sh
    FilmXy wget -q --no-check-certificate https://raw.githubusercontent.com/Belfagor2005/filmxy/main/installer.sh -O - | /bin/sh
    Freearhey wget -q --no-check-certificate https://raw.githubusercontent.com/Belfagor2005/freearhey/main/installer.sh -O - | /bin/sh
    ForecaOne wget -q --no-check-certificate https://raw.githubusercontent.com/Belfagor2005/ForecaOne/main/installer.sh -O - | /bin/sh
    HasBahCa wget -q --no-check-certificate https://raw.githubusercontent.com/Belfagor2005/HasBahCa/main/installer.sh -O - | /bin/sh
    Horoscope wget -q --no-check-certificate https://raw.githubusercontent.com/Belfagor2005/Horoscope/main/installer.sh -O - | /bin/sh
    mmPicons wget -q --no-check-certificate https://raw.githubusercontent.com/Belfagor2005/mmPicons/main/installer.sh -O - | /bin/sh
    Oroscopo Italia wget -q --no-check-certificate https://raw.githubusercontent.com/Belfagor2005/oroscopo_radioitalia/main/installer.sh -O - | /bin/sh
    Parsa Tv wget -q --no-check-certificate https://raw.githubusercontent.com/Belfagor2005/tvParsa/main/installer.sh -O - | /bin/sh
    Radio80 wget -q --no-check-certificate https://raw.githubusercontent.com/Belfagor2005/Radio-80-s/main/installer.sh -O - | /bin/sh
    Radio Git wget -q --no-check-certificate https://raw.githubusercontent.com/Belfagor2005/RadioGit/main/installer.sh -O - | /bin/sh
    Rai Play wget -q --no-check-certificate https://raw.githubusercontent.com/Belfagor2005/RaiPlay/main/installer.sh -O - | /bin/sh
    Revolution Lite wget -q --no-check-certificate https://raw.githubusercontent.com/Belfagor2005/revolutionlite/main/installer.sh -O - | /bin/sh
    Revolution Pro wget -q --no-check-certificate https://raw.githubusercontent.com/Belfagor2005/revolutionpro/main/installer.sh -O - | /bin/sh
    Revolution XXX wget -q --no-check-certificate https://raw.githubusercontent.com/Belfagor2005/revolutionxxx/main/installer.sh -O - | /bin/sh
    Rss Reader wget -q --no-check-certificate https://raw.githubusercontent.com/Belfagor2005/RSSReader/main/installer.sh -O - | /bin/sh
    Softcam Manager wget -q --no-check-certificate https://raw.githubusercontent.com/Belfagor2005/tvManager/main/installer.sh -O - | /bin/sh
    Stalker Portal Converter wget -q --no-check-certificate https://raw.githubusercontent.com/Belfagor2005/StalkerPortalConverter/main/installer.sh -O - | /bin/sh
    Stvcl wget -q --no-check-certificate https://raw.githubusercontent.com/Belfagor2005/S.T.V.C.L-/main/installer.sh -O - | /bin/sh
    TvDream wget -q --no-check-certificate https://raw.githubusercontent.com/Belfagor2005/tvDream/main/installer.sh -O - | /bin/sh
    TVGarden wget -q --no-check-certificate "https://raw.githubusercontent.com/Belfagor2005/TVGarden/main/installer.sh" -O - | /bin/sh
    TvRaiPreview wget -q --no-check-certificate https://raw.githubusercontent.com/Belfagor2005/tvRaiPreview/main/installer.sh -O - | /bin/sh
    TvSettings wget -q --no-check-certificate https://raw.githubusercontent.com/Belfagor2005/tvSettings/main/installer.sh -O - | /bin/sh
    TvToM3u wget -q --no-check-certificate https://raw.githubusercontent.com/Belfagor2005/TvToM3u/main/installer.sh -O - | /bin/sh
    Vavoo wget -q --no-check-certificate https://raw.githubusercontent.com/Belfagor2005/vavoo/main/installer.sh -O - | /bin/sh
    Vavoo Maker wget -q --no-check-certificate https://raw.githubusercontent.com/Belfagor2005/VavooMaker/main/installer.sh -O - | /bin/sh
    WiFi Manager wget -q --no-check-certificate https://raw.githubusercontent.com/Belfagor2005/WiFi-Manager/main/installer.sh -O - | /bin/sh
    Worldcam wget -q --no-check-certificate https://raw.githubusercontent.com/Belfagor2005/WorldCam/main/installer.sh -O - | /bin/sh
    XC Forever wget -q --no-check-certificate "https://raw.githubusercontent.com/Belfagor2005/xc_plugin_forever/main/installer.sh?inline=false" -O - | /bin/sh
    XXX Plugin wget -q --no-check-certificate https://raw.githubusercontent.com/Belfagor2005/xxxplugin/main/installer.sh -O - | /bin/sh

    Here you can enter the installation scripts to be sent by Telnet

    script.png



    Add Libssl Libcrypto wget -q --no-check-certificate "https://raw.githubusercontent.com/Belfagor2005/LinuxsatPanel/main/usr/lib/enigma2/python/Plugins/Extensions/LinuxsatPanel/sh/Add_Libssl1_Libcrypto1.sh?inline=false" -O - | /bin/sh
    Add Symlink Libssl wget -q --no-check-certificate "https://raw.githubusercontent.com/Belfagor2005/LinuxsatPanel/main/usr/lib/enigma2/python/Plugins/Extensions/LinuxsatPanel/sh/Symlink_Creator.sh?inline=false" -O - | /bin/sh
    Ajpanel AMAJamry wget --no-check-certificate "https://raw.githubusercontent.com/biko-73/AjPanel/main/installer.sh?inline=false" -O - | /bin/sh
    Arabic Savior wget --no-check-certificate "https://raw.githubusercontent.com/fairbird/ArabicSavior/main/installer.sh?inline=false" -O - | /bin/sh
    Backsncovers wget -q --no-check-certificate https://raw.githubusercontent.com/Belfagor2005/backsncovers/main/installer.sh -O - | /bin/sh
    Biss Feed Autokey wget -q --no-check-certificate "https://raw.githubusercontent.com/Belfagor2005/LinuxsatPanel/main/usr/lib/enigma2/python/Plugins/Extensions/LinuxsatPanel/sh/Bissfeedautokey.sh?inline=false" -O - | /bin/sh
    Chocholousek Picons wget -q --no-check-certificate "https://raw.githubusercontent.com/Belfagor2005/LinuxsatPanel/main/usr/lib/enigma2/python/Plugins/Extensions/LinuxsatPanel/sh/Chocholousek_picons.sh?inline=false" -O - | /bin/sh
    Moviebrowser wget -q --no-check-certificate https://raw.githubusercontent.com/Belfagor2005/MovieBrowser/main/installer.sh -O - | /bin/sh
    Multistalker Pro Ziko wget -q --no-check-certificate "https://raw.githubusercontent.com/Belfagor2005/LinuxsatPanel/refs/heads/main/usr/lib/enigma2/python/Plugins/Extensions/LinuxsatPanel/sh/multisalker_pro12_eliesat.sh?inline=false" -O - | /bin/sh; wget -q --no-check-certificate "https://gitlab.com/hmeng80/extensions/-/raw/main/multistalker/portal/Portal_multistalker.sh?inline=false" -O - | /bin/sh
    Multistalker Pro Ziko wget -q --no-check-certificate "https://raw.githubusercontent.com/emilnabil/multi-stalkerpro/refs/heads/main/installer.sh?inline=false" -O - | /bin/sh; wget -q --no-check-certificate "https://gitlab.com/hmeng80/extensions/-/raw/main/multistalker/portal/Portal_multistalker.sh?inline=false" -O - | /bin/sh
    Multistalker Pro Ziko Biko wget -q --no-check-certificate "https://raw.githubusercontent.com/biko-73/Multi-Stalker/main/pro/installer.sh?inline=false" -O - | /bin/sh; wget -q --no-check-certificate "https://gitlab.com/hmeng80/extensions/-/raw/main/multistalker/portal/Portal_multistalker.sh?inline=false" -O - | /bin/sh
    New VirtualKeyboard wget -q --no-check-certificate "https://raw.githubusercontent.com/fairbird/NewVirtualKeyBoard/main/installer.sh?inline=false" -O - | /bin/sh
    Oscam Generator KINGOFSAT wget -q --no-check-certificate "https://raw.githubusercontent.com/Belfagor2005/LinuxsatPanel/main/usr/lib/enigma2/python/Plugins/Extensions/LinuxsatPanel/sh/Oscam_srvid_generator_kingofsat.sh?inline=false" -O - | /bin/sh
    Oscam Generator LINGSAT wget -q --no-check-certificate "https://raw.githubusercontent.com/Belfagor2005/LinuxsatPanel/main/usr/lib/enigma2/python/Plugins/Extensions/LinuxsatPanel/sh/Oscam_srvid_generator_lyngsat.sh?inline=false" -O - | /bin/sh
    Oscam Generator SATELINATV wget -q --no-check-certificate "https://raw.githubusercontent.com/Belfagor2005/LinuxsatPanel/main/usr/lib/enigma2/python/Plugins/Extensions/LinuxsatPanel/sh/Oscam_srvid_generator_satelitnatv.sh?inline=false" -O - | /bin/sh
    Oscam Generator TWOJEIP wget -q --no-check-certificate "https://raw.githubusercontent.com/Belfagor2005/LinuxsatPanel/main/usr/lib/enigma2/python/Plugins/Extensions/LinuxsatPanel/sh/Oscam_srvid_generator_twojeip.sh?inline=false" -O - | /bin/sh
    Quicksignal Raed wget -q --no-check-certificate "https://raw.githubusercontent.com/fairbird/RaedQuickSignal/main/installer.sh?inline=false" -O - | /bin/sh
    Send Emm wget -q --no-check-certificate "https://raw.githubusercontent.com/Belfagor2005/LinuxsatPanel/main/usr/lib/enigma2/python/Plugins/Extensions/LinuxsatPanel/sh/Emm_Sender.sh?inline=false" -O - | /bin/sh
    Simple Zoom Panel wget -q --no-check-certificate https://raw.githubusercontent.com/Belfagor2005/SimpleZooomPanel/main/installer.sh -O - | /bin/sh
    Subsupport addon wget -q --no-check-certificate "https://raw.githubusercontent.com/Belfagor2005/LinuxsatPanel/main/usr/lib/enigma2/python/Plugins/Extensions/LinuxsatPanel/sh/Subsupport_addon.sh?inline=false" -O - | /bin/sh
    Transmission addon wget -q --no-check-certificate "http://dreambox4u.com/dreamarabia/Transmission_e2/Transmission_e2.sh?inline=false" -O - | /bin/sh
    WireGuard Vpn wget -q --no-check-certificate "wget -qO /tmp/WireGuard.sh "https://raw.githubusercontent.com/m4dhouse/Wireguard-Vpn/python-3.12/WireGuard.sh?inline=false" -O - | /bin/sh
    Xstreamity wget -q --no-check-certificate https://raw.githubusercontent.com/biko-73/xstreamity/main/installer.sh?inline=false -O - | /bin/sh

    pasted-from-clipboard.png



    pasted-from-clipboard.png



    it's not easy to be clear: it's a lot of work to do this, to make this game, to develop in python is a big pain in the ass.

    I added the missing codes in the maps, but even if there were other codes they should be inserted automatically thanks to a definition that I put in the code.


    Code
                "d00": ("32", "B"), "d10": ("34", "B"), "d20": ("30", "H"), "d21": ("12", "Q"),
                "d22": ("11", "Q"), "d30": ("28", "H"), "d31": ("11", "Q"), "d32": ("39", "R"),
                "d34": ("4", "0"), "d40": ("26", "Y"), "d41": ("9", "Q"), "d42": ("9", "Q"),
                "d43": ("12", "Q"), "d44": ("4", "0"), "d50": ("28", "H"), "d60": ("20", "E"),
                "n00": ("31", "C"), "n10": ("33", "C"), "n20": ("29", "I"), "n21": ("45", "Q"),
                "n22": ("45", "Q"), "n24": ("47", "Z"), "n30": ("27", "I"), "n31": ("45", "Q"),
                "n32": ("45", "R"), "n42": ("9", "Q"), "n43": ("12", "Q"), "n50": ("29", "I"),
                "n60": ("20", "E")

    def (auto map)



    of course I also added the descriptions of the mapped codes



    we are not combing dolls, what do we care if the plugguin is called in Chinese or English or Turkish..

    That's bullshit.

    Please include weather api saves in the next release, so that if some icon is missing we can maybe find it faster.

    Code
        def msnparser(self):
            iconpath = config.plugins.OAWeather.iconset.value
            iconpath = join(ICONSETROOT, iconpath) if iconpath else join(PLUGINPATH, "Icons")
            dayList = []
            responses = weatherhandler.getFulldata().get("responses")
            
            # add lululla for debug
            with open("/tmp/oaweater_msn_log.txt", "w") as f:
                json.dump(responses, f, indent=4)


    jbleyel


    now I'm going to rest because I see the icons in Chinese, and I will have to understand in Chinese how to put the Italian language back.. :head banger: :head banger:

    the problem is that the code map is not updated so: when icons are missing you should do a dbeug from telnet and check which codes are missing


    example:


    Code
    WARNING in module 'convert2icon': key 'd30' not found in converting dicts.
    WARNING in module 'convert2icon': key 'd20' not found in converting dicts.
    WARNING in module 'convert2icon': key 'd31' not found in converting dicts.
    WARNING in module 'convert2icon': key 'd31' not found in converting dicts.
    WARNING in module 'convert2icon': key 'd31' not found in converting dicts.
    WARNING in module 'convert2icon': key 'd30' not found in converting dicts.
    WARNING in module 'convert2icon': key 'd10' not found in converting dicts.

    then add them to the map



    but i fix for you..

    API requests are sent with the system language code:
    language = config.osd.language.value.replace('_', '-').lower()


    For Chinese, this might result in:

    zh-cn (Simplified Chinese)

    zh-tw (Traditional Chinese)

    zh-hk (Hong Kong Chinese)



    you could also try to add a mapping for some unsupported languages, but it also depends on the server you choose: msn, openmeteo etc.


    or API Response encoding issue

    Chinese responses may have encoding issues.

    Code
    response = requests.get(url, headers=headers)
    response.encoding = 'utf-8'
    data = response.json()


    and forced.. maybe..



    or using city IDs instead of names: Chinese city names may not be recognized correctly by the services.



    Try to do a test: set the language to English on the box, reboot and check if the icons are visible.