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

mupibox-media-db

بواسطة tomquist

Browser & Automation
511التنزيلات وفق ما يذكره clawskills.sh
1المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Manage MuPiBox media database (data.json) through the MuPiBox backend API: list, add, remove, move, edit fields.

الوصف

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

Manages the MuPiBox media database (data.json) through the MuPiBox backend API. Supports listing, adding, removing, reordering, and editing media entries, with automatic local backups created before any mutation.

The script auto-extracts Spotify IDs from URLs and creates a timestamped backup before every write, avoiding the manual errors of editing data.json directly.

متى تستخدمها

  • Adding a Spotify audiobook to MuPiBox by pasting a Spotify URL
  • Removing a media entry by its Spotify ID or list index
  • Reordering entries to change playback order on the device
  • Backing up the media database before a bulk edit
  • Restoring the database to a previous state after a failed operation

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

الإدخال

User asks: Add the Spotify audiobook 'The Great Adventure' by Jane Doe (https://open.spotify.com/album/ABC123) to my MuPiBox

الوكيل
  1. 1

    List current entries to confirm no duplicate exists

  2. 2

    Extract Spotify album ID from the provided URL

  3. 3

    Run add command with --type spotify, --category audiobook, --artist, and --spotify-url flags

  4. 4

    Verify the new entry appears correctly with list

الإخراج

Entry for 'The Great Adventure' added at the end of the media list, with a timestamped backup created before the write

المتطلبات

  • Running MuPiBox backend instance accessible at a known host and port (default http://mupibox:8200)

التثبيت

clawhub install tomquist/mupibox-media-db

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

الروابط