Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I successfully use the music rest API to fetch cover art, artists and albums, and songs. But if I want to to use rest/download.view or rest/stream.view I get a 404 and the content is a html page. The id I put on the request is fetched before with the API. It has the form: egde:

The url I call looks like I make a GET call.

In case of a error it should return the content type "text/xml" but it is "text/html"

So it seems the URL isn't known by the server.

What do I wrong and how can I obtain a stream or the file for download via the music rest API?

share|improve this question
up vote 2 down vote accepted

Hrm, I don't know the cause offhand. The "id=egde%3A" looks suspicious because it looks like an english word and IDs are complex encodings of numbers. The canonical hostname of streaming should be, as far as I know, ""; probably nothing else is guaranteed to work.

So, to get the index of artists, then pick the first artist, the first album, and stream the first song, your conversation might look like this:
share|improve this answer
Thank you Chad. The server url was wrong and is like you told. The answer is also in the FAQ… but not in the documentation. – mascha Apr 2 '12 at 20:19

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.