Switch to unified view

a/src/ohradio.cxx b/src/ohradio.cxx
...
...
600
        }
600
        }
601
    }
601
    }
602
    return meta;
602
    return meta;
603
}
603
}
604
604
605
// Report the uri and metadata for a given channel id.
605
// Report the metadata for a given channel id.
606
int OHRadio::ohread(const SoapIncoming& sc, SoapOutgoing& data)
606
int OHRadio::ohread(const SoapIncoming& sc, SoapOutgoing& data)
607
{
607
{
608
    int id;
608
    int id;
609
    bool ok = sc.get("Id", &id);
609
    bool ok = sc.get("Id", &id);
610
    if (ok) {
610
    if (ok) {
...
...
618
    }
618
    }
619
    return ok ? UPNP_E_SUCCESS : UPNP_E_INTERNAL_ERROR;
619
    return ok ? UPNP_E_SUCCESS : UPNP_E_INTERNAL_ERROR;
620
}
620
}
621
621
622
// Given a space separated list of track Id's, report their associated
622
// Given a space separated list of track Id's, report their associated
623
// uri and metadata in the following xml form:
623
// metadata in the following xml form:
624
//
624
//
625
//  <TrackList>
625
//  <TrackList>
626
//    <Entry>
626
//    <Entry>
627
//      <Id></Id>
627
//      <Id></Id>
628
//      <Metadata></Metadata>
628
//      <Metadata></Metadata>