- 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
27 lines
1.3 KiB
Python
27 lines
1.3 KiB
Python
"""lihont-ltp: пиши плагины для LihonT обычным Python, почти как предложения.
|
|
|
|
from lihont_ltp import *
|
|
|
|
plugin = Plugin("Тихая ночь", author="Вася")
|
|
plugin.video(night & hashtag("challenge"), hide, say("Тихая ночь: челленджи скрыты"))
|
|
plugin.save()
|
|
"""
|
|
|
|
from .core import (Plugin, account, after, all_of, always, any_of, author, before, between, bounce, chance, comments, day,
|
|
download, evening, followers, fresh, friday, hashtag, hide, keep, like, liked, likes, longer, me,
|
|
morning, music, night, older, person, photo, picture, plays, rename, say, shares, shorter, sound,
|
|
wander, weekday, weekend, verified, wiggle, word, style, confetti, buzz)
|
|
from .errors import LtpError
|
|
|
|
__version__ = "0.2.0"
|
|
|
|
__all__ = [
|
|
"Plugin", "LtpError",
|
|
"word", "hashtag", "author", "person", "account", "between", "weekday", "all_of", "any_of",
|
|
"me", "always", "morning", "day", "evening", "night", "friday", "weekend",
|
|
"shorter", "longer", "likes", "comments", "shares", "plays", "followers", "fresh", "older", "music", "chance",
|
|
"verified", "photo", "liked",
|
|
"hide", "keep", "say", "before", "after", "rename", "style", "picture", "sound", "like", "wiggle", "confetti",
|
|
"buzz", "download", "bounce", "wander",
|
|
]
|