Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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'm writing an Ubuntu One client for Haiku for a student project, currently implementing the music streaming bit. I'm only getting 52 artists in the response for getIndexes.view in the XML response, but I get 119 artists in the Android client and the web client.

The request is called as:


Any ideas what I'm doing wrong here?

share|improve this question
What format is your music in? Might there only be 52 artists with music in MP3 with the rest in Vorbis, for instance? – James Henstridge May 18 '12 at 7:51
Aha! Yes, exactly that. So, would it be something to do with the client string determining supported formats? – Chris Moore May 18 '12 at 11:51
Update: OK, so changing c=haiku to c=android and I get all the Vorbis files returned as well. Is there a server side setting you can change that says 'haiku' as a client can support Vorbis? Thanks, Chris – Chris Moore May 18 '12 at 12:01

By default, Ubuntu One's Subsonic API implementation will only return MP3s, which is why some of your music is not being returned. This is done since we can't rely on clients supporting other formats.

If you change your client ID to start with ubuntu (e.g. use ubuntu-haiku instead of haiku), the server will assume you know how to handle Vorbis files too.

share|improve this answer

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.