2015-04-18, 14:30
Hi,
i think there's a bug in Player.GetProperties in connection with the "time" property. Here's how to reproduce it:
- start Kodi
- start playback of a MP3 album with multiple titles
- now jump to lets say track 4 and let it play for a few seconds
- pause playback
- now press |<< to move to position 0:00
- Kodi will now return a negative value in the "milliseconds" part whereas is should be zero
Log of the JSON request:
Log of the JSON response:
I guess that can be fixed pretty easily.
So lonG
i think there's a bug in Player.GetProperties in connection with the "time" property. Here's how to reproduce it:
- start Kodi
- start playback of a MP3 album with multiple titles
- now jump to lets say track 4 and let it play for a few seconds
- pause playback
- now press |<< to move to position 0:00
- Kodi will now return a negative value in the "milliseconds" part whereas is should be zero
Log of the JSON request:
Code:
{
"jsonrpc": "2.0",
"id": "14146359",
"method": "Player.GetProperties",
"params": {
"playerid": 0,
"properties": [
"speed",
"position",
"time",
"playlistid"
]
}
}
Log of the JSON response:
Code:
{
"id": "14146359",
"jsonrpc": "2.0",
"result": {
"playlistid": 0,
"position": 3,
"speed": 0,
"time": {
"hours": 0,
"milliseconds": -627,
"minutes": 0,
"seconds": 0
}
}
}
I guess that can be fixed pretty easily.
So lonG