[chromecast] Prevent exception when formatting value (#9596)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
This commit is contained in:
parent
eaae9780ea
commit
55a956e48c
|
@ -200,14 +200,14 @@
|
||||||
<item-type>Number:Time</item-type>
|
<item-type>Number:Time</item-type>
|
||||||
<label>Current Time</label>
|
<label>Current Time</label>
|
||||||
<description>Current time of currently playing media</description>
|
<description>Current time of currently playing media</description>
|
||||||
<state readOnly="true" pattern="%d %unit%"/>
|
<state readOnly="true" pattern="%.0f %unit%"/>
|
||||||
</channel-type>
|
</channel-type>
|
||||||
|
|
||||||
<channel-type id="duration" advanced="true">
|
<channel-type id="duration" advanced="true">
|
||||||
<item-type>Number:Time</item-type>
|
<item-type>Number:Time</item-type>
|
||||||
<label>Duration</label>
|
<label>Duration</label>
|
||||||
<description>Length of currently playing media</description>
|
<description>Length of currently playing media</description>
|
||||||
<state readOnly="true" pattern="%d %unit%"/>
|
<state readOnly="true" pattern="%.0f %unit%"/>
|
||||||
</channel-type>
|
</channel-type>
|
||||||
|
|
||||||
<!-- Metadata Information -->
|
<!-- Metadata Information -->
|
||||||
|
|
Loading…
Reference in New Issue