@xiboplayer/xmds
v0.2.0
Published
XMDS SOAP client for Xibo CMS communication
Maintainers
Readme
@xiboplayer/xmds Documentation
XMDS (XML-based Media Distribution Service) SOAP client.
Overview
SOAP client for Xibo CMS communication:
- Display registration
- Content synchronization
- File downloads
- Proof of play submission
- Log reporting
Installation
npm install @xiboplayer/xmdsUsage
import { XMDSClient } from '@xiboplayer/xmds';
const client = new XMDSClient({
cmsUrl: 'https://cms.example.com',
serverKey: 'abc123',
hardwareKey: 'def456'
});
// Register display
await client.registerDisplay();
// Get required files
const files = await client.requiredFiles();
// Download file
const blob = await client.getFile(fileId, fileType);SOAP Methods
RegisterDisplay- Register/verify displayRequiredFiles- Get content to downloadGetFile- Download media fileSubmitStats- Send proof of playSubmitLog- Report errors
Dependencies
@xiboplayer/utils- Logger
Related Packages
- @xiboplayer/core - Player core
Package Version: 1.0.0
