This repository has been archived on 2026-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
Simon Stürz 2acf7784a6 Update the entire Qt6 code to new signal slot connections
Update logging cathegories and allign coding style
2025-09-11 10:09:24 +02:00

35 lines
1.1 KiB
JSON

{
"description": "Media player interface. Used by devices/services which can play back media. Even if a device only supports e.g. audio, the playerType state must still be added to the metadata. It may default to a single value and never change in this case. Players supporting duration and play time should provide those values in seconds.",
"extends": "media",
"states": [
{
"name": "playbackStatus",
"type": "QString",
"allowedValues": ["Playing", "Paused", "Stopped"]
},
{
"name": "playerType",
"type": "QString",
"allowedValues": ["audio", "video"]
},
{
"name": "inputSource",
"type": "QString",
"writable": true,
"optional": true
},
{
"name": "playDuration",
"type": "uint",
"unit": "Seconds",
"optional": true
},
{
"name": "playTime",
"type": "uint",
"unit": "Seconds",
"optional": true
}
]
}