Posts by Chris230291

    Unfortunately, it fails for me on the latest OSCam commit (d08a0c2c4bdf77454d59fee8463125b0be6350f8):


    Code
    error: patch failed: README.config:54
    error: README.config: patch does not apply
    error: patch failed: config.sh:894
    error: config.sh: patch does not apply

    Thank you.


    https://raw.githubusercontent.com/OpenPLi/openpli-oe-core/18dc8bc4b6079d38069b912f136eb66325ac4d6e/meta-openpli/recipes-openpli/enigma2-softcams/enigma2-plugin-softcams-oscam-emu/oscam-emu.patch

    I list readers by name instead of enabling globally with 1:


    Code
    [account]
    user                          = dvbapi
    au                            = emulator,sky_uk
    group                         = 1,2,3,4,5,64



    If you go into log, enable 64, you should see something like this:

    Code
    2024/11/09 18:08:24 310EEFBB c (reader) emulator [emu] EMM: reader_caid 0000 != emmpid caid 0960 -> SKIP!
    2024/11/09 18:08:24 310EEFBB c (reader) emulator [emu] EMM: reader_caid 0000 != emmpid caid 0961 -> SKIP!
    2024/11/09 18:08:24 310EEFBB c (reader) emulator [emu] EMM: reader_caid 0000 != emmpid caid 0963 -> SKIP!
    2024/11/09 18:08:24 310EEFBB c (reader) sky_uk [videoguard2] EMM: reader_caid 0963 != emmpid caid 0960 -> SKIP!
    2024/11/09 18:08:24 310EEFBB c (reader) sky_uk [videoguard2] EMM: reader_caid 0963 != emmpid caid 0961 -> SKIP!
    2024/11/09 18:08:24 310EEFBB c (reader) sky_uk [videoguard2] EMM: reader 0963 match since emmpid has no provid -> SEND!

    The UK is moving towards IPTV.

    Last I read, the new service (cant remember the name) is going to be OTA supplemented by IPTV.

    I think we still have a good few years before sat it tuned off though.

    Just ask if you need help.

    It's really very simple.


    The problem with offline translators is... last time I checked, they sucked.

    Slow and simply not as good as google.

    Google tends to do a very good job at not translating literally and instead giving the answer you are actually looking for.

    I.e. giving you the regional name of a show instead of a simple translation.

    Code
    .According to google, you are allowed to make 5 requests per secondand up to 200k requests per day. You can wait and try again later oryou can try the translate_batch function

    As always its taking me a while to digest what you guys have posted, :owl:

    im currently trying to sort a decent proxie list out (back to the IPTV hacking days lol )


    :Halloween2:

    I use TOR.

    Not sure if there's a precompiled version for your box or if you would have to compile it.


    I actually use this docker image: https://github.com/dperson/torproxy

    I think there is a rate limit.

    Nothing is getting translated now without a proxy.


    With these settings:


    Code
    #####################################
    # CONFIG##############################
    desired_language = "en"
    translate_titles = True
    translate_sub_titles = False
    translate_descriptions = False
    proxies = {"http": "192.168.1.200:8118", "https": "192.168.1.200:8118"}
    workers = 40
    days_to_translate = 1
    #####################################


    It translates the basic sky de epg in 0h 1m 49s


    I also spotted an error in my if statement that decides if we want to translate it or not.

    Here's the revised script:



    EDIT: I also suggest something like this to combine all guides into 1, before translating.

    This way it doesn't really save anything to disk and I think it's nicer.

    If there's a reason you can't do that on e2, then that's fine, just an idea.



    Parsing the combined guide took me 0h 3m 59s to translate the titles for 1 day.

    It was auto... Chatgpt obviously changed again in later amends. It tries to be clever, even though you keep saying use autodetect. :)

    Did every single programme that was meant to be translated actually get translated?

    Scroll to the bottom and double check.

    The reason I mention this is that I hit rate limits very quickly when I wasn't going via the tor network.


    I added to my example:

    - Caching (not convinced it made a difference)

    - Days to translate

    - Workers variable

    - Completion time

    - Simplified it further.


    I realise it doesn't handle the downloading, extracting, etc, but that's easily added.


    The pre downloaded basic sky de epg took "0h 4m 24s" translating all field for 1 day with 60 workers (I have a feeling this is a little high).