AI-powered instant translation plugin (AISubtitles) by Ammarbary

There are 533 replies in this Thread which was already clicked 114,914 times. The last Post () by juanxea.

  • Hi, the add-on is great, I just don't know how to correctly enter the generated Api key into the settings in etc/enigma 2, can someone advise, thank you very much...

  • plugin.py


    config.plugins.AISubtitles = ConfigSubsection()

    config.plugins.AISubtitles.enabled = ConfigSelection(default="false", choices=[("false", "Disabled"), ("true", "Enabled")])

    config.plugins.AISubtitles.provider = ConfigSelection(default="auto", choices=[("auto", "Auto (Groq->Gemini)"), ("groq", "Groq Only"), ("gemini", "Gemini Only"), ("openai", "OpenAI Only")])

    config.plugins.AISubtitles.api_key = ConfigText(default="API KEY HERE", visible_width=50, fixed_size=False)

    config.plugins.AISubtitles.api_key_gemini = ConfigText(default="API KEY HERE", visible_width=50, fixed_size=False)

    config.plugins.AISubtitles.api_key_openai = ConfigText(default="API KEY HERE", visible_width=50, fixed_size=False)

  • Hi, the add-on is great, I just don't know how to correctly enter the generated Api key into the settings in etc/enigma 2, can someone advise, thank you very much...

    hello

    ftp edit

    /etc/enigma2/settings


    config.plugins.AISubtitles.api_key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

    config.plugins.AISubtitles.api_key_gemini=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

  • Hi, the add-on is great, I just don't know how to correctly enter the generated Api key into the settings in etc/enigma 2, can someone advise, thank you very much...

    Install the add-on, go to config and Enable Show Keys. Add something to each line or just the API key you want to use (for example i just add 1,2,3 etc),then save the settings. Restart GUi or Reboot receiver. After that you can follow the steps to edit the settings file to more easily add the keys.Alternatively, you can just add the lines to your settings file:


    config.plugins.AISubtitles.api_key=(insert groq key here)

    config.plugins.AISubtitles.api_key_gemini=

    config.plugins.AISubtitles.api_key_openai=


    I haven't been able to make the addon work on my two zgemma h9s SE and two OS Nino Plus with OpenATV 7.6, but based on the comments here people seem to have very positive feedback so far, kudos to the dev that made the addon.

  • Unfortunately, this procedure does not work for me on openatv 7.6.

  • Anyone managed to get gemini working?

    When I choose gemini only, lines are all blank and at the top of screen appears "gemini empty".

    But groq works ok, however sometimes translations are too long and a bit irrelevant.

    I'd like to see if gemini would work better.

    Nonetheless, big thanks once again to the author for this great plugin.

  • the API keys can be added manually via the plugin GUI or in the /etc/enigma2/settings file manually. You need to kill enigma before making changes to the file (init 4, edit file, init 3).

    init 4 or init 2

    It’s the same. Below you can see the Enigma2 console commands:


    init 0 Deep Standby

    init 1 Stops Enigma2 and network

    init 2 Stops Enigma2

    init 3 Starts Enigma2 normally

    init 4 Stops Enigma2

    init 5 Stops Enigma2

    init 6 Reboots the box

  • So, i was digging around and found out the pcm stream captured by the tool is 0kb in size, the audio stream cannot be captured on weak HW like my zgemma h9 SE and Edison OS nino, not a problem produced by the plugin. Just in case anyone else gets a similar problem.

  • I also don't know what is correct, some write in the settings, others in the plugin, etc., but nothing works. I tested on OATV 7.6 in vuduo 4 K SE...

  • Anyone managed to get gemini working?

    When I choose gemini only, lines are all blank and at the top of screen appears "gemini empty".

    But groq works ok, however sometimes translations are too long and a bit irrelevant.

    I'd like to see if gemini would work better.

    Nonetheless, big thanks once again to the author for this great plugin.

    I have the same problem and I checked in my Google account and the requests are coming from the plugin

    But it seems there are too many requests

Get community help for all other Enigma2 plugins

This is your forum for support, questions, and guides for plugins not covered in our specialized sections. Support for uncategorized and miscellaneous Enigma2 plugins. Find help, troubleshooting, and discussions for plugins that don't fit other forum categories.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!