Page 1 of 1

API problems, getMusicDirectory, returns "Odd number of cha"

PostPosted: Mon Aug 15, 2011 7:00 pm
by BlackBurn
When I do a API request with the following url:
Code: Select all
http://10.10.10.10:4040/rest/getMusicDirectory.view?u=user&p=pass&v=1.5.0&c=mp&id=1


it returns:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<subsonic-response xmlns="http://subsonic.org/restapi" status="failed" version="1.5.0">
  <error code="0" message="Odd number of characters."/>
</subsonic-response>


The id I got from a getMusicFolder request.

Can anybody tell me what I'm doing wrong here?

Re: API problems, getMusicDirectory, returns "Odd number of

PostPosted: Mon Aug 15, 2011 7:06 pm
by BlackBurn
Damn'd why I always post and then almost find the answer immediately.

I have to use the Id's from getIndexes.

Still wondering what is the best way for directorybrowsing, when I do a getMusicFolder, it returns the "base" folder(s). I want to browse one of those folders.