Skip to content

Commit

Permalink
Fix getStreamProps() returning malformed JSON
Browse files Browse the repository at this point in the history
- Remove incorrect space in front of getStreamProperties values
- Close RPTools#803
  • Loading branch information
Merudo committed Oct 17, 2019
1 parent d41593b commit ffff948
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -332,12 +332,12 @@ private JSONObject getInfo() {
info.put("uri", strUri);
info.put("cycleCount", player.getCycleCount());
info.put("volume", volume);
info.put("startTime", " " + player.getStartTime().toSeconds());
info.put("stopTime", " " + objStop);
info.put("currentTime", " " + player.getCurrentTime().toSeconds());
info.put("totalTime", " " + objTotal);
info.put("bufferTime", " " + player.getBufferProgressTime().toSeconds());
info.put("currentCount", " " + player.getCurrentCount());
info.put("startTime", player.getStartTime().toSeconds());
info.put("stopTime", objStop);
info.put("currentTime", player.getCurrentTime().toSeconds());
info.put("totalTime", objTotal);
info.put("bufferTime", player.getBufferProgressTime().toSeconds());
info.put("currentCount", player.getCurrentCount());
info.put("status", player.getStatus().toString());
return info;
} catch (Exception e) {
Expand Down

0 comments on commit ffff948

Please sign in to comment.