',html+='
';var clientImage=DashboardPage.getClientImage(session);clientImage&&(html+=clientImage),html+='
',html+='
'+session.DeviceName+"
",html+='
'+DashboardPage.getAppSecondaryText(session)+"
",html+="
",html+="
",html+='
'+DashboardPage.getSessionNowPlayingTime(session)+"
";var nowPlayingName=DashboardPage.getNowPlayingName(session);if(html+='
',html+=nowPlayingName.html,html+="
",nowPlayingItem&&nowPlayingItem.RunTimeTicks){var position=session.PlayState.PositionTicks||0,value=100*position/nowPlayingItem.RunTimeTicks;html+='
'}else html+='
';html+=session.TranscodingInfo&&session.TranscodingInfo.CompletionPercentage?'
':'
',html+="