Update Play/Pause status to Player channel widget (#15662)

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
This commit is contained in:
mlobstein
2023-09-28 14:38:24 -05:00
committed by GitHub
parent fef9680af5
commit b355fa7578
2 changed files with 9 additions and 5 deletions

View File

@@ -168,7 +168,9 @@ String oppo_remote_button "Remote Button [%s]" { channel="oppo:player:myoppo:rem
secondsformat.js:
```javascript
(function(totalSeconds) {
(function(timestamp) {
var totalSeconds = Date.parse(timestamp) / 1000
if (isNaN(totalSeconds)) {
return '-';
} else {