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:
GET https://streaming.one.ubuntu.com/rest/getIndexes.view?u=xxxxxx&p=xxxxxx&v=1.2.0&c=haiku
Any ideas what I'm doing wrong here?
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. useubuntu-haiku
instead ofhaiku
), the server will assume you know how to handle Vorbis files too.