[chromecast] Prevent exception when formatting value (#9596)

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
This commit is contained in:
Christoph Weitkamp 2020-12-31 12:54:29 +01:00 committed by GitHub
parent eaae9780ea
commit 55a956e48c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -200,14 +200,14 @@
<item-type>Number:Time</item-type>
<label>Current Time</label>
<description>Current time of currently playing media</description>
<state readOnly="true" pattern="%d %unit%"/>
<state readOnly="true" pattern="%.0f %unit%"/>
</channel-type>
<channel-type id="duration" advanced="true">
<item-type>Number:Time</item-type>
<label>Duration</label>
<description>Length of currently playing media</description>
<state readOnly="true" pattern="%d %unit%"/>
<state readOnly="true" pattern="%.0f %unit%"/>
</channel-type>
<!-- Metadata Information -->