Switch to unified view

a/src/mpdcli.cxx b/src/mpdcli.cxx
...
...
215
    m_stat.random = mpd_status_get_random(mpds);
215
    m_stat.random = mpd_status_get_random(mpds);
216
    m_stat.single = mpd_status_get_single(mpds);
216
    m_stat.single = mpd_status_get_single(mpds);
217
    m_stat.consume = mpd_status_get_consume(mpds);
217
    m_stat.consume = mpd_status_get_consume(mpds);
218
    m_stat.qlen = mpd_status_get_queue_length(mpds);
218
    m_stat.qlen = mpd_status_get_queue_length(mpds);
219
    m_stat.qvers = mpd_status_get_queue_version(mpds);
219
    m_stat.qvers = mpd_status_get_queue_version(mpds);
220
    m_stat.state = MpdStatus::MPDS_UNK;
221
220
222
    switch (mpd_status_get_state(mpds)) {
221
    switch (mpd_status_get_state(mpds)) {
223
    case MPD_STATE_STOP:
222
    case MPD_STATE_STOP:
224
        // Only execute onstop command if mpd was playing or paused
223
        // Only execute onstop command if mpd was playing or paused
225
        if (!m_onstop.empty() && (m_stat.state == MpdStatus::MPDS_PLAY ||
224
        if (!m_onstop.empty() && (m_stat.state == MpdStatus::MPDS_PLAY ||