Switch to side-by-side view
--- a/upmpd/ohtime.cxx +++ b/upmpd/ohtime.cxx @@ -52,7 +52,8 @@ void OHTime::getdata(string& trackcount, string &duration, string& seconds) { - const MpdStatus &mpds = m_dev->getMpdStatus(); + // We're relying on AVTransport to have updated the status for us + const MpdStatus& mpds = m_dev->getMpdStatusNoUpdate(); trackcount = SoapArgs::i2s(mpds.trackcounter);