تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

tms

بواسطة nikitadmitryuk

Coding Agents & IDEs
382التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Manage downloads via Telegram Media Server (TMS) REST API — add by URL (video/magnet/torrent), list, delete, search.

الوصف

ما الذي تفعله هذه المهارة

Manages downloads through the Telegram Media Server (TMS) REST API. Supports adding video URLs, magnet links, and torrent files, listing downloads with status, deleting downloads, and searching torrents when Prowlarr is configured on TMS.

Lets you manage a full download workflow from search to removal without leaving the agent, using a single consistent API instead of juggling separate clients.

متى تستخدمها

  • Add a magnet link to the download queue
  • Check progress on an active torrent download
  • Stop and remove a download that's no longer needed
  • Search for a torrent by title and quality, then queue it
  • Add a video URL for yt-dlp-based download via TMS

مثال على سير العمل

الإدخال

User asks: Find a 1080p release of 'Elephants Dream' and download it

الوكيل
  1. 1

    Call GET /api/v1/search?q=Elephants+Dream&quality=1080 to retrieve torrent results

  2. 2

    Select the top result with a valid magnet link and note the title

  3. 3

    Call POST /api/v1/downloads with the magnet URL and title from the search result

  4. 4

    Receive the new download ID and confirm queued status with GET /api/v1/downloads

الإخراج

Download added with ID 7, title 'Elephants Dream 1080p BluRay', status: queued

المتطلبات

  • Running Telegram Media Server (TMS) instance
  • TMS_API_URL environment variable (required when TMS runs on a different host than OpenClaw)
  • TMS_API_KEY environment variable (required for authenticated or remote access)
  • Prowlarr instance configured in TMS (required for torrent search)

التثبيت

clawhub install nikitadmitryuk/tms

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط