{% extends "base.html" %}
{% block title %}Tools — TG Stremio{% endblock %}
{% block content %}
Scan, index and maintain your libraryTools
Pick a title, start a session, then forward files — each one attaches automatically.
Session is live — forward the files now, then click End session when finished.
Season, episode and quality are read from each file's name/caption automatically. Forward files to your auth or manual channel.
Leave empty when files already contain S01E05-style numbering.
Set it for absolute-numbered files like One Piece - 1142 (1080p).mkv — the episode (1142)
is read from the name and placed in this season.
Set an episode to pile every forwarded file onto that one episode (multiple qualities). Leave it empty so each file becomes the next episode (E1, E2, E3…).
Personal files carry no metadata — forward them to your manual channel only.
Index files from your AUTH channels. Scans resume automatically; use Rescan to re-index from scratch.
Promote your bots to admin in the channels they serve, using your session account.
{% if not userbot_configured or not multi_token_available %}{% if not userbot_configured %} This tool needs a connected Telegram user session. Only a user account can promote bots to admin. Connect one from Settings → Telegram User Session. {% else %} This tool needs more than one bot token. Add extra tokens under Settings → Multi-Token Clients to enable it. {% endif %}
Verify indexed files still exist on Telegram, then purge dead entries below.
"Load flagged" lists links the background checker found. Purging removes them.
Find and remove streams stored more than once. Deleting also removes the Telegram file.
Pick copies to delete, or "Delete all" to keep only the newest of each group.