AI-powered instant translation plugin (AISubtitles) by Ammarbary

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

  • The initial idea for audio translations is excellent.

    Of course, it is possible to have an accurate and smooth translation in all languages for now.

    My suggestion would be for this player to be integrated into Enigma and for channels to be switched, and not to be like some media player, of course, if possible.

    Once again, all praise to the author for the idea.

  • My friend, I apologize for encrypting the latest version, although I know it won't be difficult for professionals to decrypt.

    However, I did this because of those with weak souls who steal the efforts of others, claim them as their own, and modify and republish them under different names.

    I mentioned in my first post that the plugin is free, and I welcome any modifications from professionals to help develop it. But after what happened, I decided to take this path.

    I will send you a private message so we can discuss the matter further.


  • This is where I am currently at offline with tweaking ammarbary's code.

    Corrected Icon
    pasted-from-clipboard.png

    Split out the entire code into smaller workable files. This is just the way I work, and is easier to maintain and debug
    plugin, settings, subtitles overlay

    pasted-from-clipboard.png

    Added the font m-plus-rounded-1c to be used by the plugin screens
    This is a font I use in a lot of my plugins and has a good mutli language character list. Will work well on the settings page Language choice.
    Changed the language choice options to be the native language option and reduced the list to main languages

    pasted-from-clipboard.png

    Removed the set list of fonts that can be used for subtitles. If a font is selected that doesn't exist on the system, it will crash.
    Instead I read the usr/share/fonts/ folder and dynamically add these as font choices for use as the subtitles font.

    Removed autostart for now.
    It wasn't wrapped around an enabled settings, so would always run. This would also break the default functionality of the red button.
    I think the current implementation would also create a modal popup crash.

    Grog key is read from file if it doesn't already exist in settings file.

    Removed the named colours and replaced with hex values. If the named colours don't exist in the users skin, the plugin will crash

    Wrapped all text in a translatable label, so .po files can be created.

    Settings page
    Completely simplified the settings page code. It was massively over complicated trying to do things that there is already built in functions that do the same thing.
    Redesigned the settings page to be a bit more standard layout.
    Changed all the wording and options - removed headers as headers just adds complication.
    Changed the font size option to be fully user choice. From 21 to 72 in steps of 3.
    Fixed the green button (save)
    Added in a dreambox settings skin alternative as it uses slightly different elements.

    pasted-from-clipboard.png

    Now for the real work. Got to now see how the audio is being read. How groq API works.
    And work out why its a little slow and completely crashes after a short while.

    Overall if this is your first plugin - I haven't changed that much code. Just standardised it. :thumbs up:

    I am not sharing anything with my experiments at the moment. Until I have finished looking at this original code.

    ** A person who feels appreciated will always do more than what is expected **

  • I have make it for macos mpv iptv

    may be can help




  • Unfortunately, it wasn't helpful. Although it seemed promising, after testing, it didn't add anything useful to the plugin.
    Thanks for trying to help

  • I have observed that the plugin works better and faster with IPTV channels.

    It is in fact so fast, that sometimes translation comes even before it's spoken!

    This made me think that maybe the iptv address is being used for a direct connection, rather than waiting for sound files being sent over.

    If true, this could be a good thing for free channels, but wouldn't it be risky for paid subscriptions? (double connection)

    Probably just my imagination, and will be corrected by the author, to whom I'd like to thank once more for this awesome work!

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!