Preface¶
DeepSeek Harness (DSH) is a “everything-is-a-plugin” client environment. For scenarios requiring simultaneous monitoring of multiple Bilibili streams, existing solutions either require manually opening multiple browser tabs or rely on UI automation to seize the mouse—both of which are error-prone during extended runtime. The PiliAurora Video Wall plugin provides a Bilibili video wall in the DSH right sidebar as a panel tab: simply enter a keyword to open N independent playback windows in parallel with automatic grid layout. The entire process is driven through a command channel—no mouse movement, no screenshots, no UIA reading.
Plugin Overview¶
Plugin name: loyalchiiina/dsh-piliaurora-wall (PiliAurora Video Wall). Maintained by loyalchiiina, categorized as a client-side plugin. It leverages PiliAurora’s multi-process protocol to provide search, window spawning, grid layout, audio control, continuous playback, and dependency management in the DSH right sidebar. Ideal for developers or content creators who need to monitor multiple video streams simultaneously.
Core Features¶
- Search & Open Windows: Enter a keyword in the panel to fetch a Bilibili video pool, then open N independent playback windows with automatic grid layout (grid and coordinates calculated based on the primary screen’s actual pixel dimensions).
- Grid Size: Choose 1–16 windows; the grid layout auto-adapts to the window count.
- One-Click Audio: Mute/unmute all windows (via PiliAurora’s protocol
mutemessage). - Show/Hide All: Window processes continue playing; they are simply hidden outside the taskbar.
- Next Batch: Switch to videos in the candidate pool outside the current batch (valid when pool capacity > 2× window count; if the pool is insufficient, cycles sequentially).
- Auto-Advance: Automatically switches to the next video based on the fetched duration (timed from window opening, including cold start/buffering); cycles sequentially once the candidate pool is exhausted.
- Entry Form: Default “Sidebar” button (follows sidebar visibility, occupies a full row, stacked vertically with “Schedule Assistant” and “DeepSeek Web Panel”; becomes a 36×36 round button when the sidebar is collapsed); can be switched to a 34×34 standalone floating ball.
- Dependency Self-Check: Panel status indicator distinguishes “Running / Service Not Started / Script Missing / Program Missing” instead of uniformly showing “Not Started”.
- Auto-Launch: If the PiliAurora main process is not running before opening windows, it is launched automatically (can be disabled in settings); if the script directory or Python is missing, a prompt is shown without auto-installation.
- Settings Page: “Settings” tab in the panel header; program path / service script directory / Python path are all manually editable, with “Browse” (accepts .lnk and auto-resolves), “Resolve Shortcut”, “Launch”, and “Save” buttons.
- Official Download: The settings page directly displays PiliAurora’s GitHub address with “Open Download Page / Copy / New Repo” buttons—no need to search elsewhere.
- Check for Updates: Bottom “Check Update” button with four states (Checking / New Version Available / Up to Date / Failed); the floating ball shows a red dot when a new version is available.
How It Works¶
PiliAurora’s mini playback windows are multi-process: each mini window is a PiliAurora.exe --piliaurora-player-window child process. The parent process starts a loopback WebSocket server and performs a handshake with child processes via the environment variables PILIAURORA_WINDOW_ID / _PORT / _TOKEN. After a successful handshake, it sends an initialization JSON (containing request, bounds, cacheDirectory, etc.), and the child process loads the video page accordingly.
This plugin does not use any UI automation; instead, it acts as the parent process itself:
<script_dir>\wall_server.pyspawns N playback window processes; after handshake, setsboundsoff-screen.- Approximately 2 seconds after child processes are ready, uses
user32.MoveWindow / SetWindowPosto move windows to their grid positions (3-second delay to avoid Flutter’s startup bounds write-back). - Audio control via protocol message
{"type":"mute","muted":false}(must be sent approximately 2.5 seconds after ready; sending earlier results in silent discard). - Command channel: writes
wall\cmd.json, service writes backwall\result.json.
Usage¶
- Click the “Video Wall” icon at the bottom of the sidebar (or click the ball after switching to floating ball mode).
- Enter keyword → select window count → “Open & Arrange”.
- The panel below displays each window’s title and playback progress in real time.
- If dependencies are not configured, click the “Settings” tab in the header: leave fields empty to use auto-detection results; if entries are incorrect, use “Browse” to reselect → “Save”.
Dependencies & Auto-Detection¶
The plugin depends on the PiliAurora main program, a service script directory, and a Python environment. Auto-detection order (first hit wins):
- Script directory: config
autoDir→ env varPILIAURORA_AUTO_DIR→E:\dsh-tmp\piliaurora-auto→E:\DSH\tmp\dsh-tmp\piliaurora-auto→%USERPROFILE%\.dsh\piliaurora-auto→ built-inscriptsin the plugin package (auto-extracted to~\.dsh\piliaurora-autoif scripts are missing). - PiliAurora: config
exePath→ 5 common installation paths → Desktop/Public Desktop.lnkshortcut resolution. - Python: config
pythonPath→ env varPILIAURORA_PYTHON→pythonw.exeinE:\Python311..313/C:\Python311..312→python→py.
The hard requirement for a valid “script directory” is that both wall_server.py and fetch_pool.py exist in that directory; an empty wall\ data directory alone does not count as a hit.
Config file: %USERPROFILE%\.dsh\piliaurora-wall.config.json (auto-created on first save).
The script directory must also serve as the data directory (wall\status.json and pool.json are both written there). When the host starts the service, it explicitly passes PILIAURORA_AUTO_DIR / PILIAURORA_EXE environment variables, so state is written back to the same location regardless of where scripts are placed.
Activation Method¶
lib/index.js/package.json/cordis.patch.yml: Fully exit and restart the DSH client (the host is a Node process with no hot-reload).lib/client.js/locale/*.json: Fully exit and restart the DSH client (client modules register once in the host process and persist; a hard refresh only reloads the page, not the modules, which can lead to the false assumption that “changes had no effect”).scripts/*.py: Takes effect on the next window opening (the service process is re-spawned each time).
Notes¶
The plugin runs with the current DSH process privileges. Review the source code and license before installation. PiliAurora download/update URLs (currently published in this repo): https://github.com/wallpap/PiliAurora/releases/latest; subsequent versions (2.0.2 onward, this repo becomes read-only archive): https://github.com/wallpap/PiliAuroraNext.
Summary¶
The PiliAurora Video Wall plugin provides DSH users with a complete multi-window Bilibili video management solution in the right sidebar—covering search, window spawning, grid layout, audio control, auto-advance, and dependency management. The entire process is driven through a command channel, with no mouse seizing or screenshots. It is well suited for developers or content creators who need to monitor multiple streams simultaneously.
Plugin directory: https://www.skillhub.cn/plugins/loyalchiiina/dsh-piliaurora-wall
GitHub: https://github.com/loyalchiiina/dsh-piliaurora-wall