display transcode progress on web client dashboard
This commit is contained in:
parent
0233e1264e
commit
ba2f3c1224
2 changed files with 2 additions and 0 deletions
|
|
@ -909,6 +909,7 @@ public class MusicService extends Service implements SharedPreferences.OnSharedP
|
|||
progressInfo.setPositionTicks(progress * 10000);
|
||||
progressInfo.setVolumeLevel(mService.get().playback.getVolume());
|
||||
progressInfo.setIsPaused(!mService.get().playback.isPlaying());
|
||||
progressInfo.setPlaySessionId(Integer.toString(current.id.hashCode()));
|
||||
progressInfo.setCanSeek(true);
|
||||
|
||||
App.getApiClient().ReportPlaybackProgressAsync(progressInfo, new EmptyResponse());
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@ public class MusicUtil {
|
|||
builder.append(song.id);
|
||||
builder.append("/universal");
|
||||
builder.append("?UserId=").append(apiClient.getCurrentUserId());
|
||||
builder.append("&PlaySessionId=").append(song.id.hashCode());
|
||||
builder.append("&DeviceId=").append(apiClient.getDeviceId());
|
||||
|
||||
// web client maximum is 12444445 and 320kbps is 320000
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue