Files
cheb0chik 3540ac84ea LihonT 2.3.0 (Serena): profile music, AI video dubbing, PiP & bg play, fonts, cleaner
- Shared moderated MP3 profile music (with floating mini-player and MediaSession controls, zero bubble when absent)
- AI video dubbing into Russian with burned-in ASS subtitles inside AgentChat (`services/members/dub.py`)
- Picture-in-Picture 9:16 and background audio playback (`PlayControl` + `play_patch.py`)
- System/custom .ttf fonts & emoji packs (`FontsAndEmoji`), account cleaner (`AccountCleaner`)
- Feed blacklist, muted sound restoration, OLED burn-in shift, A/B flag editor, presets, long comments
- Updated site homepage (`src/web/index.html`) for LihonT 2.3.0 Serena
2026-11-26 15:40:32 +03:00

40 lines
2.6 KiB
Python
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"""То же самое по-русски: from lihont_ltp.ru import *
плагин = Плагин("Тихая ночь", автор="Вася")
плагин.видео(ночь & хэштег("challenge"), скрыть, сказать("Тихая ночь"))
плагин.сохранить()
"""
from . import core
from .core import (account as аккаунт, after as после, all_of as все_условия, always as всегда, any_of as любое_условие,
author as автор, before as перед, between as между, bounce as туда_сюда, wander as бродит,
chance as шанс, comments as комментарии, day as день, download as скачать, evening as вечер,
followers as подписчики, fresh as свежее, friday as пятница, style as вид_имени, confetti as конфетти,
buzz as вибро, hashtag as хэштег, hide as скрыть, keep as оставить, like as лайк, liked as лайкнутое,
likes as лайки, longer as дольше, me as я, morning as утро, music as музыка, night as ночь,
older as старше, person as человек, photo as фото, picture as картинка, plays as просмотры,
rename as переименовать, say as сказать, shares as репосты, shorter as короче, sound as звук,
verified as проверенный, weekday as день_недели, weekend as выходные, wiggle as качнуться,
word as слово)
class Плагин(core.Plugin):
def __init__(self, название, автор="", описание="", версия="1.0", id=None, иконка=None, лицензия=None, ии=None):
super().__init__(название, author=автор, description=описание, version=версия, id=id, icon=иконка,
license=лицензия, ai=ии)
def видео(self, когда, *действия, **kw):
return self.video(когда, *действия, **kw)
def имя(self, когда, *действия, **kw):
return self.name(когда, *действия, **kw)
def экран(self, *действия, **kw):
return self.screen(*действия, **kw)
def сохранить(self, *a, **kw):
return self.save(*a, **kw)
def защитник(self, *a, **kw):
return self.guard(*a, **kw)