Switch to unified view

a/upmpd/ohinfo.cxx b/upmpd/ohinfo.cxx
...
...
125
    const MpdStatus &mpds =  m_dev->getMpdStatus();
125
    const MpdStatus &mpds =  m_dev->getMpdStatus();
126
    bool is_song = (mpds.state == MpdStatus::MPDS_PLAY) || 
126
    bool is_song = (mpds.state == MpdStatus::MPDS_PLAY) || 
127
        (mpds.state == MpdStatus::MPDS_PAUSE);
127
        (mpds.state == MpdStatus::MPDS_PAUSE);
128
128
129
    if (is_song) {
129
    if (is_song) {
130
        uri = mapget(mpds.currentsong, "uri");
130
        uri = mpds.currentsong.uri;
131
        metadata = didlmake(mpds);
131
        metadata = didlmake(mpds.currentsong);
132
    }
132
    }
133
}
133
}
134
134
135
int OHInfo::track(const SoapArgs& sc, SoapData& data)
135
int OHInfo::track(const SoapArgs& sc, SoapData& data)
136
{
136
{